[
https://jira.jboss.org/jira/browse/JBBUILD-432?page=com.atlassian.jira.pl...
]
David Walluck commented on JBBUILD-432:
---------------------------------------
This patch alone does not seem to be enough.
Testing with ant 1.7.0 and ant 1.7.1, I find that ${ant.version} is not propagated so the
build fails:
/home/david/jboss/rjo/Branch_4_2/tools/etc/buildmagic/buildmagic.ent:28: Unsupported Ant
version:
${ant.version}
The workaround I found was to build using the following:
ant -Dant.version="`ant -version`"
but obviously I am looking for the real fix.
please support ant 1.7
----------------------
Key: JBBUILD-432
URL:
https://jira.jboss.org/jira/browse/JBBUILD-432
Project: JBoss Build System
Issue Type: Feature Request
Components: JBossBuild/Buildmagic
Reporter: Torsten Werner
Fix For: JBossBuild - Maint 2008
Attachments: jboss-build-ant17.diff.gz
jbossbuild cannot be built with version 1.7.0 of ant. The relevant error messages are:
[javac] ----------
[javac] 8. ERROR in
/tmp/buildd/libjboss-build-java-20071201/jbossbuild/src/main/org/jboss/ant/types/Compone
[javac] ntRef.java (at line 165)
[javac] public URL getLocation() throws MalformedURLException
[javac] ^^^
[javac] The return type is incompatible with ProjectComponent.getLocation()
[javac] ----------
[javac] ----------
[javac] 11. ERROR in
/tmp/buildd/libjboss-build-java-20071201/jbossbuild/src/main/org/jboss/ant/types/build/Artifact.java
(at line 86)
[javac] public URL getLocation() throws MalformedURLException
[javac] ^^^
[javac] The return type is incompatible with ProjectComponent.getLocation()
[javac] ----------
[javac] ----------
[javac] 23. ERROR in
/tmp/buildd/libjboss-build-java-20071201/jbossbuild/src/main/org/jboss/ant/types/build/
[javac] Build.java (at line 416)
[javac] public URL getLocation() throws MalformedURLException
[javac] ^^^
[javac] The return type is incompatible with ProjectComponent.getLocation()
[javac] ----------
[javac] ----------
[javac] 24. ERROR in
/tmp/buildd/libjboss-build-java-20071201/jbossbuild/src/main/org/jboss/ant/types/build/Component.java
(at line 538)
[javac] public URL getLocation() throws MalformedURLException
[javac] ^^^
[javac] The return type is incompatible with ProjectComponent.getLocation()
[javac] ----------
Cheers,
Torsten
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira