Re: [Nant-users] Install Fails

2004-09-20 Thread Gert Driesen
Mark, First of all, you don't need to build NAnt when you download an official release or the binary distribution for a nightly build, as they come with a fully functional version of NAnt ! Now for the test failure : the reason why the test fails is because you haven't run vsvars32.bat (C:\Prog

Re: [Nant-users] proper format for a collection of strings in custom task

2004-09-20 Thread Gert Driesen
Castro, The collection and iterator classes aren't really necessary as you could use an array based property too : [BuildElementCollection("filters", "pattern")] public Pattern[] Patterns { get { return _patterns; } set { _patterns = value; } } but from a design perspective collections are

[Nant-users] Install Fails

2004-09-20 Thread Mark Amos
Title: Install Fails I have a problem installing nant.  This is what the log says.  Any ideas?  Thanks. =       [nunit2] Tests run:

[Nant-users] Compare nAnt and BuildIt

2004-09-20 Thread Manish Jain
I am new to building tools, Appreciate if you can help on this: Can we compare nAnt and BuildIt to build .NET Application? If yes pls let me know which is better and why ? Thanks in Advance Manish --- This SF.Net email is sponsored by: YOU B

RE: [Nant-users] proper format for a collection of strings in custom task

2004-09-20 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
It turns out that I forgot to do a lot! I first needed to create a class derived from Element:   [ElementName(“pattern”)] public class Pattern : Element {     // … }   Then I needed to create a specialized Collection:   [Serializable()] public class PatternCollection : CollectionB

[Nant-users] proper format for a collection of strings in custom task

2004-09-20 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Hi All,   I am writing my own custom task and I would like to have a collection of strings as an element… something like the following:                         My code looks like this:   [BuildElementCollection("filters", "pattern")] public StringCollection

RE: [Nant-users] Problem with vssadd

2004-09-20 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Is this a problem with interoperability between 2.0 and 1.1 versions of .NET?   --Edwin   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Langston Sent: Monday, September 20, 2004 11:41 AM To: [EMAIL PROTECTED] Subject: [Nant-users] Problem with vssadd  

RE: [Nant-users] Calling Environment functions

2004-09-20 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Try passing a string by using single quotes like: “${environment::variable-exists('temp')}”.   --Edwin   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Devin Grant Sent: Monday, September 20, 2004 12:16 PM To: [EMAIL PROTECTED] Subject: [Nant-users] Calling Envir

[Nant-users] Calling Environment functions

2004-09-20 Thread Devin Grant
I have the release version of NAnt (build 0.85.1720.0) on my machine and I am unable to call “${environment::variable-exists(temp)}”.   Error message: Property evaluation failed. _expression_: ${environment::variable-exists(temp)}   

RE: [SPAM] - Re: [Nant-users] Problems with vssget - Email found in subject

2004-09-20 Thread Felice Vittoria
Murty and all, I'm glad to see things are working :) However, I would've liked to know why you were getting those errors. I guess we'll have to wait until these errors pop-up again (if they ever do). Felice -Original Message- From: murty dronamraju [mailto:[EMAIL PROTECTED] Sent: Mon

[Nant-users] Problem with vssadd

2004-09-20 Thread Chris Langston
We are using the 2.0 version of .NET and in so doing, we had to upgrade most of our build tools (NAnt, NUnit, NAntContrib, FxCop, CruiseControl, etc.) and I am not experiencing some problems with the I am using NAnt NAnt 0.85 (Build 0.85.1714.0; net-1.0.win32; nightly; 9/10/2004) and NAnt

Re: [Nant-users] Problems with vssget

2004-09-20 Thread murty dronamraju
Gert, Felice: I deleted both nant-build, nant-contrib directories , deleted my nant env variables , rebooted my machine and did a fresh install. Dunno why but the Vssget task works fine now :) Thanks a lot for your help!! Murty On Mon, 20 Sep 2004 20:31:01 +0200, Gert Driesen

Re: [Nant-users] Problems with vssget

2004-09-20 Thread Gert Driesen
Murty, Can you run NAnt in debug mode (NAnt.exe -debug) and post the output ? When is executed, you should get output similar to this : [loadtasks] Scanning assembly "NAnt.Contrib.Tasks" for extensions. [loadtasks] Creating TaskBuilder for "P4Print". [loadtasks] Adding "p4print" from D:\CVS\NAntC

[Nant-users] Error deleting temp directory

2004-09-20 Thread Steve Mitcham
I have a large nested build and I am getting an error that status that a tmp directory cannot be deleted because it is not empty.  When I check the directory it is empty.  It appears that there is some race condition in clearing the directory.    This is at the end of a task.

RE: [SPAM] - Re: [Nant-users] Problems with vssget - Email found in subject

2004-09-20 Thread Felice Vittoria
Edwin, I agree that spaces should not be a problem, as well as having C:\Program Files as your directory root shouldn't be a problem. Seems as though my mind is in the same boat as yours ... to question everything. Felice -Original Message- From: Castro, Edwin Gabriel (Firing System

Re: [Nant-users] Problems with vssget

2004-09-20 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I expect spaces will not be the problem. I have NAnt and NAntContrib both in "C:\Program Files". Actually, I have them set up as follows: NAnt is at "C:\Program Files\DotTools\nant-0.85-nightly". NAntContrib is at "C:\Program Files\DotTools\nantcontrib-0.85-nightly". In my NAnt build files I use

RE: [SPAM] - Re: [Nant-users] RE: containing " in value ([EMAIL PROTECTED]) - Email found in subject

2004-09-20 Thread Felice Vittoria
Thanks ! -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:43 PM To: Felice Vittoria; Skip Sailors; [EMAIL PROTECTED] Subject: [SPAM] - Re: [Nant-users] RE: containing " in value ([EMAIL PROTECTED]) - Email found in subject Felice, Separ

Re: [Nant-users] RE: containing " in value ([EMAIL PROTECTED])

2004-09-20 Thread Gert Driesen
Felice, Separate elements allows NAnt to - resolve relative to absolute file paths (when using "file" attribute) - take care of quoting if necessary (when using "value", "file" or "path" attribute) - conditionally pass certain arguments to the executable (using "if" and "unless" attributes) - au

RE: [SPAM] - Re: [Nant-users] Problems with vssget - Email found in subject

2004-09-20 Thread Felice Vittoria
Murty I'm not sure what else it could be :( Hopefully someone else may be able to answer that. However, in the meantime, I'll continue to look. Just out of curiosity .. what would happen if you placed the directories outside of C:\Program Files? Also, could you try a directory without a spac

Re: [Nant-users] Problems with vssget

2004-09-20 Thread murty dronamraju
Felice: I checked the path to NAnt.contrib.tasks.dll and it is Ok..I have two separate folders now, one for the nightly build and the other for nant-contrib. Still no luck..Any ideas.. Thanks in advance, Murty On Mon, 20 Sep 2004 11:25:24 -0500, Felice Vittoria <[EMAIL PROTECTED]> wrote: > Mur

RE: [Nant-users] Problems with vssget

2004-09-20 Thread Felice Vittoria
Murty, I'm using the latest NAnt (Sep 19) and latest NAntContrib (Sep 19). vssget works fine for me. You shouldn't need to build NAntContrib and if you are using the loadtasks (preferred method), then you shouldn't need to dump NAntContrib's bin into NAnt's bin. Is the path to NAnt.Contrib.Ta

Re: [Nant-users] NAnt finds wrong .NET Framework version

2004-09-20 Thread Mateusz Łoskot
Hi Gert, On 9/20/2004 5:31 PM, Gert Driesen wrote: > This is a know issue in NAnt 0.84. > [...] Thanks for your clear and helpful explanation. Greets -- Mateusz Łoskot mateusz at loskot dot net --- This SF.Net email is sponsored by: YOU BE THE JUD

RE: [Nant-users] RE: containing " in value ([EMAIL PROTECTED])

2004-09-20 Thread Felice Vittoria
Gert, You said: In the spirit of XML, wouldn't it be reasonable to expect that we could write: That should ofcourse be possible too, but I'd advise against using the commandline attribute and use the nested elements instead. You can use the "line" attribute of the element if you want to contr

Re: [Nant-users] Problems with vssget

2004-09-20 Thread murty dronamraju
Gert: I am using the latest versions of the nightly and the contrib ( Sept 19) and still having the same problem with vssget. BTW does the nant-contrib need to be built using nAnt or is dumping the contents of the bin folder of nantcontrib into the nAnt bin sufficient? Thanks in advance

Re: [Nant-users] RE: containing " in value ([EMAIL PROTECTED])

2004-09-20 Thread Gert Driesen
- Original Message - From: "Skip Sailors" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 20, 2004 5:26 PM Subject: [Nant-users] RE: containing " in value ([EMAIL PROTECTED]) > >... >Today's Topics: > >1. containing " in value ([EMAIL PROTECTED]) >... >Message: 1

Re: [Nant-users] NAnt finds wrong .NET Framework version

2004-09-20 Thread Gert Driesen
Mateusz, This is a know issue in NAnt 0.84. NAnt 0.84 by default target .NET 1.0, and its fooled to believe that the .NET Framework 1.0 is installed, because of the fact that the .NET Framework 1.1 installer also creates a "C:\WINNT\Microsoft.NET\Framework\v1.0.3705" directory. In NAnt 0.85, we

[Nant-users] RE: containing " in value ([EMAIL PROTECTED])

2004-09-20 Thread Skip Sailors
> >... >Today's Topics: > >1. containing " in value ([EMAIL PROTECTED]) >... >Message: 1 >To: [EMAIL PROTECTED] >From: [EMAIL PROTECTED] >Date: Fri, 17 Sep 2004 18:41:39 -0400 >Subject: [Nant-users] containing "

[Nant-users] NAnt finds wrong .NET Framework version

2004-09-20 Thread Mateusz Łoskot
Hello, I'm trying to use NAnt predefined properties but it seems that they does not work correctly. I have only .NET Framework 1.1 installed under the following default path: c:\WINNT\Microsoft.NET\Framework\v1.1.4322 I use a kind of test target like this: When I call NAnt with test target I