On 7/8/05, McKenna, Simon (RGH) <[EMAIL PROTECTED]> wrote: > For addition or modification of files and directories in an > existing zipfile, <zip> task could have an "append" boolean > attribute, and for deletion of existing files, it could have > a "delete" boolean attribute. > > "append" would be mutually exclusive to "delete", which should > keep the fileset element unchanged.
Suggestion: Rather than two attributes with extra validation, use a single attribute (mode?) taking its values from an enumeration, similar to the 'item' attribute of the <foreach> task. http://nant.sourceforge.net/release/latest/help/tasks/foreach.html That way, your zip task mode could be one of Create (what it does now), Update or Delete... while leaving room for extension without polluting the namespace or logicspace :-) -- Troy ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers