Community
Participate
Working Groups
The scripts under plugins/org.apache.ant_1.7.1.v20100518-1145/bin should have execute permissions in the packaged eclipse tar. The missing permissions cause the following error when running the exec ant task with vmlauncher="false": Execute failed: java.io.IOException: Cannot run program "path-to-eclipse/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/antRun": error=13, Permission denied The error can be reproduced by running the following ant task in eclipse on Linux or Mac: <exec executable="/bin/sh" vmlauncher="true"> <arg line="-c 'echo from exec.....'" /> </exec> Thanks!
Correction... the ant task should have vmlauncher="false" to see the error: <exec executable="/bin/sh" vmlauncher="false"> <arg line="-c 'echo from exec.....'" /> </exec>
*** This bug has been marked as a duplicate of bug 292778 ***