Re: [nant-dev] Re: Add support for multiple filesets to the zip task.
Troy Laurin wrote: Gert Driesen wrote: Not only is this not as clean as having support for multiple filesets, it also causes problems for tasks that use the relative path to the base directory (like the zip task does to determine the directory within the zip file). Ant supports this in various (all tasks that use filesets ?) tasks. Rather than modify every task that uses a fileset, is it worth (is it correct?) modifying fileset to be self-nesting? For example, your references element from above might become: references includeset basedir=C:/Test / include name=AssemblyA.dll / include name=bin/AssemblyB.dll / include name=whatever/AssemblyC.dll / /includeset includeset basedir=D:/Test/whatever / include name=AssemblyD.dll / include name=AssemblyE.dll / /includeset /references or equivalently (slightly more concise): references basedir=C:/Test / include name=AssemblyA.dll / include name=bin/AssemblyB.dll / include name=whatever/AssemblyC.dll / includeset basedir=D:/Test/whatever / include name=AssemblyD.dll / include name=AssemblyE.dll / /includeset /references You could then play with includesets as required to ensure each included file has the correct relative path. If this isn't a bad idea, I could probably knock together a prototype next weekend... Thoughts? -- Troy Ping? --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Re: Add support for multiple filesets to the zip task.
Troy, I think I'd still prefer to have support for multiple top-level filesets, instead of nested fileset. The nested fileset does not have a relation with its parent fileset, as it would only be used when you need a separate base directory. You'd also need to be able to get a separate set of matching files for each fileset (as you need to know what files correspond with what basedir), so I don't think it makes much sense to have nested filesets. Also, having multiple top-level filesets would better match the Ant implementation. Gert - Original Message - From: Troy Laurin [EMAIL PROTECTED] To: Nant-Developers (E-Mail) [EMAIL PROTECTED] Sent: Sunday, August 29, 2004 12:16 PM Subject: Re: [nant-dev] Re: Add support for multiple filesets to the zip task. Troy Laurin wrote: Gert Driesen wrote: Not only is this not as clean as having support for multiple filesets, it also causes problems for tasks that use the relative path to the base directory (like the zip task does to determine the directory within the zip file). Ant supports this in various (all tasks that use filesets ?) tasks. Rather than modify every task that uses a fileset, is it worth (is it correct?) modifying fileset to be self-nesting? For example, your references element from above might become: references includeset basedir=C:/Test / include name=AssemblyA.dll / include name=bin/AssemblyB.dll / include name=whatever/AssemblyC.dll / /includeset includeset basedir=D:/Test/whatever / include name=AssemblyD.dll / include name=AssemblyE.dll / /includeset /references or equivalently (slightly more concise): references basedir=C:/Test / include name=AssemblyA.dll / include name=bin/AssemblyB.dll / include name=whatever/AssemblyC.dll / includeset basedir=D:/Test/whatever / include name=AssemblyD.dll / include name=AssemblyE.dll / /includeset /references You could then play with includesets as required to ensure each included file has the correct relative path. If this isn't a bad idea, I could probably knock together a prototype next weekend... Thoughts? -- Troy Ping? --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Re: Add support for multiple filesets to the zip task.
Gert Driesen wrote: Ian, Having supprot for multiple fileset is definitely useful For example: if you want to reference assemblies from a single base directory, then you can use : references basedir=C:/Test/Dunno include name=AssemblyA.dll / include name=bin/AssemblyB.dll / include name=whatever/AssemblyC.dll / /references but if you want to reference assemblies from multiple base directories, then you're forced to use this : references include name=C:/Test/AssemblyA.dll / include name=C:/Test/bin/AssemblyB.dll / include name=C:/Test/whatever/AssemblyC.dll / include name=D:/Test/whatever/AssemblyD.dll / include name=D:/Test/whatever/AssemblyE.dll / /references Not only is this not as clean as having support for multiple filesets, it also causes problems for tasks that use the relative path to the base directory (like the zip task does to determine the directory within the zip file). sure - totally - in fact the the compiler tasks already support multiple resources filesets. I was just pointing out a way to work around the limitation with the zip task and current builds. Ian Ant supports this in various (all tasks that use filesets ?) tasks. Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Felice Vittoria [EMAIL PROTECTED]; Nant-Developers (E-Mail) [EMAIL PROTECTED] Sent: Saturday, August 21, 2004 4:16 AM Subject: Re: [nant-dev] Re: Add support for multiple filesets to the zip task. You can always just use multiple invocations of the zip task Ian Gert Driesen wrote: Hi Felice, I think we should actually tackle this in general : I'm pretty sure there are more tasks where support for multiple filesets could be useful. However, this should be done post 0.85 ... Gert - Original Message - From: Felice Vittoria [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Sent: Friday, August 20, 2004 9:57 PM Subject: Add support for multiple filesets to the zip task. Gert, I was wondering what the status of Add support for multiple filesets to the zip task is. I noticed in the Release Plan that it's pending. If it's not going in Nant 0.85 will it be going in a future release? Thanks, Felice --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers -- Ian MacLean, Developer, ActiveState, a division of Sophos http://www.ActiveState.com --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers -- Ian MacLean, Developer, ActiveState, a division of Sophos http://www.ActiveState.com --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Re: Add support for multiple filesets to the zip task.
Ian, Having supprot for multiple fileset is definitely useful For example: if you want to reference assemblies from a single base directory, then you can use : references basedir=C:/Test/Dunno include name=AssemblyA.dll / include name=bin/AssemblyB.dll / include name=whatever/AssemblyC.dll / /references but if you want to reference assemblies from multiple base directories, then you're forced to use this : references include name=C:/Test/AssemblyA.dll / include name=C:/Test/bin/AssemblyB.dll / include name=C:/Test/whatever/AssemblyC.dll / include name=D:/Test/whatever/AssemblyD.dll / include name=D:/Test/whatever/AssemblyE.dll / /references Not only is this not as clean as having support for multiple filesets, it also causes problems for tasks that use the relative path to the base directory (like the zip task does to determine the directory within the zip file). Ant supports this in various (all tasks that use filesets ?) tasks. Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Felice Vittoria [EMAIL PROTECTED]; Nant-Developers (E-Mail) [EMAIL PROTECTED] Sent: Saturday, August 21, 2004 4:16 AM Subject: Re: [nant-dev] Re: Add support for multiple filesets to the zip task. You can always just use multiple invocations of the zip task Ian Gert Driesen wrote: Hi Felice, I think we should actually tackle this in general : I'm pretty sure there are more tasks where support for multiple filesets could be useful. However, this should be done post 0.85 ... Gert - Original Message - From: Felice Vittoria [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Sent: Friday, August 20, 2004 9:57 PM Subject: Add support for multiple filesets to the zip task. Gert, I was wondering what the status of Add support for multiple filesets to the zip task is. I noticed in the Release Plan that it's pending. If it's not going in Nant 0.85 will it be going in a future release? Thanks, Felice --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers -- Ian MacLean, Developer, ActiveState, a division of Sophos http://www.ActiveState.com --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Re: Add support for multiple filesets to the zip task.
You can always just use multiple invocations of the zip task Ian Gert Driesen wrote: Hi Felice, I think we should actually tackle this in general : I'm pretty sure there are more tasks where support for multiple filesets could be useful. However, this should be done post 0.85 ... Gert - Original Message - From: Felice Vittoria [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Sent: Friday, August 20, 2004 9:57 PM Subject: Add support for multiple filesets to the zip task. Gert, I was wondering what the status of Add support for multiple filesets to the zip task is. I noticed in the Release Plan that it's pending. If it's not going in Nant 0.85 will it be going in a future release? Thanks, Felice --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers -- Ian MacLean, Developer, ActiveState, a division of Sophos http://www.ActiveState.com --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers