--- a/make/langtools/intellij/build.xml Tue Sep 12 19:03:39 2017 +0200
+++ b/make/langtools/intellij/build.xml Tue Sep 12 19:03:56 2017 +0200
@@ -6,7 +6,11 @@
new LangtoolsLogger(project)
</script>
- <import file="../make/build.xml"/>
+ <import file="../make/langtools/build.xml"/>
- <target name="post-make" depends="clean, build-all-tools"/>
+ <target name="cond-clean" unless="${intellij.ismake}">
+ <antcall target="clean"/>
+ </target>
+
+ <target name="post-make" depends="cond-clean, build-all-tools"/>
</project>