Notes about NAnt
Jump to navigation
Jump to search
website
- http://nant.sourceforge.net/
- documentation, eg list of all tasks: http://nant.sourceforge.net/release/latest/help/tasks/index.html
installation
- download NAnt nant-0.86-nightly-2009-05-05
- the beta version does not work for me (0.86-beta1); message: Property 'sdkInstallRoot' has not been set.
- unzip the files to eg. c:\program files\nant
- create file c:\windows\nant.bat with content:
@echo off "C:\Program Files\NAnt\bin\NAnt.exe" %*
usage
- add custom scripts in c#: http://nant.sourceforge.net/release/latest/help/tasks/script.html; also see [1]
- see also ReplaceInFile in OpenPetra.build