ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: [ANT]/exec/arg/line
Date Wed, 12 Dec 2001 18:30:25 GMT

----- Original Message -----
From: "Richard Han" <richard@bitonic.com>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, December 12, 2001 8:13 AM
Subject: [ANT]/exec/arg/line
>
>  <target name="build-fulcrum">
>         <exec executable="ant" dir="${fulcrum.dir}">
>             <arg line="clean"/>
>         </exec>
>         <exec executable="ant" dir="${fulcrum.dir}">
>             <arg
line="-Dsecurity.database.name=${scarab.database.prop.name} -Dscheduler.data
base.name=${scarab.database.prop.name}
> install-jar"/>
>         </exec>
>     </target>
>
> however, I got error message:
> Execute failed: java.io.IOException: CreateProcess: ant clean error=2


=executable not found on win32, (see error.h in VC++ include dir)
#define ERROR_FILE_NOT_FOUND        2

If you want to call ant this way, use the full exe name of ant.bat


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


Mime
View raw message