Re: [nant-dev] New task: cat

2003-09-17 Thread Sascha Andres
Hi, * Gert Driesen wrote on 17.09.2003 (07:57): wouldn't it be better to have something similar to the Ant concat task (http://ant.apache.org/manual/CoreTasks/concat.html), which allows files to be concatenated or the tasks inline text be appended (or overwritten) to the destination file ? A

[nant-dev] RE: [Nant-users] How do one update the AssemblyVersion build number?

2003-09-17 Thread Vincent Labatut
use the version task and the asminfo task ! split your assemblyinfo.cs in two - one is maintained manually and contains everything but the assembly version attribute - the other one will be auto-generated by the asminfo task and will contain the version number from the version task.

[nant-dev] solution task fix

2003-09-17 Thread Vincent Labatut
hi, i think there's a problem in the way compiled resource filenames are computed in the solution task. I had a collision which was failing my build (cf my mail to the nant users list solution task - problem with resources on the 9th sept). The filenames are computed by scanning the

Re: [nant-dev] solution task fix

2003-09-17 Thread Matthew Mastracci
Unfortunately, VS.NET uses the name of the class as the generated resources filename. Changing this would break any designer-created code. BTW, as a friendly suggestion. :) I can't read your mail from Sept. 9 because it appears to be encoded in something other than text/plain. I get

RE: [nant-dev] solution task fix

2003-09-17 Thread Erv Walter
VS.NET uses the full name of the class (namespace.classnam) for the behind the scenes .resx files (those resource files automatically created to hold WinForm resources, etc. If you create a .resx explicitly and add it to your project (for example, to hold string resources for

Re: [nant-dev] New task: cat

2003-09-17 Thread N. V.
There is already a concat task in NAntContrib... And the task already support filesets Nick From: Sascha Andres [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [nant-dev] New task: cat Date: Wed, 17 Sep 2003 09:21:20 +0200 MIME-Version: 1.0 Hi, * Gert Driesen wrote on 17.09.2003 (07:57):

RE : [nant-dev] solution task fix

2003-09-17 Thread Vincent Labatut
thanks, got it now ! So this is what visual studio acutally does... I found a thread where a guy was stuck because of visual studio grasping the wrong class name for his resource !! ;) (he had defined multiple classes within the same file, visual studio takes the first)

Re: RE : [nant-dev] solution task fix

2003-09-17 Thread Matthew Mastracci
Heh... I can see why it caught that as the wrong class. You might be able to reorder stuff to get around this problem. The *correct* solution for us would be to use a real C# parser. Perhaps the Mono C# parser would work, if the license is compatible. The regex one is good enough 99% of

RE: [nant-dev] servicecontroller task

2003-09-17 Thread Morris, Jason
I think a very clear name would be computername. I don't think anyone would misinterpret that attribute name. If you do a /? On netsvc.exe, the usage help says NETSVC servicename \\computername /command Looking forward to using this new task. Jason -Original Message- From: Gert

Re: [nant-dev] New task: cat

2003-09-17 Thread Scott Hernandez
Sascha, I guess I have this question... Should both these functionalities be combined in a single task? Why not just support two sep. tasks. concat ... .../ / filter .../ That leaves the choice to the user about what they want to do. They can mix and match anyway they want. -

Re: [nant-dev] New task: cat

2003-09-17 Thread Ian MacLean
I agree. Filter should probably be a seperate task. It might be worth looking at Ants filterset concept. http://ant.apache.org/manual/CoreTypes/filterset.html Ian Sascha, I guess I have this question... Should both these functionalities be combined in a single task? Why not just support two