ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Holmberg <mark...@acc.umu.se>
Subject Re: Anyone successfully used multiple antcalls in the same target?
Date Fri, 03 Nov 2000 10:25:29 GMT
Bingo!

This solved my problem of of the following antcall's not being invoked.
(setting fork="true" for the java target)

I should have of course realized System.exit() was the problem when I
didn't see a "BUILD SUCCESFUL" (or anything at all) at the end.

Thanks!

Regards, Markus.

On Fri, Nov 03, 2000 at 02:00:23AM -0500, Chris Todd wrote:
> >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/
> >
> >

-- 

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

Mime
View raw message