ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: exec on windows NT
Date Tue, 05 Feb 2002 12:39:35 GMT
Sujan Digumarti wrote:

> The build script i used is like this
> 
> <target name="one">
> <exec dir="c:\ant\bin" executable="ant" >
> <arg value="-version" />
> </exec>
> </target>
> 
> ant.bat is present inside the directory c:\ant\bin
> i tried the variation ant.bat it gives me the same error.
> 


The JDK launcher in 1.3 needs to be told explicity the full filename, so 
use executable="ant.bat". If you want to have "ant" work you can set 
vmlauncher="false" but you will need to put antRun back for that.

Conor



--
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