ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sujan Digumarti <Sujan.Diguma...@india.techspan.com>
Subject RE: exec on windows NT
Date Tue, 05 Feb 2002 14:10:01 GMT
i made it work by setting vmlauncher="false".

thanx conor




-----Original Message-----
From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
Sent: Tuesday, February 05, 2002 6:10 PM
To: Ant Users List
Subject: Re: exec on windows NT


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>

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