ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42715] - ant.version property lost in imported build scripts
Date Thu, 21 Jun 2007 20:09:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42715>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42715


peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From peterreilly@apache.org  2007-06-21 13:09 -------
The build file:
http://svn.apache.org/repos/asf/beehive/trunk/ant/beehive-runtime.xml
contains the <ant inheritAll="false"/> task which will trigger
this the 42263 bug:
    <target name="deploy.beehive.webapp.runtime" description="Deploy the Beehive
webapp runtime given a webapp root as -Dwebapp.dir">
        <ant target="deploy.netui" dir="${beehive.home}/netui/" inheritAll="false">
            <property name="webapp.dir" location="${webapp.dir}"/>
        </ant>
    </target>

    <target name="deploy.controls.webapp.runtime" description="Deploy the
Beehive controls runtime given a webapp root as -Dwebapp.dir">
        <ant target="deploy.controls.runtime" dir="${beehive.home}/controls/"
inheritAll="false">
            <property name="webapp.dir" location="${webapp.dir}"/>
        </ant>
    </target>

The project should work with ant 1.7.1(svn), in the mean-time
you can use the work-around of passing the ant.version to
the nested ant project:
   <ant target=....>
     <property name="ant.version" value="${ant.version}"/>
      ...
    </ant>
Re-Marking as duplicate

*** This bug has been marked as a duplicate of 42263 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message