Author: skestle
Date: Wed Jul 18 21:43:23 2007
New Revision: 557489

URL: http://svn.apache.org/viewvc?view=rev&rev=557489
Log:
Added explicit dir="${basedir}" property to the junit task to ensure that <ant> 
tasks referencing this build.xml from another directory will still load up the 
relative path test data correctly.

Modified:
    
jakarta/commons/proper/collections/branches/collections_jdk5_branch/build.xml

Modified: 
jakarta/commons/proper/collections/branches/collections_jdk5_branch/build.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/collections/branches/collections_jdk5_branch/build.xml?view=diff&rev=557489&r1=557488&r2=557489
==============================================================================
--- 
jakarta/commons/proper/collections/branches/collections_jdk5_branch/build.xml 
(original)
+++ 
jakarta/commons/proper/collections/branches/collections_jdk5_branch/build.xml 
Wed Jul 18 21:43:23 2007
@@ -330,7 +330,7 @@
   <target name="testjar"  depends="compile.tests,jar"
           description="Run all unit test cases">
     <echo message="Running collections tests against built jar ..."/>
-    <junit printsummary="yes" haltonfailure="yes">
+    <junit printsummary="yes" haltonfailure="yes" dir="${basedir}">
       <classpath>
         <pathelement location="${build.jar.name}"/>
         <pathelement location="${build.tests}"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to