ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Master, Tariq \(Abbeywood\)" <>
Subject RE: calling maven2 files from ant
Date Tue, 06 Jun 2006 13:53:02 GMT

It's where CruiseControl hangs by waiting for the CMD shell window to be
closed.  It's basically waiting for any forked exec call in Ant to
finish/close as far as I can gather.  Everything works fine using Ant.
But it's when a process (CC or cygwin apparantly) calls ant that
problems occur.

More information:




My email to the Cruise mailing list:
[] On Behalf Of
Master, Tariq (Abbeywood)
Sent: 26 May 2006 18:47
Subject: [Cruisecontrol-user] Hang after build successful due to a
forkedcmd.exe window open

My cruise (2.4.1) calls my ant (1.6.5) scripts on WinXP.  My ant script
has a target to start up weblogic using the <exec> spawned ant task.
After my tests run, it shuts down weblogic using the <java> forked

These work fine as part of a full ant build. 

However, when cruise runs, it will hang after the "BUILD SUCCESSFUL
Total time: 1 minute 19 seconds" message, UNTIL the weblogic cmd window
is closed.

Once I manually close the window, my cruise debug session immediately
dumps/outputs to the console, lots of: 
        [cc]May-26 18:38:16 yElementFilter- Skipping empty <task>-tag
...followed by the build result event success message. 

Does anyone know what causes cruise to hang?  How does it detect a
console window open (it was created in a forked process)?  How to

Any suggestions or tips appreciated. 

-----Original Message-----
From: Steve Loughran [] 
Sent: 06 June 2006 14:39
To: Ant Users List
Subject: Re: calling maven2 files from ant

EJ Ciramella wrote:
> Considering that everything will ultimately be used via CruiseControl
AND how little success I've had with the exec task and CC, I was hoping
for some optional tasks. 

I've never encountered problems with CC and exec. what kind of problems?

To unsubscribe, e-mail: For additional
commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message