Re: Nant VS CC.NEt

Bob Archer <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
JP Boodhoo has a great series of blog posts on this topic... with step by step on setting up your build script with nant and then enabling continuous integration with CC.net... It starts here:

http://blog.jpboodhoo.com/AutomatingYourBuildsWithNAntPart1.aspx

BOb


From: Phil Sayers [mailto:[email protected]]
Sent: Thursday, February 04, 2010 5:19 PM
To: [email protected]
Subject: Re: [NAnt-users] Nant VS CC.NEt

Think of ccnet as the trigger that fires your nant scripts.

Ccnet will continuously watch "something".  That something could be the current time, one or more source control repositories, the filesystem, or you can write your own code to monitor whatever you want.

When "something" changes (a commit, new file, changed file, time of day), ccnet will execute "actions" that you specify.

Those actions are typically nant scripts, the same scripts you would use locally to build your product.  You could use batch files, .vbs files, powershell scripts I guess if you wanted too.

This allows you to have unattended server builds of your code.

However if you hack away at the ccnet engine hard enough, you could probably make it do robo dialing for a politician based on when a list of phone numbers change.


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

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

_______________________________________________
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.