Quote:
Originally Posted by aa_dev
I have a project for which i have to do a build.
|
What is the "build" you have to do? Are you compiling code? Copying files? You mention
js files, but what do you need to do with them? Unless these are
js files that are being compiled for some technology with which I'm familiar, which is very possible, I can't imagine what you'd need to do with them aside from copy or zip them into some alternate structure.
Quote:
Originally Posted by aa_dev
I'm using cruise control as the build tool. But i'm not sure of integrating both nant script and cruise control.
|
Cruise Control has pretty decent documentation that explains how to call its various tasks, including NAnt build scripts.
Quote:
Originally Posted by aa_dev
The NAnt script is in XML and the flow for doing the build is not clear to me.
|
The flow of the build will be particular to your project and needs. You need to decide what steps you have to perform and fashion the appropriate NAnt tasks to perform those steps.
Quote:
Originally Posted by aa_dev
finally the NAnt script should be linked with cruise control.net to do the build. Can anyone please help me atleast with a sample script?
|
Again, CruiseControl has samples of configuring an integration project with calls to NAnt. Details can be found here:
http://ccnet.sourceforge.net/CCNET/NAnt%20Task.html