i made it work by setting vmlauncher="false". thanx conor
-----Original Message----- From: Conor MacNeill [mailto:[EMAIL PROTECTED]] 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:[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]>
