Re: [NAnt-users] solution task: targets v.s. configuration

2006-09-06 Thread Nicholas Duane
pplication Nick >From: "Bob Archer" <[EMAIL PROTECTED]> >To: "Nicholas Duane" <[EMAIL PROTECTED]>, >Subject: RE: [NAnt-users] solution task: targets v.s. configuration >Date: Wed, 6 Sep 2006 11:09:49 -0400 > >You can do it eithe

Re: [NAnt-users] solution task: targets v.s. configuration

2006-09-06 Thread Arnette, Bill
I requested the feature because the task is the logical place to do a clean operation since the solution already knows all the intermediate and output files that are generated during a build. Otherwise you have hand-code a 'clean' target in nant using tasks that get all the intermediate and outpu

Re: [NAnt-users] solution task: targets v.s. configuration

2006-09-06 Thread Bob Archer
You can do it either way you want. Basically, in our build we have the basic targets: Clean Version Label Get Compile UpdateDb Deploy The compile task can do either release or debug based on the parameter. However, there was no reason why you can't have two Compile targets etc as you listed bel

Re: [NAnt-users] solution task: targets v.s. configuration

2006-09-06 Thread Karl Palsson
I personally much prefer to have a property in the build file saying whether I'm in debug or release mode. Then I have just three targets in my nant build file, and it's easier to read. Then, in cc.net or wherever, I just call it once in debug mode and once in release mode, I find that a lot mo