| Summary: | Execute permission not set on antRun scripts | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Hani Nadra <hinadra> |
| Component: | Ant | Assignee: | Platform-Ant-Inbox <platform-ant-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Michael_Rennie |
| Version: | 3.6.2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Unix All | ||
| Whiteboard: | |||
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 *** |
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!