[Anthill] Anthill hangs with <exec>

Erik Husby mhusby at broad.mit.edu
Tue Oct 19 11:19:48 CDT 2004


Ted Liefeld wrote:

> Hi,
>
> I am new to anthill and have a question I could not find answered in 
> the archives.
>
> At the end of my project build, I have a series of ant tasks that 
> deploy it and start it up via an exec tag.  The purpose of this is to 
> leave a copy of my server running on the build server.  Problem is, 
> the anthill build never completes as it seems to be waiting for the 
> process to end.  When I kill the server it completes and gives the 
> all-clear.
>
> I have tried adding some indirection (bat file) to the exec to allow 
> anthill to finish the build but to no avail.  Can anyone suggest a way 
> for me to start a server from anthill->ant that will leave it running 
> and allow anthill to finish the build?
>
> This is on XP btw.

This is not really an Anthill issue, but is an Ant and Windows issue. 
The Ant exec task is synchronus as well as Windows batch files.  But 
there are possiblities depending on the type of server your trying to 
start.

If it is Tomcat server, then you don't need to bounce the server to 
reload your application but can instead use the Tomcat manager tasks. 
More details are needed before we can help you.

-- 
Erik Husby
Team Lead for Software Quality Automation
Broad Institute of MIT and Harvard 
Rm. 2192  320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227, mhusby at broad.mit.edu




More information about the Anthill mailing list