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/11/09 03:20:59 UTC

DO NOT REPLY [Bug 40916] - dependset fails if target directory does not exists

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=40916>.
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=40916





------- Additional Comments From antoine@apache.org  2006-11-08 18:20 -------
In ant 1.6 DependSet.java contained these lines :

           if (!targetFS.getDir(getProject()).exists()) {
154 	               // this is the same as if it was empty, no target files found
155 	               continue;
156 	           }

A nice way of solving this bug report would be to first solve the bug report
40259. On top of that, we would need to fix AbstractFileSet.clone() because
right now it strangely does not clone everything (dir, useDefaultExcludes,
caseSensitive, followSymlinks) are forgotten. Ideally we want to clone the
filesets so that the attribute to ignore empty directories is set on a copy of
the original fileset. Tasks which change the data given to them are not cool. 

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