ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: Having problems with reference not being found in 1.6.2
Date Thu, 12 Aug 2004 15:31:17 GMT
There is a bug report for this already:
http://issues.apache.org/bugzilla/show_bug.cgi?id=25777

Peter
Dominique Devienne wrote:

>>From: Jerry Brown [mailto:jsbrown@hotels.com]
>>OK, I'll throw something together in the next day or two. Had to
>>    
>>
>revert
>  
>
>>to 1.5.4 to get this weeks builds out the door! JB
>>
>>    
>>
>>>-----Original Message-----
>>>From: Dominique Devienne [mailto:DDevienne@lgc.com]
>>>
>>>I'm not sure what could cause the actual regression. And we'd
>>>still need a simple build file to show the bug. --DD
>>>      
>>>
>
>OK, I wrote a little pseudo test case, which succeeds with 1.5.x and
>fails with 1.6.x. You may want to enter a bug report. --DD
>
>C:\oss\org_apache\antx>set ANT
>Environment variable ANT not defined
>
>C:\oss\org_apache\antx>type ant-bug.xml
><?xml version="1.0"?>
><project name="ant-bug" default="echoid">
>  <target name="setids">
>    <fileset id="self" dir="." includes="ant-bug.xml" />
>    <path id="path"><fileset refid="self" /></path>
>  </target>
>
>  <target name="antid1" depends="setids">
>    <ant antfile="ant-bug2.xml" target="echoid">
>      <reference refid="path" />
>    </ant>
>  </target>
>
>  <target name="antid2" depends="setids">
>    <ant antfile="ant-bug2.xml" target="echoid">
>      <reference refid="self" />
>      <reference refid="path" />
>    </ant>
>  </target>
></project>
>
>C:\oss\org_apache\antx>type ant-bug2.xml
><?xml version="1.0"?>
><project name="ant-bug2" default="echoid">
>  <target name="echoid">
>    <property name="path" refid="path" />
>    <echo>in ant-bug2, path = ${path}</echo>
>  </target>
></project>
>
>C:\oss\org_apache\antx>C:\pro\ant\1.5\bin\ant -f ant-bug.xml antid1
>Buildfile: ant-bug.xml
>
>setids:
>
>antid1:
>
>echoid:
>     [echo] in ant-bug2, path = C:\oss\org_apache\antx\ant-bug.xml
>
>BUILD SUCCESSFUL
>Total time: 1 second
>C:\oss\org_apache\antx>C:\pro\ant\1.6\bin\ant -f ant-bug.xml antid1
>Buildfile: ant-bug.xml
>
>setids:
>
>antid1:
>
>echoid:
>
>BUILD FAILED
>C:\oss\org_apache\antx\ant-bug.xml:9: Following error occured while
>executing this line
>C:\oss\org_apache\antx\ant-bug2.xml:4: Reference self not found.
>
>Total time: 1 second
>C:\oss\org_apache\antx>C:\pro\ant\1.6.2\bin\ant -f ant-bug.xml antid1
>Buildfile: ant-bug.xml
>
>setids:
>
>antid1:
>
>echoid:
>
>BUILD FAILED
>C:\oss\org_apache\antx\ant-bug.xml:9: The following error occurred while
>executing this line:
>C:\oss\org_apache\antx\ant-bug2.xml:4: Reference self not found.
>
>Total time: 1 second
>C:\oss\org_apache\antx>C:\pro\ant\1.5\bin\ant -f ant-bug.xml antid2
>Buildfile: ant-bug.xml
>
>setids:
>
>antid2:
>
>echoid:
>     [echo] in ant-bug2, path = C:\oss\org_apache\antx\ant-bug.xml
>
>BUILD SUCCESSFUL
>Total time: 1 second
>C:\oss\org_apache\antx>C:\pro\ant\1.6\bin\ant -f ant-bug.xml antid2
>Buildfile: ant-bug.xml
>
>setids:
>
>antid2:
>
>echoid:
>     [echo] in ant-bug2, path = C:\oss\org_apache\antx\ant-bug.xml
>
>BUILD SUCCESSFUL
>Total time: 1 second
>C:\oss\org_apache\antx>C:\pro\ant\1.6.2\bin\ant -f ant-bug.xml antid2
>Buildfile: ant-bug.xml
>
>setids:
>
>antid2:
>
>echoid:
>     [echo] in ant-bug2, path = C:\oss\org_apache\antx\ant-bug.xml
>
>BUILD SUCCESSFUL
>Total time: 1 second
>C:\oss\org_apache\antx>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>


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


Mime
View raw message