DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18128>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18128 Dependset srcfileset does not handle absolute path Summary: Dependset srcfileset does not handle absolute path Product: Ant Version: 1.5.2 Platform: PC OS/Version: Windows XP Status: NEW Severity: Major Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am trying to use the srcfileset within a dependset where the includes contain absolute paths to the actual files. This doesn't work with srcfileset. Here is an excerpt from the build.xml file: <dependset> <srcfileset dir="/" includes="D:/config/env/build.properties" /> <targetfileset dir="${build.ejb}" includes="${messageTempFile}" /> </dependset> The build never recognizes changes to the build.properties file so it never rebuilds the target. The following will work: <dependset> <srcfileset dir="/" includes="config/env/build.properties" /> <targetfileset dir="${build.ejb}" includes="${messageTempFile}" /> </dependset> As well as using srcfilelist instead. Here the absolute path works: <dependset> <srcfilelist dir="/" files="D:/config/env/build.properties" /> <targetfileset dir="${build.ejb}" includes="${messageTempFile}" /> </dependset> This causes a problem for me because I was really trying to reuse a patternset, as follows: <srcfileset dir="/"> <patternset refid="tokenFilterFiles" /> </srcfileset> where the patternset contained absolute paths. I tested it out on 1.5.2 as well as the latest 1.6alpha from 3-18-2003, and the problem exists in both.