LLCard: Bob's recommendation to get the Nant book is excellent advice.
Some thoughts on a few issues that you mention: I have created at Gomez an extensive build and configuration management system using CruiseControl.NET and Nant. This system makes widespread use of reusable Nant files and tasks. In addition, there are Nant include files which contain local, global and machine specific property settings so that the system can be deployed on other host machines with a clear and unambiguous means to set the environment for that host. We now have Nant targets for build, clean, rebuild, etc., and as well for all manner of version tagging, automated deployment, Subversion updating, version differencing, etc., etc. After over a year of development, I found that putting all of my 'master' Nant scripts in a single directory OUTSIDE of my normal source working directory works very well. Then, within the source working directory, I place a single Nant .build script in each directory within the hierarchy. These scripts are derived from one of several 'template' scripts that I've created for different node / project types: .NET web/webservice application .NET windows service .NET windows console .NET windows forms application C++ application trunk directory parent directory The systems is designed so that I can go to any point in the directory hierarchy and execute a Nant task. If appropriate, the Nant script will recurse into the various sub-directories and apply the task to each subsequent build script. As such, my master build script becomes the build script in the top-most directory of my source working directory. I've tried many ways of managing large build systems and, so far, this is most effective. Hope this helps and gives you a place to start. Ken Parrish Gomez, Inc. -----Original Message----- From: LLCard [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2008 4:38 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Beginner Questions Hi Folks, I am just beginning to start using NAnt and CruiseControl.Net that I have set up on my home machine with an SVN repository using Apache. I have a couple easy builds already working and can see them in CCTray. I have added 2 projects to the ccnet.config file that point to 2 different build files in a build root folder. My thoughts were to keep all build files at this build root level. This is kool stuff. What I am hoping to do is find some examples of how others have made their build scripts resuable. I cant seem to find examples out there so I am hoping there are some folks on here that would be willing to share their ccnet.config files and build files so I can look and use as examples or point me to a place where I can find this kind of information. Thanks -- View this message in context: http://www.nabble.com/Beginner-Questions-tp20882623p20882623.html Sent from the NAnt - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users