Can you provide the exact <exec> text you are using... If you are "exec"ing a process (via the <exec> task) ANT will normally wait until the process exits before proceeding to the next step (to capture output, return value, logs, etc...). If you do not want the ANT script to wait for the process to exits (if you want to run it in the background for example) you need set the spawn="true" attribute on the <exec> call Later, Ninju
----- Original Message ---- From: "Gunter, Tony" <[EMAIL PROTECTED]> To: Ant Users List <user@ant.apache.org> Sent: Wednesday, December 14, 2005 3:36:16 PM Subject: asadmin start-domain domain1 I am invoking Sun AppServer's asadmin.bat from my ant script to start up the application server. When I type the command from the command line, it works fine (asadmin start-domain domain1). When the same line is invoked from my ant task, the server comes up, but the ant script never moves on to the next sequential task. I realize this may or may not be an ant issue, but I was wondering if anyone had seen that behavior before. *************************************************************************************************** The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system. *************************************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]