[jboss-jira] [JBoss JIRA] Commented: (JBBUILD-432) please support ant 1.7

David Walluck (JIRA) jira-events at lists.jboss.org
Wed Oct 15 17:08:20 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBBUILD-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12434001#action_12434001 ] 

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

        



More information about the jboss-jira mailing list