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 29974] New: - In <Ant> task <reference> no longer copies refs based on refs
Date Thu, 08 Jul 2004 11:24:15 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=29974>.
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=29974

In <Ant> task <reference> no longer copies refs based on refs

           Summary: In <Ant> task <reference> no longer copies refs based on
                    refs
           Product: Ant
           Version: 1.6.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: jason.armitage@oracle.com


If a build file defines the following:
  <path id="project.classpath">
    <fileset refid="required_libs"/>
    <pathelement location="../classes"/>
  </path>
  <path id="test.classpath">
    <pathelement location="${rootdir}/test/testframework.jar"/>
    <path refid="project.classpath"/>
  </path>

And a target calls:
  <target name="test" description="Runs all the tests.">
    <ant antfile="${rootdir}/generic.xml" inheritAll="true" target="test">
	<reference refid="test.classpath"/>
    </ant>
  </target>

Then - generic.xml fails with undefined reference "project.classpath". In Ant 
1.5.3, it works fine.

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


Mime
View raw message