Thanks!

On 4/12/07, Hariharasudhan R <[EMAIL PROTECTED]> wrote:
Hi James,

When u invoke one batch file from another the remaining of the batch file
will not execute.
This isnt anything related to ant. Its just a characteristic of windows
batch files..

To make the remaining of the batch file execure instead of directly invoking
ant use
call ant..

e..g Instead of

#REM This is a batchfile
ant -f mybuild.xml
echo doing other tasks

use

#REM This is a batchfile
call ant -f mybuild.xml
echo doing other tasks

HTH,
Hari

On 4/12/07, James Carr <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I am running ant from a windows batch file, and I am having a strange
> problem. The ant script completes successfully, but the rest of the
> batch file (which doesnt depend on anything the ant script does) does
> not run after the batch file runs.
>
> Any ideas? let me know if you need further details.
>
> Thanks,
> James
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to