Hi,
I'm running Eclipse 3.4 (WinXP), Ant 1.7, JDK 1.5. When I run my build script,
I get this error:
Buildfile: C:\Temp\CedarPoint_Service\build-junit-test.xml
check-junit:
build-tests:
[javac] Compiling 9 source files to C:\Temp\CedarPoint_Service\classes
[copy] Copying 2 files to C:\Temp\CedarPoint_Service\classes
run-query-test:
[junit] java.io.FileNotFoundException:
C:\Temp\CedarPoint_Service\junitvmwatcher1674472394.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.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[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)
BUILD FAILED
C:\Temp\CedarPoint_Service\build-junit-test.xml:118: Test QuerySubscriberTest
failed (crashed)
The internet seems to suggest that there is something in my classpath that
shouldn't be there, but I couldn't find specifics. In my Window -> Preferences
-> Ant -> Runtime, I have
Ant Home Entries:
C:/apache-ant-1.7.0/lib/*.jar (all the JARS that come in this directory)
Global Entries:
C:/Program Files/eclipse/plugins/org.junit4_4.3.1/junit.jar
Contributed Entries:
C:/Program Files/eclipse/configuration/org.eclipse.osgi/bundles/(a bunch of
stuff that I can't delete)
Any ideas how I can attack this problem? Thanks, - Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]