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:[EMAIL PROTECTED]] 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
