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

FileSet and DirSet break if the directory does not exist





------- Additional Comments From [EMAIL PROTECTED]  2002-08-01 09:18 -------
Under my proposal, if you want for <*set> to throw an exception, then do not 
pass the emptyOnNotfound="true" attribute. In this case, as it is today you 
will get the expected exception. But if for some reason someone wants to be 
able to specify that some directory is optional (in a copy, a compile, or what 
have you) there is no reason why users should not be able to say so.

Actually, a good name for the attribute would be: 'optionaldir="true"' (the 
default being "false".

For the particular case of <uptodate> I think the problem is that it does not 
accept <filelist>/<dirlist> as possible elements. Take a look at <dependset> 
task, for how that is used. I think that would fix your problem.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to