im not too familiar with ant but currently writing a script for running the whole bunch of jini services.
first theres the example webserver reggie, which has to run in the background (after ant finished)
so i tried this:
1 2 3 4 5
| <java jar="${jini.home}/tools.jar" fork="true" spawn="true"> <arg value="-port ${webserver.port}" /> <arg value="-dir ${webserver.dir}" /> <arg value="-verbose" /> </java> |
i really thought fork and spawn set to true would run it in its own process for indefinite time, but
it shuts down right after ant ...