DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42053>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42053 Summary: FileNotFoundException junitvmwatcher / seems related to 41104 Product: Ant Version: 1.7.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] Possible duplicate of Bug 41104, however I've verified that only ant 1.7.0 Jars are being used. EXCEPTION ********************* Buildfile: C:\eclipse\SpringApp\build.xml junit-test: [junit] java.io.FileNotFoundException: C:\eclipse\SpringApp\tmp\junitvmwatcher1329823088.properties (The system cannot find the file specified) [junit] at java.io.FileInputStream.open(Native Method) [junit] at java.io.FileInputStream.<init>(FileInputStream.java:106) [junit] at java.io.FileReader.<init>(FileReader.java:55) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitTask.java:1028) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:817) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1657) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:764) [junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [junit] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:585) [junit] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) [junit] at org.apache.tools.ant.Task.perform(Task.java:348) [junit] at org.apache.tools.ant.Target.execute(Target.java:357) [junit] at org.apache.tools.ant.Target.performTasks(Target.java:385) [junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) [junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1298) [junit] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [junit] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1181) [junit] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) [junit] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) [junit] Running test.TestClientDef [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec BUILD FAILED C:\eclipse\SpringApp\build.xml:85: Process fork failed. Here is the ant task: <target name="junit-test" > <junit fork="yes" printsummary="yes" haltonfailure="no" showoutput="true" tempdir="tmp"> <jvmarg value="-Dprop1=test1"/> <jvmarg value="-Dprop2=testuser"/> <formatter type="xml" /> <classpath refid="classpath.test" /> <test name="test.TestClientDef" fork="yes" todir="${test.reports}" haltonfailure="no" ></test> </junit> <junitreport todir="${test.reports}"> <fileset dir="${test.reports}"> <include name="TEST-*.xml" /> </fileset> <report todir="${test.reports}" /> </junitreport> </target> Here is the java.class.path from a junit*.properties file: java.class.path=C\:\\apache-ant-1.7.0\\lib\\ant-antlr.jar;C\:\\apache-ant-1.7.0\\lib\\ant-apache-bcel.jar;C\:\\apache-ant-1.7.0\\lib\\ant-apache-bsf.jar;C\:\\apache-ant-1.7.0\\lib\\ant-apache-log4j.jar;C\:\\apache-ant-1.7.0\\lib\\ant-apache-oro.jar;C\:\\apache-ant-1.7.0\\lib\\ant-apache-regexp.jar;C\:\\apache-ant-1.7.0\\lib\\ant-apache-resolver.jar;C\:\\apache-ant-1.7.0\\lib\\ant-commons-logging.jar;C\:\\apache-ant-1.7.0\\lib\\ant-commons-net.jar;C\:\\apache-ant-1.7.0\\lib\\ant-jai.jar;C\:\\apache-ant-1.7.0\\lib\\ant-javamail.jar;C\:\\apache-ant-1.7.0\\lib\\ant-jdepend.jar;C\:\\apache-ant-1.7.0\\lib\\ant-jmf.jar;C\:\\apache-ant-1.7.0\\lib\\ant-jsch.jar;C\:\\apache-ant-1.7.0\\lib\\ant-junit.jar;C\:\\apache-ant-1.7.0\\lib\\ant-launcher.jar;C\:\\apache-ant-1.7.0\\lib\\ant-netrexx.jar;C\:\\apache-ant-1.7.0\\lib\\ant-nodeps.jar;C\:\\apache-ant-1.7.0\\lib\\ant-starteam.jar;C\:\\apache-ant-1.7.0\\lib\\ant-stylebook.jar;C\:\\apache-ant-1.7.0\\lib\\ant-swing.jar;C\:\\apache-ant-1.7.0\ \lib\\ant-testutil.jar;C\:\\apache-ant-1.7.0\\lib\\ant-trax.jar;C\:\\apache-ant-1.7.0\\lib\\ant-weblogic.jar;C\:\\apache-ant-1.7.0\\lib\\ant.jar;C\:\\apache-ant-1.7.0\\lib\\xercesImpl.jar;C\:\\apache-ant-1.7.0\\lib\\xml-apis.jar;C\:\\Workshop_for_JSP_3.3_608\\eclipse\\configuration\\org.eclipse.osgi\\bundles\\250\\1\\.cp\\lib\\remoteAnt.jar;C\:\\Program Files\\Java\\jdk1.5.0_11\\lib\\tools.jar;C\:\\Workshop_for_JSP_3.3_608\\eclipse\\plugins\\org.eclipse.swt.win32.win32.x86_3.2.1.v3235.jar ant.version=Apache Ant version 1.7.0 compiled on December 13 2006 ant.library.dir=C\:\\apache-ant-1.7.0\\lib -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]