RE: [Nant-users] task

2004-11-30 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Giuseppe Greco > Sent: woensdag 1 december 2004 8:09 > To: Gert Driesen > Cc: [EMAIL PROTECTED] > Subject: [Nant-users] task > > Hi Gert, > > I've looked at this deeply and stated the problem w

[Nant-users] task

2004-11-30 Thread Giuseppe Greco
Hi Gert, I've looked at this deeply and stated the problem was due to my huge ignorance! Look at this build file: Do you see something wrong? YES! The parameter passed to the file::exists() function in the tasks is absolutely WRO

RE: [Nant-users] Re: FileSet Behavior

2004-11-30 Thread Gert Driesen
Matthew, Your last "Optimize regexes" changes seem to have introduced a regression here (that was not yet covered by a test case). It is working fine with revision 1.46 of DirectoryScanner. After your changes, the following pattern "**/obj/**" would match all files and subdirectories in /obj, but

RE: [Nant-users] Best practices for portable NAnt Environments... [1 more try]

2004-11-30 Thread Gert Driesen
Aaron,   You'll need to install the runtime for all frameworks that you want to target. I don't think that copying a runtime installation folder from another machine will work (and is definitely not supported by MS).   For the SDK, it might work (but it will not be supported by MS either). Y

[Nant-users] Best practices for portable NAnt Environments... [1 more try]

2004-11-30 Thread Aaron Elder
Sending again since there was no response.  Thanks!       Here is what I would like,   I would like to be able to check into my source control system NAnt as well as a copy of the .NET compiler (v1.1 & v1.0).  When developers sync to the project, they will always be syncing to a s

Re: [Nant-users] if then else question

2004-11-30 Thread Troy Laurin
Chris Hetlinger wrote: I need to perform a task such as compiling a VS.net solution and then do different tasks depending on whether the original task succeeded or not. I do not just want to quit if the task fails. How can I implement this if-then-else construct in a NAnt build? Chris Hetling

Re: [Nant-users] Service Status

2004-11-30 Thread Brad Wilson
I don't really have any problems like this, so I have to wonder what kind of work is being done after your OnStop() is being called. A locked PDB will almost always be Visual Studio (I've never seen a single app leak more file handles that VS.NET) or the debugger. On Tue, 30 Nov 2004 15:12:34 -06

Re: [Nant-users] Service Status

2004-11-30 Thread Brad Wilson
Yeah, that'll work. I'm just so used to having to provide feedback and do instant cancels that I forget that it exists... :-p - Brad On Tue, 30 Nov 2004 21:58:18 +0100, Gert Driesen <[EMAIL PROTECTED]> wrote: > Brad, the ServiceController task actually uses : > > serviceController.WaitForStatus

Re: [Nant-users] Re: FileSet Behavior

2004-11-30 Thread Matthew Mastracci
Strange - the **\bin\** pattern should be removing all bin directories (since those match the pattern as well). I think we'll need to get some good unit tests for this stuff to be sure that we've fixed it for the 0.85 release.. Castro, Edwin Gabriel (Firing Systems Engr.) wrote: I did a few te

RE: [Nant-users] Re: FileSet Behavior

2004-11-30 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I did a few tests and it appears that the following is finding only bin and obj folders. Unfortunately, NAnt doesn't delete the folders. I suspect that this is because the folders are not empty. The help suggests that I can specify a folder to be deleted with all of its sub-fold

[Nant-users] Segfault during compilation with mono on Linux

2004-11-30 Thread J. Christopher Six
I have mono 1.0.4 installed under Gentoo and receive an error when performing "make" on the nant 0.85-rc1 sources: [nant] /home/bitflux/Applications/nant-0.85-rc1/src/NAnt.Compression/NAnt.Compression.build build make: *** [build-nant] Segmentation fault NAnt.Compression.build contains a wo

RE: [Nant-users] Service Status

2004-11-30 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Brad Wilson > Sent: dinsdag 30 november 2004 21:54 > To: NAnt Users > Subject: Re: [Nant-users] Service Status > > Are you waiting for the service to actually stop? When you call > ServiceControl

Re: [Nant-users] Service Status

2004-11-30 Thread Brad Wilson
Are you waiting for the service to actually stop? When you call ServiceController.Stop(), it's really just issuing the stop command. You'll need to loop, calling .Refresh() and then checking .Status. -Brad On Tue, 30 Nov 2004 13:36:47 -0500, Hamza Zeen-Aldin <[EMAIL PROTECTED]> wrote: > I am usin

RE: [Nant-users] VS.NET and NAnt version issue

2004-11-30 Thread Craig Wagner
I'm not sure I understand why you can't keep them in a solution. Maybe I'm just tired today, but I don't see a circular reference problem with the project dependencies that you have described. You might want to just lock down your version numbers so developers have to change them rather than chang

Re: [Nant-users] if then else question

2004-11-30 Thread Merrill Cornish
Chis, NAnt currently doesn't have an IF-THEN-ELSE construct. Instead, you have to say IF x THEN ... followed by IF not x THEN If you IF test is complex, you might try defining a property named something like "is_x" then have an IF testing for is_x followed by one testing for not is_x. M

[Nant-users] Service Status

2004-11-30 Thread Hamza Zeen-Aldin
I am using the servicecontroller to stop and start services on multiple servers. The problem is that when I stop a service and try to update the files it takes a while for the service to release the handle on those files. I used the sleep task but it does not work all the time even if I set the per

[Nant-users] VS.NET and NAnt version issue

2004-11-30 Thread Pradeep Rapole
Hi, Herez the scenario I have. Suppose I have projects A, B and C. Project B uses the out put from Project A and Project C uses the output from project B. So I can't keep them in a solution in VS.NET. I am using NAnt for building. Everything seems to be going good except the version problem.

[Nant-users] Nant on OSX

2004-11-30 Thread Nik Derewianka
Hi, I would really appreciate a little help on figuring out why i cant get Nant 0.85 rc1 working on mono 1.0.4 on OSX 10.3.6. The install of mono went fine, and i can compile helloworld samples and run them with mono no problems. The mono installer also installed pkgconfig-0.15.0, using locate

[Nant-users] if then else question

2004-11-30 Thread Chris Hetlinger
Title: if then else question I need to perform a task such as compiling a VS.net solution and then do different tasks depending on whether the original task succeeded or not.  I do not just want to quit if the task fails.  How can I implement this if-then-else construct in a NAnt build? Chris

RE: [Nant-users] NAntContrib 0.85 Release Candidate 1 available

2004-11-30 Thread Felice Vittoria
I was reading through the vssadd help and NantContrib 0.85 RC1 release notes. The release notes mention that recursive add is supported by the vssadd task. However, if you look at the latest vssadd docs, it mentions that "This version does not support recursive adds". The example shows that

[Nant-users] [OT] Question about Log4net that ships with NAnt

2004-11-30 Thread Loren Halvorson
I see that Log4net is "incubating" over at Apache, and that there aren't any new releases of 1.2 since Beta 8 last summer. BUT I see that NAnt ships with a newer version. What's going on with Log4net? Is it still under active development? Is the version that ships with NAnt the version we should be

Re: [Nant-users] task & nunit categories

2004-11-30 Thread Gert Driesen
Hi Michael, This is not yet possible, but its definitely something that we should add ... Unless you have time to work on this ;-) Gert - Original Message - From: "Nau, Michael" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 30, 2004 4:43 PM Subject: [Nant-users] t

Re: [Nant-users] execution

2004-11-30 Thread Gert Driesen
> - Original Message - > From: "Felice Vittoria" <[EMAIL PROTECTED]> > To: "Castro, Edwin Gabriel (Firing Systems Engr.)" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Tuesday, November 30, 2004 4:42 PM > Subject: RE: [Nant-users] execution > > From my experience I noticed that the f

[Nant-users] task & nunit categories

2004-11-30 Thread Nau, Michael
Title: task & nunit categories Is there way to specify nunit categories to using the nant task? Mike.

RE: [Nant-users] execution

2004-11-30 Thread Felice Vittoria
>From my experience I noticed that the fileset is "executed" at the point of >declaration. I also noticed the following: 1. If you do not include a basedir value when creating the fileset id, then it will assume the current working directory. 2. You can't do something like: For

Re: [Nant-users] Problem with solution task

2004-11-30 Thread Obtenebration
Hi, I have discovered more or less what seems to be the problem. The problem is related to the task called by the task. The problem is that I have the files like this: engine - game --- version.h --- version.cpp -- platform --- platform.h In the

RE: [Nant-users] copy task

2004-11-30 Thread Gert Driesen
Hi Felice,   The behavior is by design. But I agree that this should be documented in the task help.   Can you submit a bug report for this, so we don't forget ?   Thanks,   Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felice VittoriaSent: maandag 29 nove

RE: [Nant-users] Re: FileSet Behavior

2004-11-30 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Matthew Mastracci > Sent: dinsdag 30 november 2004 6:34 > To: Castro, Edwin Gabriel (Firing Systems Engr.); > [EMAIL PROTECTED] > Subject: [Nant-users] Re: FileSet Behavior > > Try the latest ni