ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blackwater dev <blackwater...@gmail.com>
Subject exec task failing
Date Wed, 22 Jun 2005 15:11:17 GMT
I have this build file:

<project name="testing" default="checkout" basedir="/home/me">
 <target name="checkout" description="run unit test">
   <exec  executable="/usr/local/bin/php
httpd/htdocs/includes/tests/alltests.php">
   </exec>
 </target>
</project>

And it fails with this error:
checkout:

BUILD FAILED
file:/httpd/tcci/dev2/build.xml:5: Execute failed:
java.io.IOException: No such file or directory

I installed j2dsk1.4.2_08 yesterday and just did which java and it is
looking for the java here:

/usr/bin/java 
/usr/bin/javac

each of these are links to
usr/java/j2sdk1.4.2_08/bin/java
usr/java/j2sdk1.4.2_08/bin/javac

Why is this build failing?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message