Out on a limb here, but is execEx on your path? What if you set the
absolute path to it executable="\somedir\someotherdir\execEx"
Just a thought.
/bill
-----Original Message-----
From: squan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 3:06 PM
To: ant-user
Cc: squan
Subject: can't <exec>
Crying help to this forum
Trying out this simple task/target
<project default='init'>
<target name='init'>
<exec executable="execEx" dir="." />
</target>
</project>
I get :
C:\exec-example:4: Execute failed: java.io.IOException: CreateProcess:
execEx error=2
execEx works perfectly outside of ant.
jakarta1.3.0_02, windows 2000
tia