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=27962>. 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=27962 Zip fails when folder is missing ------- Additional Comments From [EMAIL PROTECTED] 2004-03-25 22:32 ------- Unfortunately this problem is in the directory scanning implementation IIRC... so this is an invalid fileset/zipfileset as far as Ant is concerned... A quick inspection of the code does not look promising for any quick attribute additions to fileset to make it find nothing when its specified parent directory does not exist, and indeed, I'm sure we could stir up quite a discussion on the developer and user lists as to whether such behaviour could even be thought of as valid (I just realized I've begun using British spellings of words like "behaviour"). A workaround: use conditional target execution (or ant-contrib's <if>) to create your <zipfileset> as a reference... if the directory does not exist, create your zipfileset as a dummy... something like <zipfileset id="myzfs" dir="${basedir}" excludes="**/*" /> should work... -Matt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]