Got it. Thanks Dominique.  P.

-----Original Message-----
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 2:29 PM
To: Ant Users List
Subject: RE: <exec>: Execute failed: java.io.IOException:
CreateProcess...


You need an actual executable, like cmd.exe. If it's not in the FAQ,
it's in the archives. --DD

> -----Original Message-----
> From: Marion, Patrick [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 04, 2005 4:20 PM
> To: 'user@ant.apache.org'
> Subject: <exec>: Execute failed: java.io.IOException: CreateProcess...
> 
> Hello,
> 
> I am running ant 1.6.2 on XP.  My build.xml contains this snippet:
> 
>    <exec executable="c:\sharedlibs\apache-ant-1.6.2\bin\ant">
>       <arg line="-version"/>
>    </exec>
> 
> when I execute the target which contains this snipped, ant fails with
the
> following error message:
> 
> BUILD FAILED
> D:\opt\build-tool\build.xml:172: The following error occurred while
> executing this line:
> D:\opt\build-tool\build.xml:165: The following error occurred while
> executing this line:
> D:\opt\build-tool\build.xml:150: Execute failed: java.io.IOException:
> CreateProcess: c:\sharedlibs\apache-ant-1.6.2\bin\ant -version
error=193
> 
> when I run the command ("c:\sharedlibs\apache-ant-1.6.2\bin\ant
-version")
> on the command line, it works fine.
> 
> This particular build.xml file works fine as is on Linux and on
solaris.
> It
> seems that my environment is not defined properly; what does
"error=193"
> means?  What I have found about Java error=193 didn't help in this
> context.
> Looks like a trivial thing but I can't figure it out.  Any idea?
> 
> Thanks.
> 
> Patrick
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to