Notes about NAnt: Difference between revisions
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
* create file c:\windows\nant.bat with content: | * create file c:\windows\nant.bat with content: | ||
@echo off | @echo off | ||
"C:\Program Files\NAnt\bin\NAnt.exe" %* | "C:\Program Files\NAnt\bin\NAnt.exe" %* -t:net-2.0 | ||
== usage == | == usage == |
Revision as of 11:59, 27 August 2009
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" %* -t:net-2.0
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