ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Using daemons and parallel
Date Fri, 27 Feb 2004 14:55:12 GMT
--- Jose Carlos Garcia Pastor
<josecarlos.garcia@kewill.com> wrote:
> Hi,
> 
> I need to run an script file as a daemon, and keep
> resulting process alive
> when ant tasks execution finishes.
> I've tried 
> 		<parallel>
> 			<daemons>
> 				<exec dir="/jboss/bin"
> executable="/jboss/bin/start.sh"/>
> 			</daemons>
> 		</parallel>
> 
> but it didn't work.
> 

This is a question for the user list
user@ant.apache.org.

However...

If you want to run something as a daemon, you do not
want it to stay alive.  A daemon is something that
explicitly does not live beyond the JVM's exit.  You
need a plain <exec spawn="true" ... />.

-Matt

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message