Re: Nant VS CC.NEt

"Parrish, Ken" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <849AF0579727014691B0FD20C13CCB020BA7C01B@ENTDC1MS03.corp.gomez.com>
Chris,

Similar to what other have said here, we use both Nant and CC.NET together.

Generally, I let Nant to the 'heavy lifting' of configuration management.  It is much more powerful and expressive that the CC.NET configuration language.  Our practice is to create Nant tasks that do all of the configuration management operations:  build, tag, version, deploy, clean up, SS integration, etc.  These tasks can then be executed manually and tested outside of what CC.Net is doing.

Our CC.NET configuration script is kept as small as possible, only focusing on the tasks specific to continuous integration.  The CC.NET script then calls Nant with the appropriate task and parameters if needed, in the appropriate working directory.

Using this approach also avoids constantly having to edit the CC.Net configuration script which can be a bit difficult to debug as it involves various timers and potentially multi-tasking.

Hope this helps.

Ken Parrish
Gomez, Inc.

From: Chris Howell [mailto:[email protected]]
Sent: Thursday, February 04, 2010 5:10 PM
To: Stephan King
Cc: [email protected]
Subject: Re: [NAnt-users] Nant VS CC.NEt

Ok perhaps I should have phrased my question a little better, I am looking for CI and daily builds.  I've used CC.Net before exclusively without NANT. My question was more why would I choose to use the functionality exposed in NANT, such a executing tasks, copying files etc.... When CC.NET also has utilities for doing the same thing ? There seems to be quite a bit of over lap between the tasks that CC.Net can don and the tasks that NANT can do. Therefore what is the benefit ? Of combining the two ?

From: Stephan King [mailto:[email protected]]
Sent: Thursday, February 04, 2010 4:56 PM
To: Chris Howell
Subject: RE: [NAnt-users] Nant VS CC.NEt

You don't choose one over the other, they go hand in hand.  CC.NET will handle all of your source control operations, scheduling, emailing, publishing, etc, and CC.NET will call into your NANT scripts to do things like run MSBuild, copy files, etc.

Stephan

From: Chris Howell [mailto:[email protected]]
Sent: Thursday, February 04, 2010 4:33 PM
To: [email protected]
Subject: [NAnt-users] Nant VS CC.NEt

Hi All,

I am looking to introduce a Continuous Integration/build environment to my dev team which currently has none. What would be the primary advantage(s) to choosing a NANT too over CC.NET ?

Chris

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.