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 12:28:51 GMT
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.

tar,
Sujan



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


Sujan Digumarti wrote:

> I'm trying to use exec of ant 1.4.1 but it gives me the following message:
> BUILD FAILED
> java.io.IOException: Create Process: <executable> error=2
> 
> I'm using jdk1.3.1 on windowsNT4 service pack 6. 
> Do i've to do any extra work to make it run??
> 
> 


It depends on what you are trying to run. I think error=2 means it could not
find the thing you are trying to run. Can you give us more info or a
buildfile snippet


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