ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Vogel <pvo...@arsin.com>
Subject RE: ExecOn issue
Date Tue, 12 Jun 2001 14:55:28 GMT
<property environment="env"/>
<execon executable="cmd">
    <arg "/c"/>
    <arg "${env.ANT_HOME}/bin/ant.bat"/>
    <arg "-buildfile"/>
    <srcfile/>
    ...
</execon>

Should be *close* to what you need...

-Peter

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Monday, June 11, 2001 11:04 PM
> To: ant-user@jakarta.apache.org
> Subject: Re: ExecOn issue
> 
> 
> David Nesbitt <DNesbitt@gensys.com> wrote:
> 
> > Essentially, I am trying to cascade the target to build.xml in the
> > next level subdirectory.  However, I get an IOException in
> > CreateProcess.
> > 
> > Here is a snippet from the top level build file:
> > 
> >   <target name="abc" >
> >     <execon executable="ant" >
> 
> I'm not a Windows expert (not even a user), but vaguely remember that
> you cannot invoke ant.bat by the name ant directly (or any other batch
> file for that matter).  IIRC you'd have to use ant.bat (or do you even
> have to invoke CMD? - memory failing sorry).
> 
> Stefan
> 

Mime
View raw message