ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Todd" <ch...@christophertodd.com>
Subject RE: Anyone successfully used multiple antcalls in the same target?
Date Fri, 03 Nov 2000 07:00:23 GMT
>Something struck my mind; since java tasks are run inside ant's own JVM,
>what happens if the java code being executed contains System.exit()?
>Will that terminate ant too?

Yep.  If you know your task executes a System.exit(), you'll have to fork
your java task so it will run in a different JVM.

>Regards, Markus.
>
>--
>
>Markus Holmberg         |       Give me Unix or give me a typewriter.
>markush@acc.umu.se      |       http://www.freebsd.org/
>
>


Mime
View raw message