You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by MA...@dstsystems.com on 2003/06/05 14:54:58 UTC
Question about the Exec task
I've got a client application that I'm trying to build and test with ant.
What I'd like to do is have a target that starts a test server, followed by
a target with one or more junit tasks to do the testing, and then a target
to send a message to the server to shut down. I"m running on Windows 2000.
My problem is that I can't get the server started properly. One of two
things happens. Either it starts, but the task doesn't return until the
server process terminates( obviously, not very helpful for me! ), or it
starts and the server is aborted and the task returns. I can't seem to get
the task to start the server, leave it running, and terminnate so that the
next target can be executed. I've tryed using the Windows start command,
I've tryed the vmlaunch attribute, and I've tried having the Exec task kick
off a batch file that starts the server. No luck on any of them. For the
time being, I just start the server process manually, but I'd like to get
it automated.
Any ideas??
Marc Robertson
Staff Consultant
AWD Development
DST Systems, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org