summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormattinger <[email protected]>2007-08-28 04:51:54 +0000
committermattinger <[email protected]>2007-08-28 04:51:54 +0000
commit6fda55419e720867df9428a7451e5a891ee5c305 (patch)
treeeec74447ad5a587b01d515c2e2ea8236e829ebdf
parenteec393d5fbcd01fcb6200afcb6684427daeb466d (diff)
Fixing problems with classpath in verifydesign test
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/ant-contrib/trunk@142 32d7a393-a5a9-423c-abd3-5d954feb1f2f
-rw-r--r--build.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index f8aeb7f..8392475 100644
--- a/build.xml
+++ b/build.xml
@@ -269,7 +269,14 @@
</target>
<target name="run-test" depends="compile-tests, jar">
- <junit haltonfailure="false" haltonerror="false"
+ <property name="lib.dir" location="lib" />
+ <pathconvert pathsep="${path.separator}"
+ dirsep="/"
+ property="tpath">
+ <path refid="test.classpath" />
+ </pathconvert>
+
+ <junit haltonfailure="false" haltonerror="false"
errorproperty="junit.error" failureproperty="junit.failure">
<formatter type="brief" usefile="false"/>
<batchtest>
@@ -279,6 +286,7 @@
</fileset>
</batchtest>
<sysproperty key="antcontrib.jar" file="${target.dir}/${jar.name}"/>
+ <sysproperty key="test.classpath" value="${tpath}"/>
<classpath>
<path refid="test.classpath" />
<pathelement location="${target.classes.dir}" />