ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Wood" <EW...@llbean.com>
Subject Ant 1.7.0 and Junit error
Date Fri, 08 Jun 2007 19:17:24 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message