ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carr" <james.r.c...@gmail.com>
Subject Re: Running ant from a windows batch file
Date Thu, 12 Apr 2007 15:45:31 GMT
Thanks!

On 4/12/07, Hariharasudhan R <hari19@gmail.com> 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 <james.r.carr@gmail.com> 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: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message