diff options
-rw-r--r-- | buildScripts/ivy.xml | 1 | ||||
-rw-r--r-- | buildScripts/tests.ant.xml | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/buildScripts/ivy.xml b/buildScripts/ivy.xml index 7994af89..12dd2c5b 100644 --- a/buildScripts/ivy.xml +++ b/buildScripts/ivy.xml @@ -39,6 +39,7 @@ <dependency org="org.projectlombok" name="lombok.patcher" rev="0.40" conf="build,stripe->default" /> <dependency org="zwitserloot.com" name="cmdreader" rev="1.2" conf="build,stripe->runtime" /> <dependency org="org.apache.ant" name="ant" rev="1.10.5" conf="build->default" /> + <dependency org="org.apache.ant" name="ant-junit" rev="1.10.5" conf="build->default" /> <!-- test deps --> <dependency org="junit" name="junit" rev="4.8.2" conf="test->default; sources" /> diff --git a/buildScripts/tests.ant.xml b/buildScripts/tests.ant.xml index 98bc32e7..cdef471f 100644 --- a/buildScripts/tests.ant.xml +++ b/buildScripts/tests.ant.xml @@ -26,9 +26,10 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn <target name="test.formatter.compile" depends="deps"> <mkdir dir="build/ant" /> - <javac includeantruntime="true" srcdir="src/support" includes="**/SimpleTestFormatter.java" destdir="build/ant"> + <ivy:compile ecj="true" srcdir="src/support" includes="**/SimpleTestFormatter.java" destdir="build/ant" source="1.6" target="1.6"> + <classpath refid="cp.build" /> <classpath refid="cp.test" /> - </javac> + </ivy:compile> </target> <target name="test.compile" depends="deps, compile" description="compiles the tests" unless="skip.tests"> |