ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18128] - Dependset srcfileset does not handle absolute path
Date Thu, 20 Mar 2003 03:05:46 GMT
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





------- Additional Comments From mxlehma@qwest.com  2003-03-20 03:05 -------
Then why does the following work for srcfilelist:

        <dependset>
            <srcfilelist dir="/" files="D:/config/env/build.properties" />
            <targetfileset dir="${build.ejb}" includes="${messageTempFile}" />
        </dependset>

I would think that the handling for the directory would be done the same way.  
The advantage of using srcfileset over srcfilelist is that if the file doesn't 
exist, then it is not used.  I have been able to do what I need with the 
srcfilelist, but I am forced to create several additional targets to 
conditionally generate a filelist with only those files that exist.

The danger of srcfilelist and srcfileset handling the absolute filenames 
differently, is that without running ant in verbose mode and specifically 
testing a change to the src file, you would never know that the dependency was 
not there.

Mime
View raw message