RE: [Nant-users] depreciated...

2005-06-02 Thread McKenna, Simon (RGH)
John quoth: -> I noticed that has been depreciated. This should be reflected -> in the documentation and an example of how the statement be used -> instead of the . Thanks for the heads-up John. Initially I thought deprecating didn't seem right (weird looking test conditions)...but then I fo

Re: [Nant-users] Load tasks acting weird

2005-06-02 Thread Malcolm Anderson
That's perfect, I'll need to set up the environment variables. is there a way to set up environment variables programatically? I'm working with a bunch of people who are not used to using NAnt, and I'd like to be able to just hit them with an install script that will set their path and environmen

[Nant-users] Remove "release" folder from the path while copying files

2005-06-02 Thread Sandeep
Hi,   I need to copy a compiled solution (containing multiple projects) to a different location. All the files/projects in the solution exist under a root directory. While copying, I need to copy everything as it is (directory structure of source directory) except that I want to get rid o

RE: [Nant-users] Why use Nant?

2005-06-02 Thread Bevan Arps
Hi Todd. > I have been using Nant for quite awhile now and am extremely happy with it. > I would not use anything else but my organization is questioning why we > hould be using Nant and not just use Visual Studio to do our builds. I am > having a hard time replying back to management in terms th

Re: [Nant-users] Why use Nant?

2005-06-02 Thread Thibaut Barrère
> Amen. Which means the server is carefully monitored for things which > appear magically, it's backed up, and there's an as-built document so it > can be recreated/verified should the need arise. > > Too anal? Not if you want reproducibility regardless of the catastrophic > event (like installing

[Nant-users] RE: Why use Nant?

2005-06-02 Thread Whitner, Tom
For me, there is a very simple answer to this questions. The process of building a software package involves many tasks. Only one of these tasks is the actual compilation of the source into binaries. Hence, only one of these tasks can be done by Visual Studio (that's a slight over-simplification

[Nant-users] depreciated...

2005-06-02 Thread John Cole
I noticed that has been depreciated. This should be reflected in the documentation and an example of how the statement be used instead of the . Thanks, John Cole - This email and any files transmitted with it are confidential and intended solely for the us

RE: [Nant-users] Why use Nant?

2005-06-02 Thread Eric Deslauriers
> the build server is supposed to only have the "approved" > tools/utilities in the acceptable versions. This way you can be sure > that you don't have an inadvertent dependency on some weird, unsupported > library. If it builds on the server, then you know it doesn't require > anything not on th

RE: [Nant-users] Support for NUnit categories

2005-06-02 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Gary Feldman > Sent: donderdag 2 juni 2005 19:43 > To: nant-users@lists.sourceforge.net > Subject: Re: [Nant-users] Support for NUnit categories > > Gert Driesen wrote: > > >- Is it enough to be

Re: [Nant-users] Support for NUnit categories

2005-06-02 Thread Gary Feldman
Gert Driesen wrote: - Is it enough to be able to define the complete set of categories globally (meaning both the includes and excludes together), or do you want to be able to define the includes and excludes seperately ? I think the whole approach is overengineered. It's one thing to use t

Re: [Nant-users] Forcing a target to fail from

2005-06-02 Thread Gary Feldman
Foster, Richard - PAL wrote: Gary, Presumably with option 4 you could also do something like this I.e. there would be a config.[whatever] file. (NOTE: I forced the file name to lower case instead of upper just because I think config.dev looks better as a filena

RE: [Nant-users] Why use Nant?

2005-06-02 Thread Selke, Anthony
BILL: > Your build environment should mirror the deployment environment GARY: > the build environment needs to mirror the development team's environment I think we have a situation where we are all in heated agreement, but using a different set of definitions/assumptions/etc. In my opinion, the

Re: [Nant-users] Why use Nant?

2005-06-02 Thread Gary Feldman
Bill Martin wrote: 2) Your build environment should mirror the deployment environment as closely as possible in terms of avaialble files etc. As in most cases VS will not be installed on the target environment, then it should also not be installed on the build machine. The build machine should

RE: [Nant-users] Load tasks acting weird

2005-06-02 Thread Gert Driesen
Malcolm, I had a quick look, and there's really nothing weird going on. The problem is that the error message is not clear. It mentions that a directory could not be scanned, while in fact it should specify the assembly that could not be scanned. I fixed this in CVS. The reason why you get this

[Nant-users] Support for NUnit categories

2005-06-02 Thread Gert Driesen
Hi, A while ago, support for including or excluding certain categories of (N)unit tests was introduced in NAnt. Now it seems that the implementation was not very good, and I'd like to correct this. To specify a set of categories to include/exclude, you have two options: - either you specify the

Re: [Nant-users] Forcing a target to fail from

2005-06-02 Thread Ashley Moran
Choose whichever one you think most appropriate. Personally, I'm fond of 3 for most cases. Just try to design it with the goal of being maintained by some junior build engineer who may not know much more than JavaScript. I've only caught the tail end of this thread so I haven't missed the p

RE: [Nant-users] deployment manifest

2005-06-02 Thread Jeremy P. Owens-Boggs
Title: Message At one place, we actually created a small C# applicaiton that walked the release directory tree and recorded the version, size, and a checksum of each file (executable and data files) in an xml file that was then copied to the final build directory     Jeremy Owens-Boggs [EMA

RE: [Nant-users] Forcing a target to fail from

2005-06-02 Thread Foster, Richard - PAL
Gary, Presumably with option 4 you could also do something like this I.e. there would be a config.[whatever] file. (NOTE: I forced the file name to lower case instead of upper just because I think config.dev looks better as a filename than config.DEV!) Regar

Re: [Nant-users] Forcing a target to fail from

2005-06-02 Thread Gary Feldman
Wilson, Glenn wrote: Hi Gary, This is indeed the entire script. I wasn't sure how to perform this same functionality using pure Nant, so I would be grateful for any pointers. I took what I believed to be the easiest option from a coding perspective (I am a .NET developer first and foremost).

RE: [Nant-users] Stopping A Build

2005-06-02 Thread Scott, Larry (TRIAD RESOURCES)
Title: Stopping A Build For the NUNIT2 task, although I had the 'failonerror' attribute set to 'true' on the NUNIT2 task, I had that task running inside a 'foreach' loop which had a 'failonerror' attribute set to 'false'.  When I changed the attribute on the 'foreach' tag to 'failonerror=true

RE: [Nant-users] Why use Nant?

2005-06-02 Thread Shelly Midha
In addition to all this, database builds can also be automated. For this one has to write a nant target that executes the sql script files instead of executing the scripts manually one by one. Shelly -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EM

RE: [Nant-users] Why use Nant?

2005-06-02 Thread Mark . Gibson
In my view, some reasons are: 1. It brings together the control of flow and extra build/packaging steps into one technology, rather than having to write dos batch scripts (shiver) to hook together many different tools. 2. By addmission of an MS consultant, Microsoft have never, and never will u

Re: [Nant-users] NUNIT2 Task Not Stopping After Failure

2005-06-02 Thread Rutger Dijkstra
the failonerror="false" on the loop may have something to do with it. rutger - Original Message - From: "Scott, Larry (TRIAD RESOURCES)" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 31, 2005 21:52 Subject: [Nant-users] NUNIT2 Task Not Stopping After Failure It appears that failures on NU

RE: [Nant-users] Why use Nant?

2005-06-02 Thread Marc Holmes
Hi Todd, I second Thibaut's views on the 'why' of NAnt. The point about craftsman -> industrial is an important one. If you consider software activities to be part of a Innovate -> Iterate -> Standardise -> Commoditise chain then any kind of work that you handle manually will at best achieve

Re: [Nant-users] Changing configuration files with nant

2005-06-02 Thread Ian MacLean
Susantha Kumara wrote: Hi Ian, Thank a lot for the prompt reply. How can I change the settings in my app.exe.config ?. At the moment I have an app.exe.config which is copied as is to the deployment folder by the nant script. And I will have to change this file in the deployment folder manuall

RE: [Nant-users] Changing configuration files with nant

2005-06-02 Thread Susantha Kumara
Hi Ian, Thank a lot for the prompt reply. How can I change the settings in my app.exe.config ?. At the moment I have an app.exe.config which is copied as is to the deployment folder by the nant script. And I will have to change this file in the deployment folder manually before running the appli

Re: [Nant-users] Why use Nant?

2005-06-02 Thread Thibaut Barrère
Hi Todd, just a few bits to reply to you, hoping this will help. a metaphor which I found useful in situations like yours is that nant is a precious tool when ones want to switch from craftsman way of work to industrial way of work. to me using only visual studio for builds makes it very difficu

RE: [Nant-users] Forcing a target to fail from

2005-06-02 Thread Wilson, Glenn
Hi Gary, This is indeed the entire script. I wasn't sure how to perform this same functionality using pure Nant, so I would be grateful for any pointers. I took what I believed to be the easiest option from a coding perspective (I am a .NET developer first and foremost). Regards Glenn Glenn W

Re: [Nant-users] Changing configuration files with nant

2005-06-02 Thread Ian MacLean
Susantha Kumara wrote: Hi all, I use nant to build a C# .Net application which is dependent on an external set of .Net assemblies. Each new release of these set of external assemblies has slightly different assembly names ( Ex : mylib-0.8.335.dll --> mylib-0.8.347.dll ). So at the moment

Vedr.: [Nant-users] FilterChain not working

2005-06-02 Thread Torben Rohde
Hi Rahul, I have experienced a similar issue - which turned out to be because I was using an older NAnt version, filterchain is a relatively new feature - I think it came with 0.85. NAnt will not crash in earlier versions, it just ignores the extra tags. Torben Rohde Subsero A/S Denmark rah

RE: [Nant-users] Why use Nant?

2005-06-02 Thread Bill Martin
I have had similar discusions in the past. There are lots of reasons for using NAnt, but in my view, two of the key ones are: 1) Building with VS is unreliable as it used hint paths in the proj files to resolve references. If it can't find an assembly where it thinks it should be, then rather th

[Nant-users] FilterChain not working

2005-06-02 Thread rahul rane
Hi, I am trying to copy a file to antoher file. But while copying i use a filter chain to change some of the tokens with a value while copying. The copy is working fine but the filterchain does not work. The code i am using is as follows:

[Nant-users] Changing configuration files with nant

2005-06-02 Thread Susantha Kumara
Hi all,   I use nant to build a C# .Net application which is dependent on an external set of .Net assemblies. Each new release of these set of external assemblies has slightly different assembly names ( Ex : mylib-0.8.335.dll à mylib-0.8.347.dll ).   So at the moment I have to change t

RE: [Nant-users] Load tasks acting weird - part 2

2005-06-02 Thread Bill Martin
Just a thought, but have you tried / instead of \ ? I always use / as it is unambiguous, whereas \ can be treated as an escape character and on occasions, cause problems. Cheers, Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Malcolm Anderson Sent: