Re: [nant-dev] [Fwd: Ready to tackle next release]
in Ant 1.5, that is. With Ant 1.6beta things have changed dramatically. http://ant.apache.org/manual-1.6beta/CoreTypes/custom-programming.html for the short version of something we need to explain in more detail before the beta can become 1.6final. Very nice! And that superior documentation Ant have. Wish we have simmilar... Martin --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
On Wed, 8 Oct 2003, Martin Aliger [EMAIL PROTECTED] wrote: And that superior documentation Ant have. Go, tell our (Ant's) users ;-) Stefan --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
- Original Message - From: Martin Aliger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:54 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] in Ant 1.5, that is. With Ant 1.6beta things have changed dramatically. http://ant.apache.org/manual-1.6beta/CoreTypes/custom-programming.html for the short version of something we need to explain in more detail before the beta can become 1.6final. Very nice! And that superior documentation Ant have. Wish we have simmilar... Feel free to submit patches :-) Gert --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
Maybe I will. But someone with better English have to review it ;-( Martin Very nice! And that superior documentation Ant have. Wish we have simmilar... Feel free to submit patches :-) Gert --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
On Tue, 7 Oct 2003, Gert Driesen [EMAIL PROTECTED] wrote: For third party filterreaders only the first notation is supported, ofcourse. in Ant 1.5, that is. With Ant 1.6beta things have changed dramatically. http://ant.apache.org/manual-1.6beta/CoreTypes/custom-programming.html for the short version of something we need to explain in more detail before the beta can become 1.6final. Stefan --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
great to see that one of the driving forces behind Ant is also interested in NAnt :) Gert - Original Message - From: Stefan Bodewig [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 7:11 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] On Tue, 7 Oct 2003, Gert Driesen [EMAIL PROTECTED] wrote: For third party filterreaders only the first notation is supported, ofcourse. in Ant 1.5, that is. With Ant 1.6beta things have changed dramatically. http://ant.apache.org/manual-1.6beta/CoreTypes/custom-programming.html for the short version of something we need to explain in more detail before the beta can become 1.6final. Stefan --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] [Fwd: Ready to tackle next release]
So would we preload some like it does now when an assembly with tasks is dropped into the same directory as NAnt.exe? That would be useful too. For each buildable unit I tend to take a snapshot of NAnt and any custom tasks and drop it into a tools directory. That way I'm not tied to the version of NAnt (and its associated configuration) that is on the machine. It helps quite a bit when you are reusing build servers for multiple projects. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 1:19 PM To: Stefan Bodewig Cc: [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] Interesting. I think we can easily do the equivalent for NAnt by means of a loattypes task similar to the loadtasks we have already. We already discover referencable datatypes so adding attribute based detection of filters and or anything else shouldn't be a big change. Ian Stefan Bodewig wrote: On Tue, 7 Oct 2003, Gert Driesen [EMAIL PROTECTED] wrote: For third party filterreaders only the first notation is supported, ofcourse. in Ant 1.5, that is. With Ant 1.6beta things have changed dramatically. http://ant.apache.org/manual-1.6beta/CoreTypes/custom-progra mming.html for the short version of something we need to explain in more detail before the beta can become 1.6final. Stefan --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
I don't think we should rush a task in ... However, I agree that we shouldn't wait until support for filterchains is added. But if we add such a task to NAnt core, we should at least support both filtersets and filesets ... I already ported the base classes for filtersets from Ant (NAnt.Core.Types.FilterSet(Collection) and NAnt.Core.Types.Filter(Collection)) ... these are available in cvs now ... so it shouldn't really be hard to add this to your replace task ... I'll look into adding support for filtersets to the copy and move tasks later (probable tomorrow or so) Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Mitch Denny [EMAIL PROTECTED] Cc: Gert Driesen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, October 06, 2003 4:25 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] +1, mainly because I've just found a use for it in our linux build. We need to create a nant shell script that contains the full path to the just built NAnt.exe which we won't know till we build it. So it would be a prime candidate for a use of the replace task. Ian The touch / task could possibly be modified to do it. But replace would possibly be more intuitive for new users than using a filter chain. It could probably support filter chains anyway - it might also be cool to have a generic filter / task too. Next release :) I'm thinking that we could put the replace task in now since it would be useful, and then modify its implementation when chaining support is added. What do you all think? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:03 AM To: Gert Driesen Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I just noticed that Ant still has both the replaceTask and the filtersets in copy/zip etc. I'm sure you could accomplish an in-place replace with filtersets but I can see a task called replace being easier for new uesrs to deal with than filterchains. Ian http://ant.apache.org/manual/CoreTasks/replace.html Gert Driesen wrote: to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
Awesome. Good work Gert. This will be nice. Ian Gert Driesen wrote: I don't think we should rush a task in ... However, I agree that we shouldn't wait until support for filterchains is added. But if we add such a task to NAnt core, we should at least support both filtersets and filesets ... I already ported the base classes for filtersets from Ant (NAnt.Core.Types.FilterSet(Collection) and NAnt.Core.Types.Filter(Collection)) ... these are available in cvs now ... so it shouldn't really be hard to add this to your replace task ... I'll look into adding support for filtersets to the copy and move tasks later (probable tomorrow or so) Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Mitch Denny [EMAIL PROTECTED] Cc: Gert Driesen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, October 06, 2003 4:25 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] +1, mainly because I've just found a use for it in our linux build. We need to create a nant shell script that contains the full path to the just built NAnt.exe which we won't know till we build it. So it would be a prime candidate for a use of the replace task. Ian The touch / task could possibly be modified to do it. But replace would possibly be more intuitive for new users than using a filter chain. It could probably support filter chains anyway - it might also be cool to have a generic filter / task too. Next release :) I'm thinking that we could put the replace task in now since it would be useful, and then modify its implementation when chaining support is added. What do you all think? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:03 AM To: Gert Driesen Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I just noticed that Ant still has both the replaceTask and the filtersets in copy/zip etc. I'm sure you could accomplish an in-place replace with filtersets but I can see a task called replace being easier for new uesrs to deal with than filterchains. Ian http://ant.apache.org/manual/CoreTasks/replace.html Gert Driesen wrote: to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] [Fwd: Ready to tackle next release]
Awesome! I'll do a fetch on the CVS repository tomorrow. Does anyone know if SourceForge has cut over to the live copy of the CVS repository for anonymous access yet? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 5:22 PM To: Ian MacLean; Mitch Denny Cc: [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I don't think we should rush a task in ... However, I agree that we shouldn't wait until support for filterchains is added. But if we add such a task to NAnt core, we should at least support both filtersets and filesets ... I already ported the base classes for filtersets from Ant (NAnt.Core.Types.FilterSet(Collection) and NAnt.Core.Types.Filter(Collection)) ... these are available in cvs now ... so it shouldn't really be hard to add this to your replace task ... I'll look into adding support for filtersets to the copy and move tasks later (probable tomorrow or so) Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Mitch Denny [EMAIL PROTECTED] Cc: Gert Driesen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, October 06, 2003 4:25 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] +1, mainly because I've just found a use for it in our linux build. We need to create a nant shell script that contains the full path to the just built NAnt.exe which we won't know till we build it. So it would be a prime candidate for a use of the replace task. Ian The touch / task could possibly be modified to do it. But replace would possibly be more intuitive for new users than using a filter chain. It could probably support filter chains anyway - it might also be cool to have a generic filter / task too. Next release :) I'm thinking that we could put the replace task in now since it would be useful, and then modify its implementation when chaining support is added. What do you all think? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:03 AM To: Gert Driesen Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I just noticed that Ant still has both the replaceTask and the filtersets in copy/zip etc. I'm sure you could accomplish an in-place replace with filtersets but I can see a task called replace being easier for new uesrs to deal with than filterchains. Ian http://ant.apache.org/manual/CoreTasks/replace.html Gert Driesen wrote: to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com
RE: [nant-dev] [Fwd: Ready to tackle next release]
Actually, are you guys working off some branch, because I can't see the XmlPeek or XmlPoke tasks in there either. Is it BRANCH-083? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 5:22 PM To: Ian MacLean; Mitch Denny Cc: [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I don't think we should rush a task in ... However, I agree that we shouldn't wait until support for filterchains is added. But if we add such a task to NAnt core, we should at least support both filtersets and filesets ... I already ported the base classes for filtersets from Ant (NAnt.Core.Types.FilterSet(Collection) and NAnt.Core.Types.Filter(Collection)) ... these are available in cvs now ... so it shouldn't really be hard to add this to your replace task ... I'll look into adding support for filtersets to the copy and move tasks later (probable tomorrow or so) Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Mitch Denny [EMAIL PROTECTED] Cc: Gert Driesen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, October 06, 2003 4:25 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] +1, mainly because I've just found a use for it in our linux build. We need to create a nant shell script that contains the full path to the just built NAnt.exe which we won't know till we build it. So it would be a prime candidate for a use of the replace task. Ian The touch / task could possibly be modified to do it. But replace would possibly be more intuitive for new users than using a filter chain. It could probably support filter chains anyway - it might also be cool to have a generic filter / task too. Next release :) I'm thinking that we could put the replace task in now since it would be useful, and then modify its implementation when chaining support is added. What do you all think? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:03 AM To: Gert Driesen Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I just noticed that Ant still has both the replaceTask and the filtersets in copy/zip etc. I'm sure you could accomplish an in-place replace with filtersets but I can see a task called replace being easier for new uesrs to deal with than filterchains. Ian http://ant.apache.org/manual/CoreTasks/replace.html Gert Driesen wrote: to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Re: [nant-dev] [Fwd: Ready to tackle next release]
No we're working on the main branch, but I noticed that, at times, anoncvs is more than 5 days behind ... Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 06, 2003 1:12 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] Actually, are you guys working off some branch, because I can't see the XmlPeek or XmlPoke tasks in there either. Is it BRANCH-083? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 5:22 PM To: Ian MacLean; Mitch Denny Cc: [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I don't think we should rush a task in ... However, I agree that we shouldn't wait until support for filterchains is added. But if we add such a task to NAnt core, we should at least support both filtersets and filesets ... I already ported the base classes for filtersets from Ant (NAnt.Core.Types.FilterSet(Collection) and NAnt.Core.Types.Filter(Collection)) ... these are available in cvs now ... so it shouldn't really be hard to add this to your replace task ... I'll look into adding support for filtersets to the copy and move tasks later (probable tomorrow or so) Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Mitch Denny [EMAIL PROTECTED] Cc: Gert Driesen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, October 06, 2003 4:25 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] +1, mainly because I've just found a use for it in our linux build. We need to create a nant shell script that contains the full path to the just built NAnt.exe which we won't know till we build it. So it would be a prime candidate for a use of the replace task. Ian The touch / task could possibly be modified to do it. But replace would possibly be more intuitive for new users than using a filter chain. It could probably support filter chains anyway - it might also be cool to have a generic filter / task too. Next release :) I'm thinking that we could put the replace task in now since it would be useful, and then modify its implementation when chaining support is added. What do you all think? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:03 AM To: Gert Driesen Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I just noticed that Ant still has both the replaceTask and the filtersets in copy/zip etc. I'm sure you could accomplish an in-place replace with filtersets but I can see a task called replace being easier for new uesrs to deal with than filterchains. Ian http://ant.apache.org/manual/CoreTasks/replace.html Gert Driesen wrote: to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
RE: [nant-dev] [Fwd: Ready to tackle next release]
Atleast :( Are the nightly tarballs of the repository happening or are they lagging too? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 9:33 PM To: Mitch Denny; Ian MacLean Cc: [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] No we're working on the main branch, but I noticed that, at times, anoncvs is more than 5 days behind ... Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 06, 2003 1:12 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] Actually, are you guys working off some branch, because I can't see the XmlPeek or XmlPoke tasks in there either. Is it BRANCH-083? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 5:22 PM To: Ian MacLean; Mitch Denny Cc: [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I don't think we should rush a task in ... However, I agree that we shouldn't wait until support for filterchains is added. But if we add such a task to NAnt core, we should at least support both filtersets and filesets ... I already ported the base classes for filtersets from Ant (NAnt.Core.Types.FilterSet(Collection) and NAnt.Core.Types.Filter(Collection)) ... these are available in cvs now ... so it shouldn't really be hard to add this to your replace task ... I'll look into adding support for filtersets to the copy and move tasks later (probable tomorrow or so) Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Mitch Denny [EMAIL PROTECTED] Cc: Gert Driesen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, October 06, 2003 4:25 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] +1, mainly because I've just found a use for it in our linux build. We need to create a nant shell script that contains the full path to the just built NAnt.exe which we won't know till we build it. So it would be a prime candidate for a use of the replace task. Ian The touch / task could possibly be modified to do it. But replace would possibly be more intuitive for new users than using a filter chain. It could probably support filter chains anyway - it might also be cool to have a generic filter / task too. Next release :) I'm thinking that we could put the replace task in now since it would be useful, and then modify its implementation when chaining support is added. What do you all think? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:03 AM To: Gert Driesen Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I just noticed that Ant still has both the replaceTask and the filtersets in copy/zip etc. I'm sure you could accomplish an in-place replace with filtersets but I can see a task called replace being easier for new uesrs to deal with than filterchains. Ian http://ant.apache.org/manual/CoreTasks/replace.html Gert Driesen wrote: to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So
Re: [nant-dev] [Fwd: Ready to tackle next release]
I've just checked in filterset support for both the copy and move tasks. I still have to add some examples to the tasks though. .. You can now use the following build fragments : copy todir="d:\test-copy" includeemptydirs="false" encoding="utf-8" fileset basedir="d:\cvs\nant\doc\help" includes name="*" / /fileset filtersets filterset begintoken="@" endtoken="@" filter token="TEST" value="123" / /filterset filterset begintoken="#" endtoken="#" filter token="DUNNO" value="WHAT" / /filterset /filtersets/copy move todir="d:\test-copy" includeemptydirs="false" encoding="utf-8" fileset basedir="d:\cvs\nant\doc\help" includes name="*" / /fileset filtersets filterset begintoken="@" endtoken="@" filter token="TEST" value="123" / /filterset filterset begintoken="#" endtoken="#" filter token="DUNNO" value="WHAT" / /filterset /filtersets/move I haven't really tested it thoroughly, but it should work :-) Let me know if you encounter any issues ... Gert - Original Message - From: "Ian MacLean" [EMAIL PROTECTED] To: "Gert Driesen" [EMAIL PROTECTED] Cc: "Mitch Denny" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, October 06, 2003 10:18 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] Awesome. Good work Gert. This will be nice. Ian Gert Driesen wrote: I don't think we should rush a task in ... However, I agree that we shouldn't wait until support for filterchains is added. But if we add such a task to NAnt core, we should at least support both filtersets and filesets ... I already "ported" the base classes for filtersets from Ant (NAnt.Core.Types.FilterSet(Collection) and NAnt.Core.Types.Filter(Collection)) ... these are available in cvs now ... so it shouldn't really be hard to add this to your replace task ... I'll look into adding support for filtersets to the copy and move tasks later (probable tomorrow or so) Gert - Original Message - From: "Ian MacLean" [EMAIL PROTECTED] To: "Mitch Denny" [EMAIL PROTECTED] Cc: "Gert Driesen" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, October 06, 2003 4:25 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] +1, mainly because I've just found a use for it in our linux build. We need to create a nant shell script that contains the full path to the just built NAnt.exe which we won't know till we build it. So it would be a prime candidate for a use of the replace task. Ian The touch / task could possibly be modified to do it. But replace would possibly be more intuitive for new users than using a filter chain. It could probably support filter chains anyway - it might also be cool to have a generic filter / task too. Next release :) I'm thinking that we could put the replace task in now since it would be useful, and then modify its implementation when chaining support is added. What do you all think? -------- - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:03 AM To: Gert Driesen Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I just noticed that Ant still has both the replaceTask and the filtersets in copy/zip etc. I'm sure you could accomplish an in-place replace with filtersets but I can see a task called replace being easier for new uesrs to deal with than filterchains. Ian http://ant.apache.org/manual/CoreTasks/replace.html Gert Driesen wrote: to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: "Ian MacLean" [EMAIL PROTECTED] To: "Gert Driesen" [EMAIL PROTECTED] Cc: "Mitch Denny" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: "Mitch Denny" [EMAIL PROTECTED] To: "Gert Driesen" [EMAIL PROTECTED]; "Ian MacLe
RE: [nant-dev] [Fwd: Ready to tackle next release]
Wouldn't an echo to file task be more appropriate for that job? It's a small file with known content, so nothing should go wrong - but something in my spine twitches when I think of global replace. Kræn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian MacLean Sent: 6. oktober 2003 04:26 To: Mitch Denny Cc: Gert Driesen; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] +1, mainly because I've just found a use for it in our linux build. We need to create a nant shell script that contains the full path to the just built NAnt.exe which we won't know till we build it. So it would be a prime candidate for a use of the replace task. Ian The touch / task could possibly be modified to do it. But replace would possibly be more intuitive for new users than using a filter chain. It could probably support filter chains anyway - it might also be cool to have a generic filter / task too. Next release :) I'm thinking that we could put the replace task in now since it would be useful, and then modify its implementation when chaining support is added. What do you all think? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:03 AM To: Gert Driesen Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I just noticed that Ant still has both the replaceTask and the filtersets in copy/zip etc. I'm sure you could accomplish an in-place replace with filtersets but I can see a task called replace being easier for new uesrs to deal with than filterchains. Ian http://ant.apache.org/manual/CoreTasks/replace.html Gert Driesen wrote: to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
I think we should have a more generic solution for this, like Ant has with its support for FilterChains ... Scott has put this on his to-do list (and I updated the NAnt to-do list in cvs with this information), but he's very busy so I'm not sure when this will be available ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 11:06 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] Same as the Ant replace task. Replace tokens in a text file ( or fileset of text files ) Ian Gert Driesen wrote: Mitch, Can you freshen up my memory again, and tell me what this task is supposed to do ? Thanks, Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 03, 2003 7:05 AM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] It would be great to see NUnit 2.1 plugged in. I'd also like to see 1.1 as the default. Ian - do you think it would be possible to get the ReplaceTask into the core if I can make it more robust? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:31 PM To: [EMAIL PROTECTED] Subject: [nant-dev] [Fwd: Ready to tackle next release] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] [Fwd: Ready to tackle next release]
Hi Ian/Gert, The current drop of the code I have doesn't work with a fileset, although I guess it could easily be modified to do so. How long do I have until the 0.8.4 feature freeze starts? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Sunday, October 05, 2003 7:07 PM To: Gert Driesen Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] Same as the Ant replace task. Replace tokens in a text file ( or fileset of text files ) Ian Gert Driesen wrote: Mitch, Can you freshen up my memory again, and tell me what this task is supposed to do ? Thanks, Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 03, 2003 7:05 AM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] It would be great to see NUnit 2.1 plugged in. I'd also like to see 1.1 as the default. Ian - do you think it would be possible to get the ReplaceTask into the core if I can make it more robust? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:31 PM To: [EMAIL PROTECTED] Subject: [nant-dev] [Fwd: Ready to tackle next release] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] [Fwd: Ready to tackle next release]
Hrm, yeah I can see how that would be a better solution. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Sunday, October 05, 2003 7:38 PM To: Ian MacLean Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I think we should have a more generic solution for this, like Ant has with its support for FilterChains ... Scott has put this on his to-do list (and I updated the NAnt to-do list in cvs with this information), but he's very busy so I'm not sure when this will be available ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 11:06 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] Same as the Ant replace task. Replace tokens in a text file ( or fileset of text files ) Ian Gert Driesen wrote: Mitch, Can you freshen up my memory again, and tell me what this task is supposed to do ? Thanks, Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 03, 2003 7:05 AM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] It would be great to see NUnit 2.1 plugged in. I'd also like to see 1.1 as the default. Ian - do you think it would be possible to get the ReplaceTask into the core if I can make it more robust? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:31 PM To: [EMAIL PROTECTED] Subject: [nant-dev] [Fwd: Ready to tackle next release] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Sunday, October 05, 2003 7:38 PM To: Ian MacLean Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I think we should have a more generic solution for this, like Ant has with its support for FilterChains ... Scott has put this on his to-do list (and I updated the NAnt to-do list in cvs with this information), but he's very busy so I'm not sure when this will be available ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 11:06 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] Same as the Ant replace task. Replace tokens in a text file ( or fileset of text files ) Ian Gert Driesen wrote: Mitch, Can you freshen up my memory again, and tell me what this task is supposed to do ? Thanks, Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 03, 2003 7:05 AM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] It would be great to see NUnit 2.1 plugged in. I'd also like to see 1.1 as the default. Ian - do you think it would be possible to get the ReplaceTask into the core if I can make it more robust? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:31 PM To: [EMAIL PROTECTED] Subject: [nant-dev] [Fwd: Ready to tackle next release] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Sunday, October 05, 2003 7:38 PM To: Ian MacLean Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I think we should have a more generic solution for this, like Ant has with its support for FilterChains ... Scott has put this on his to-do list (and I updated the NAnt to-do list in cvs with this information), but he's very busy so I'm not sure when this will be available ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 11:06 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] Same as the Ant replace task. Replace tokens in a text file ( or fileset of text files ) Ian Gert Driesen wrote: Mitch, Can you freshen up my memory again, and tell me what this task is supposed to do ? Thanks, Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 03, 2003 7:05 AM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] It would be great to see NUnit 2.1 plugged in. I'd also like to see 1.1 as the default. Ian - do you think it would be possible to get the ReplaceTask into the core if I can make it more robust? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:31 PM To: [EMAIL PROTECTED] Subject: [nant-dev] [Fwd: Ready to tackle next release] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] [Fwd: Ready to tackle next release]
to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Sunday, October 05, 2003 7:38 PM To: Ian MacLean Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I think we should have a more generic solution for this, like Ant has with its support for FilterChains ... Scott has put this on his to-do list (and I updated the NAnt to-do list in cvs with this information), but he's very busy so I'm not sure when this will be available ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 11:06 AM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] Same as the Ant replace task. Replace tokens in a text file ( or fileset of text files ) Ian Gert Driesen wrote: Mitch, Can you freshen up my memory again, and tell me what this task is supposed to do ? Thanks, Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 03, 2003 7:05 AM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] It would be great to see NUnit 2.1 plugged in. I'd also like to see 1.1 as the default. Ian - do you think it would be possible to get the ReplaceTask into the core if I can make it more robust? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:31 PM To: [EMAIL PROTECTED] Subject: [nant-dev] [Fwd: Ready to tackle next release] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by:ThinkGeek Welcome
Re: [nant-dev] [Fwd: Ready to tackle next release]
I just noticed that Ant still has both the replaceTask and the filtersets in copy/zip etc. I'm sure you could accomplish an in-place replace with filtersets but I can see a task called replace being easier for new uesrs to deal with than filterchains. Ian http://ant.apache.org/manual/CoreTasks/replace.html Gert Driesen wrote: to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] [Fwd: Ready to tackle next release]
The touch / task could possibly be modified to do it. But replace would possibly be more intuitive for new users than using a filter chain. It could probably support filter chains anyway - it might also be cool to have a generic filter / task too. Next release :) I'm thinking that we could put the replace task in now since it would be useful, and then modify its implementation when chaining support is added. What do you all think? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:03 AM To: Gert Driesen Cc: Mitch Denny; [EMAIL PROTECTED] Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] I just noticed that Ant still has both the replaceTask and the filtersets in copy/zip etc. I'm sure you could accomplish an in-place replace with filtersets but I can see a task called replace being easier for new uesrs to deal with than filterchains. Ian http://ant.apache.org/manual/CoreTasks/replace.html Gert Driesen wrote: to be honest, I'm not sure about that one ... If necessary we could ofcourse create a task for that, but I was just saying we don't necessary need one ... didn't really give it much thought yet ... Gert - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Mitch Denny [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 1:53 PM Subject: Re: [nant-dev] [Fwd: Ready to tackle next release] What if you want to replace strings in a file in place ? - ie without copying/moving the file Ian Gert Driesen wrote: something like that yes :-) but instead of having a separate task for that purpose, filterchain support would be added to existing tasks (like copy, zip, ...) Gert - Original Message - From: Mitch Denny [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED]; Ian MacLean [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:15 PM Subject: RE: [nant-dev] [Fwd: Ready to tackle next release] So in implementation it would work like this: [FilterChain(filterchain)] public FilterChain FilterChain { ... } Then in the execute task: StreamReader reader = new StreamReader(...); StreamWriter writer = new StreamWriter(...); this.FilterChain.Filter(reader, writer); Or something like that. - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] [Fwd: Ready to tackle next release]
It would be great to see NUnit 2.1 plugged in. I'd also like to see 1.1 as the default. Ian - do you think it would be possible to get the ReplaceTask into the core if I can make it more robust? - Mitch Denny - [EMAIL PROTECTED] - http://www.monash.net - +61 (414) 610141 - -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:31 PM To: [EMAIL PROTECTED] Subject: [nant-dev] [Fwd: Ready to tackle next release] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers