NAnt ![]() ![]() ![]() |
v0.85-rc2 |
[This is preliminary documentation and subject to change.]
NAnt is available in either a source or binary distribution. The binary distribution is all you need to use NAnt to build your projects, including creating your own custom tasks, types and functions.
If you are upgrading NAnt from a previous version, you must never install over the top of your previous installation. Delete or rename the existing installation directory before installing the new version of NAnt.
nant-bin.zip
or
nant-bin.tar.gz
will work, the contents of each archive are the
same.PATH
environment
variable.
NANT_HOME
that contains the folder you installed NAnt to.%NANT_HOME%\bin
to your PATH
variable.nant -help
. If
successful, you should see a usage message displaying available command line
options.nant-src.zip
or
nant-src.tar.gz
will work, the contents of each archive are the
same.make install MONO= MCS=csc prefix=installation-path
eg. make install MONO= MCS=csc prefix="C:\Program Files"
nmake -f Makefile.nmake install prefix=installation-path
eg. nmake -f Makefile.nmake install prefix="C:\Program Files"
make install prefix=installation-path
eg. make install prefix="C:\Program Files"
nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix=installation-path
eg. nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix=/usr/local/
This will first build a bootstrap version of NAnt, and then
use that to build and install the full version to
installation-path/NAnt
.