Summary
Without even delving into the tasks of NAnt to any great degree, we can see already that there is significant power and flexibility afforded to the erstwhile developer through the configuration and organization possibilities of the build scripts for NAnt.
We can run NAnt scripts with our desired command-line options. We have looked at the core features of a build script and feel confident in meddling with these and applying their various attributes. Additionally, we have looked at two specific tasks that provide significant additional flexibility in script structure. We understand how dependencies between targets work, and how inheritance between build scripts works.
On a practical level, we have considered how we might structure our own build script for our solutions. We have considered the core activities that need to occur as part of our build process and we at least have a “v1” skeleton of the build and deploy files.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Further Reading
For a general discussion of open source tools, I would certainly refer to Brian Nantz’s Open Source.NET Development: Programming with NAnt, NUnit, NDoc, and More (Addison-Wesley, 2004) in order to better inform my opinion.
Once again, for a good discussion on choices for build tools, refer to Coder to Developer: Tools and Strategies for Delivering Your Software, by Mike Gunderloy (Sybex, 2004). There is a good discussion of log4net, the logging tool used by NAnt, as well.
Rights and permissions
Copyright information
© 2005 Marc Holmes
About this chapter
Cite this chapter
Holmes, M. (2005). Dissecting NAnt. In: Expert .NET Delivery Using NAnt and CruiseControl.NET. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0023-9_2
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0023-9_2
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-485-8
Online ISBN: 978-1-4302-0023-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)