thekobbler
Programmer
Hi guys,
I'm using Ant to extract files from CVS, Compile, and then use JUnit/JFCUnit to test the application, and then test (using JFCUnit) the User interface. My application requires a test harness (to act as a server to my application) to be started as a separate process, so I thought that's simple I'll simply start it using the <java> task, and set fork="true" to make it run in a separate JVM.
My problem is that the <java> task isn't completed until the Java application (i.e. the test harness) has been completed/closed, but it must be running at the same time as my tests. I would therefore like to "run" the test harness in background mode, so ANT can then continue to execute the next ant-targets that start the JUnit/JFCUnit tests.
Can anyone help?
I'm using Ant to extract files from CVS, Compile, and then use JUnit/JFCUnit to test the application, and then test (using JFCUnit) the User interface. My application requires a test harness (to act as a server to my application) to be started as a separate process, so I thought that's simple I'll simply start it using the <java> task, and set fork="true" to make it run in a separate JVM.
My problem is that the <java> task isn't completed until the Java application (i.e. the test harness) has been completed/closed, but it must be running at the same time as my tests. I would therefore like to "run" the test harness in background mode, so ANT can then continue to execute the next ant-targets that start the JUnit/JFCUnit tests.
Can anyone help?