You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/12/11 22:55:49 UTC

DO NOT REPLY [Bug 41151] New: - referenced prior to add files, not updated

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: gemerick@apc.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 41151] - referenced prior to add files, not updated

Posted by bu...@apache.org.
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


gudnabrsam@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.7.0




------- Additional Comments From gudnabrsam@yahoo.com  2006-12-11 14:34 -------
fixed in SVN HEAD just in time for 1.7.0 RC2.  Thanks for the report!

-- 
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