John Sisson wrote:
Hello I have extended the ant 'org.apache.tools.ant.taskdefs.Java' task to setup many of the parameters from a property file using my class 'com.nxps.ant.tasking.JavaNx'; apart from the parameter management its action is pretty simple:
...
It appears that Ant now just knows there is another process even though it is completely independent and Ant cannot complete the task until that process dies. This can be shown by killing OpenOffice explicitly, whereupon the Ant task completes.
clearly ant does not consider child processes to be independent. Indeed, it could not do so and still route input and output properly, handle failures, or even block till the program finished.
So the question: Is this working as would be expected? Is there a way to launch a child process from within an application under control of Ant such that Ant will complete when the primary application terminates???
I'd look at the spawn attribute --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]