summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-09-07 16:13:52 +0400
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-09-07 16:13:52 +0400
commit7a8097321fd5a06e195ef2327d797c5b9db799d8 (patch)
tree6b31c8e7cf299150478bd14aa2a56869a12e7baf /build.xml
parentff382a6fdfec77d9b9cb3165eb7eb2989abb604f (diff)
downloadfernflower-7a8097321fd5a06e195ef2327d797c5b9db799d8.tar
fernflower-7a8097321fd5a06e195ef2327d797c5b9db799d8.tar.gz
fernflower-7a8097321fd5a06e195ef2327d797c5b9db799d8.tar.lz
fernflower-7a8097321fd5a06e195ef2327d797c5b9db799d8.tar.xz
fernflower-7a8097321fd5a06e195ef2327d797c5b9db799d8.zip
java-decompiler: bulk decompilation test added
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml16
1 files changed, 11 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index 24d18f0..8dde32e 100644
--- a/build.xml
+++ b/build.xml
@@ -7,11 +7,15 @@
<property name="dist" value="${basedir}/fernflower.jar"/>
<property name="test-src" value="${basedir}/test"/>
<property name="test-out" value="${basedir}/out/test"/>
- <!-- external dependencies, adjust to your own -->
- <property name="junit" value="${basedir}/../../../lib/junit-4.11.jar"/>
- <property name="hamcrest" value="${basedir}/../../../lib/hamcrest-core-1.3.jar"/>
</target>
+ <!-- external dependencies, adjust to your own -->
+ <path id="junit">
+ <file name="${basedir}/../../../lib/junit-4.11.jar"/>
+ <file name="${basedir}/../../../lib/hamcrest-core-1.3.jar"/>
+ <file name="${basedir}/../../../lib/hamcrest-library-1.3.jar"/>
+ </path>
+
<target name="clean" depends="init">
<delete includeemptydirs="true" failonerror="false">
<fileset dir="${out}"/>
@@ -36,13 +40,15 @@
<target name="test-compile" depends="init,compile">
<mkdir dir="${test-out}"/>
<javac srcdir="${test-src}" destdir="${test-out}" source="1.6" target="1.6" encoding="UTF-8" debug="true" includeantruntime="false">
- <classpath path="${out}:${junit}:${hamcrest}"/>
+ <classpath path="${out}"/>
+ <classpath refid="junit"/>
</javac>
</target>
<target name="test" depends="init,test-compile">
<junit printsummary="true" haltonfailure="true">
- <classpath path="${test-out}:${out}:${junit}:${hamcrest}"/>
+ <classpath path="${test-out}:${out}"/>
+ <classpath refid="junit"/>
<batchtest>
<fileset dir="${test-src}" includes="**/*Test.java"/>
</batchtest>