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=41151>. 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=41151 Summary: <path> referenced prior to add files, not updated Product: Ant Version: 1.7.0RC1 Platform: Sun OS/Version: Windows XP Status: NEW Severity: regression Priority: P2 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] Define a path. Reference the path (pathconvert, checkclipse...) prior to adding files to the path, add files to the path, use the path with a refid and it won't contain the files added. This worked in 1.6.5. We upgraded today and found this. Run this sample build file 2 ways: ant ant -Dshow.bug=true ================== code ================== <?xml version="1.0"?> <project name="bugTest" default="all"> <mkdir dir="junk"/> <delete> <fileset dir="junk" /> </delete> <path id="stuff"> <fileset dir="junk"/> </path> <target name="all" depends="bug" > <copy file="build.xml" tofile="junk/expected.xml" /> <pathconvert refid="stuff" property="the.stuff" /> <echo>${the.stuff}</echo> </target> <target name="bug" if="show.bug" > <pathconvert refid="stuff" property="the.stuff2" /> <echo>${the.stuff2}</echo> </target> </project> ============================================ -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]