We could probably do it by writing each one to a file and then use an include that reads from a file as well, but adding the files to an existing fileset might be easier. :)
What about something like this?
<fileset id="foo" mode="append"> ... </fileset> <fileset id="foo" mode="remove"> ... </fileset>
Matt.
Ian MacLean wrote:
how do you mean ? do you mean with code -inside a task or in the build file itself ? Right now you could add to a named fileset using code - since all references to a given type id are using the same instance of the fileset. This is due to an implementation detail that may change however.
Inside the build file is a different matter. I'm not sure we should allow redefinition of a named fileset - can you think of a case where this would be useful ?
Ian
Is it possible to add files to a named fileset once it has been created, or do you need to recreate it?
Matt.
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers