[nant-dev] Fileset references
Ian, I've a target like the following that simply initializes a file set: target name=dist ... fileset id=archive.set basedir=${build.dir} ... includes name=../AUTHORS/ includes name=../COPYRIGHT/ includes name=../LICENSE/ includes name=${package.name}/**/ excludes name=${package.name}/**/*.xml/ excludes name=${package.name}/**/*.resources/ /fileset /target ... and then another target that uses it: target name=package depends=dist ... zip zipfile=${archive.name} fileset refid=archive.set/ /zip /target Well, the resulting zip archive is empty. Am I missing something? Gius_. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Fileset references
Gius, I forgot to make the filest in zip task settable - shold be fixed now. Ian Ian, I've a target like the following that simply initializes a file set: target name=dist ... fileset id=archive.set basedir=${build.dir} ... includes name=../AUTHORS/ includes name=../COPYRIGHT/ includes name=../LICENSE/ includes name=${package.name}/**/ excludes name=${package.name}/**/*.xml/ excludes name=${package.name}/**/*.resources/ /fileset /target ... and then another target that uses it: target name=package depends=dist ... zip zipfile=${archive.name} fileset refid=archive.set/ /zip /target Well, the resulting zip archive is empty. Am I missing something? Gius_. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Fileset references
I forgot to make the filest in zip task settable - shold be fixed now. You added a unit test for this before fixing it, right? :) John C Barstow --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] fileset references
Its definately in cvs. I've done a clean check out into a seperate directory and the example below works fine. Are you seeing errors ? What isn't working ? Ian Ian, On Tue, 2003-06-24 at 11:35, Ian MacLean wrote: fileset references are done. I still need to add some unit tests and polish a few things but its all working. try somthing like the following : fileset id=foo includes name=*.*/ /fileset copy todir=. overwrite=true fileset refid=foo/ /copy There is now a general framework for referencable types. Its only implemented for filesets right now. Is that on CVS? It doesn't seem so... Gius_. Ian --- 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 sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] fileset references
On Sat, 2003-06-28 at 16:10, Ian MacLean wrote: Its definately in cvs. I've done a clean check out into a seperate directory and the example below works fine. Are you seeing errors ? What isn't working ? NAnt simply says Unknown task fileset. Gius_. Ian Ian, On Tue, 2003-06-24 at 11:35, Ian MacLean wrote: fileset references are done. I still need to add some unit tests and polish a few things but its all working. try somthing like the following : fileset id=foo includes name=*.*/ /fileset copy todir=. overwrite=true fileset refid=foo/ /copy There is now a general framework for referencable types. Its only implemented for filesets right now. Is that on CVS? It doesn't seem so... Gius_. Ian --- 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 -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] fileset references
On Sat, 2003-06-28 at 16:15, Ian MacLean wrote: windows or linux ? - is your fileset definition at the project level ? fileset definitions at target level are not supported right now. A-ha, that's the problem... I'm trying to use fileset definitions at target level... Gius_. Ian On Sat, 2003-06-28 at 16:10, Ian MacLean wrote: Its definately in cvs. I've done a clean check out into a seperate directory and the example below works fine. Are you seeing errors ? What isn't working ? NAnt simply says Unknown task fileset. Gius_. Ian Ian, On Tue, 2003-06-24 at 11:35, Ian MacLean wrote: fileset references are done. I still need to add some unit tests and polish a few things but its all working. try somthing like the following : fileset id=foo includes name=*.*/ /fileset copy todir=. overwrite=true fileset refid=foo/ /copy There is now a general framework for referencable types. Its only implemented for filesets right now. Is that on CVS? It doesn't seem so... Gius_. Ian --- 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 -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] fileset references
cool. I'm just adding support for target level now. Its pretty straightforward. Ian On Sat, 2003-06-28 at 16:15, Ian MacLean wrote: windows or linux ? - is your fileset definition at the project level ? fileset definitions at target level are not supported right now. A-ha, that's the problem... I'm trying to use fileset definitions at target level... Gius_. Ian On Sat, 2003-06-28 at 16:10, Ian MacLean wrote: Its definately in cvs. I've done a clean check out into a seperate directory and the example below works fine. Are you seeing errors ? What isn't working ? NAnt simply says Unknown task fileset. Gius_. Ian Ian, On Tue, 2003-06-24 at 11:35, Ian MacLean wrote: fileset references are done. I still need to add some unit tests and polish a few things but its all working. try somthing like the following : fileset id=foo includes name=*.*/ /fileset copy todir=. overwrite=true fileset refid=foo/ /copy There is now a general framework for referencable types. Its only implemented for filesets right now. Is that on CVS? It doesn't seem so... Gius_. Ian --- 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 sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] fileset references
-- Original Message -- From: Ian MacLean [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [nant-dev] fileset references Date: Tue, 24 Jun 2003 18:35:04 +0900 fileset references are done. I still need to add some unit tests and polish a few things but its all working. try somthing like the following : fileset id=foo includes name=*.*/ /fileset copy todir=. overwrite=true fileset refid=foo/ /copy There is now a general framework for referencable types. Its only implemented for filesets right now. Wow, I'll try it immediately! Thanks, Gius_. Ian --- 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
[nant-dev] Fileset references
Title: Fileset references Hi all, does anybody know how far is the implementation of fileset refereces? (see www.mail-archive.com/[EMAIL PROTECTED]/msg01418.html for more info) Gius_. Giuseppe Greco T-Systems CS AG Birkenstrasse 21 8306 Brüttisellen Phone: +41 (0) 1 805 57 20 Fax: +41 (0) 1 805 55 45 Email: [EMAIL PROTECTED] Web: www.t-systems.ch
Re: [nant-dev] Fileset references
+1 for this. This would be really sweet. brant ... From: Philip Nelson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [nant-dev] Fileset references Date: Thu, 20 Mar 2003 11:15:20 -0800 (PST) So the two valid forms would be: 1.) (how things work now) foreach ... !-- stuff to do -- / 2.) foreach ... in/ do !--Stuff to do -- / / What I would love to see is: fileset ID=foo include .. /fileset attrib readOnly=false fileset ref=foo / /attrib foreach ...type=FileSet ref=foo do !--Stuff to do -- / / in addition to the more verbose sorts... foreach ... in fileset ref=foo / fileset /fileset /in do !--Stuff to do -- / / Fileset references are something ant had a long time ago and would really reduce the size of my build files tremendously. --- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers