summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-02-12 21:46:53 +0100
committerMichael Bien <[email protected]>2010-02-12 21:46:53 +0100
commit3bdc000de6c220d6fc0676ddea4da67b46708092 (patch)
treea78245931d95cbcfac84e35036847de3a21abf54 /make/build.xml
parenteca540f632a80aa002d1c4304d73eaf4513ab27e (diff)
fixed jdk tools.jar classpath for hudson to fix tests.
Diffstat (limited to 'make/build.xml')
-rwxr-xr-xmake/build.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/make/build.xml b/make/build.xml
index c7d3157..fd10542 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -574,8 +574,10 @@
<mkdir dir="${gluegen.root}/build/test/build/classes"/>
<mkdir dir="${gluegen.root}/build/test/results"/>
+ <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
+
<javac destdir="${gluegen.root}/build/test/build/classes" failonerror="false" source="1.5" srcdir="${gluegen.root}/test/junit" debug="true" debuglevel="lines,vars,source">
- <classpath path="${gluegen.root}/make/lib/junit-4.5.jar:${gluegen.root}/build/classes:${gluegen.root}/build/test/gensrc/java:${jdk.home}/lib/tools.jar:${ant.core.lib}"/>
+ <classpath path="${gluegen.root}/make/lib/junit-4.5.jar:${gluegen.root}/build/classes:${gluegen.root}/build/test/gensrc/java:${tools.jar}:${ant.core.lib}"/>
</javac>
<junit forkmode="once" showoutput="true" fork="true">
@@ -588,7 +590,7 @@
<formatter usefile="true" type="xml"/>
</batchtest>
<classpath>
- <path path="${gluegen.root}/build/test/build/classes:${gluegen.root}/build/test/gensrc/java:${gluegen.root}/build/classes:${gluegen.root}/lib/antlr-3.2.jar:${gluegen.root}/make/lib/junit-4.5.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}"/>
+ <path path="${gluegen.root}/build/test/build/classes:${gluegen.root}/build/test/gensrc/java:${gluegen.root}/build/classes:${antlr.jar}:${gluegen.root}/make/lib/junit-4.5.jar:${tools.jar}:${ant.core.lib}"/>
</classpath>
</junit>
</target>