|
Bugzilla – Full Text Bug Listing |
| Summary: | antRun not found | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Sonja Krause-Harder <skh> |
| Component: | Java | Assignee: | Daniel Bornkessel <dbornkessel> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | testcase | ||
Created attachment 64511 [details]
testcase
I forgot to add: antRun exists as /usr/bin/antRun, but for some reason ant itself seems to look for it in $ANT_HOME/bin. Moved script to $ANT_HOME/bin as, according to ant home page, this seems indeed to be the right place. Tested example and it works ... closing bug as fixed. |
With attached build.xml file, ant fails with the error: skh@chomsky:/local/work/anttest> ant Buildfile: build.xml test: BUILD FAILED /local/work/anttest/build.xml:5: Execute failed: java.io.IOException: java.io.IOException: /usr/share/ant/bin/antRun: not found Total time: 1 second To reproduce: copy attached build.xml into a directory run ant in that directory The problematic task seems to be this: <exec executable="echo" dir="." failonerror="true" vmlauncher="false" outputproperty="output-text"> <arg value="Hello" /> </exec> Changing the attribute vmlauncher to "true" makes the error disappear.