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=41604>. 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=41604 Summary: Filesets doesnot identify files referenced relative to 'basedir" Product: Ant Version: 1.6.0 Platform: All OS/Version: other Status: NEW Severity: normal Priority: P3 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] We are upgrading version of Ant our build system uses from Ant 1.5 to Ant 1.6.2 and have encountered the foll. issue while copying a group of files handled by filesets: filesets do not identify files referenced through ".." in path - indirect references [Ant 1.5 supported this kind of references]. E.g: I am trying to copy 2 jars under /vob/play to /vob/proj/mon/bin/try. Taking /vob/lib as reference location, I am trying to copy these elements. <target name="try" depends="init"> <property name="project.to" value="/vob/proj/mon/bin/try" /> <property name="project.jarlist.includes" value="../play/common_1.0.jar,../play/common_2.0.jar " /> <copy todir="${project.to}" flatten="true" overwrite="true" verbose="true" > <fileset dir="/vob/lib/" includes="${project.jarlist.includes}" /> </copy> </target> ............... A little bit of digging into the issue got me to the point that -- "A fileset will identify files only under a basedir. Everything above or outside of that basedir will not be considered when applying the include patterns". If Ant 1.5 supported this behaviour, was it because of a bug? I did not find it reported anywhere in release notes/bug reports/docs. It looks like filesets looks at the begining of a path to resolve relative references and not within a path. E.g: <fileset dir="../play" includes="common-1.0.jar,common-2.0.jar" /> is supported. ------------- Could you please make the same behaviour, which Ant 1.5 supported, available in later versions of Ant? We tapped in this "feature" of ant to refer a lot of our dependant jars sprinkled across different locations. appreciate any inputs .. Thanks, VSarsam -- 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]