ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <>
Subject Re: running daemons
Date Fri, 03 Aug 2001 13:34:53 GMT
I believe, if you tell your call to "<java>" (if that's what you're 
using) to
"fork", then control should return to ant right away.  (ANT experts, please
correct me if i'm wrong here.  If so, it would be a nice option to have).
If it's a shell command, on unix, append the '&' character to the command.
As far as windows, you'll have to ask a windows expert how to background
a program.

Lauren Commons wrote:

>I've looked for the answer to this, but couldn't find
>it.  If I missed it in the docs, please let me know...
>I am building and testing (!) an asynchronous
>messaging system (based on JMS).  For automated
>testing, I'm looking for a way to start the server in
>it's own process then run a test script and retrieve
>the output for comparison to expected results.
>The problem is how do I have Ant kick off the server
>then move on to the next task (calling a junit test)?
>Mr. Lauren Commons
>Mr Lauren Commons
>A person of moderate zeal
>Do You Yahoo!?
>Make international calls for as low as $.04/minute with Yahoo! Messenger

Matt Inger (
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
 as yet, is suspicious." -H.L. Mencken 

View raw message