Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Ant 1.7.0 and Junit error

Ant 1.7.0 and Junit error

2007-06-08       - By Eric Wood
Reply:     1     2  

When I run JUNIT (using junit-3.8.1.jar) on my code I get the following
error:

java.io.FileNotFoundException:
/cclocal/viewroot/content_management/wim/build_wim_Integration/vob/conte
nt_management/wim/WIM-Service/junitvmwatcher1813934409.properties (No
such file or directory)
   [junit]     at java.io.FileInputStream.open(Native Method)
   [junit]     at
java.io.FileInputStream.<init>(FileInputStream.java:129)
   [junit]     at java.io.FileReader.<init>(FileReader.java:76) ...

My junit target looks like this:
   <junit printsummary="yes" haltonerror="false" haltonfailure="false">
       <classpath>
           <path refid="classpath.build" />
           <!--pathelement location="${junit.src.dir}" /-->
       </classpath>

       <formatter type="plain"/>
       <formatter type="xml"/>

       <batchtest fork="no" todir="${dir.junit.reports}" >
           <fileset dir="${dir.java.src}">
               <include name="**/*.java"/>
           </fileset>
       </batchtest>
   </junit>
 </target>

I search the archive and saw an old mail that said this bub was resolved
in a earlier beta version. Any help would be greatly appreciated.

Eric

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.