> From: Jerry Brown [mailto:[EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]
> >
> > 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to