Hi, I'm new to the list and relatively new to java and ant. So, be kind. :-)
I have a situation where ant is forking java to run my class, and I need it to use the JVM that ant is running under, not do a fork. Through searching I've discovered junit.fork=false, but I'm having a hard time getting ant to "hear" me. The rub: I'm not running on an OS many (if any) on this list are likely to be familiar with, the Unisys ClearPath MCP. This is a mainframe OS that grew out of the Burroughs family of computers. However, One thing I've tried is to run Java with a -Djunit.fork=false. That doesn't work. I've tried creating a task.properties file with junit.fork=false. No joy. My command line is the equivalent of java -Djunit.fork=false org.apache.tools.ant.Main -v <more ant params> my output, and why I need to get rid of the fork: /-/JAVATEST2/DIR/DONP/SPEC/jars/load.jar is up to date. _loaddb: [property] Override ignored for Domain [java] Forking java -Dspecjappserver.home=/SPECjAppServer2002 -classpath /- /JAVATEST2/DIR/DONP/SPEC/jars/load.jar org.spec.japp server.load.LoadCorp 1 BUILD FAILED /-/JAVATEST2/DIR/DONP/SPEC/build.xml:381: java.io.IOException: java: not found --- Nested Exception --- java.io.IOException: java: not found at java.lang.UNIXProcess.forkAndExec(Unknown Source) at java.lang.UNIXProcess.<init>(UNIXProcess.java:52) at java.lang.Runtime.execInternal(Unknown Source) at java.lang.Runtime.exec(Runtime.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec ute.java:509) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329) at org.apache.tools.ant.taskdefs.Java.run(Java.java:292) Any ideas how to get this to work? Don Payette Unisys Corp. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]