Deleting an extra jar that breaks the JUnit behavior in IntelliJ IDEA

This commit is contained in:
Andrey Breslav
2012-02-20 22:50:11 +04:00
parent a1d88a0877
commit b67f028ff2
+7
View File
@@ -33,6 +33,13 @@
<unzip src="ideaSDK/${build.zip}" dest="ideaSDK"/>
<delete file="ideaSDK/${build.zip}"/>
<!--
This one needs to be deleted because otherwise it gets onto the classpath
together with junit-4.10.jar and the classloading goes crazy that breaks
many nice features of IDEA including diffs in the test console.
-->
<delete file="ideaSDK/lib/junit.jar"/>
<mkdir dir="ideaSDK/sources"/>
<get src="${tc}/sources.zip" dest="ideaSDK/sources"/>
</sequential>