ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@ebinteractive.com.au>
Subject RE: Java compile command
Date Thu, 26 Oct 2000 21:33:39 GMT
Ian,

What exactly do you mean by "the main is finished". When ant forks a JVM, it
waits for the JVM to terminate before continuing. Perhaps the term fork is
misleading here.

Conor


--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Roche Ian [mailto:ian.roche@imtf.ch]
> Sent: Friday, 27 October 2000 1:40
> To: 'ant-user@jakarta.apache.org'
> Subject: Java compile command
>
>
> Hi,
>
> I use Ant for compiling and running rmi classes.
> I run the RMI service (UnicastRemoteObject that contains
> a main) using Ants forking of the JVM with my own classpath and
> parameters.
> The problem seems to be that Ant does not terminate when the main
> is finished. I added a system.exit(0) command
> at the end of the main to try and ensure termination of the forked
> process but this does not work as the rmi object seems to be
> unbound from the registry as a result of this.
>
> Any help would be great.
>
> Ian
>
>


Mime
View raw message