1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
|
NAnt
What is it?
-----------
NAnt is a .NET based build tool. In theory it is kind of like make without
make's wrinkles. In practice it's a lot like Ant.
If you are not familiar with Jakarta Ant you can get more information at the
Ant project web site (http://ant.apache.org/).
Why NAnt?
---------
Because Ant was too Java specific.
Because Ant needed the Java runtime. NAnt only needs the .NET
or Mono runtime.
The Latest Version
------------------
Details of the latest version can be found on the NAnt project web site
http://nant.sourceforge.net/
Compilation and Installation
-------------------------------
a. Build Requirements
--------------------
To build NAnt, you will need the following components:
on Windows
* A version of the Microsoft .NET Framework
Available from http://msdn.microsoft.com/netframework/
you will need the .NET Framework SDK as well as the runtime components
if you intend to compile programs.
note that NAnt currently supports versions 1.0, 1.1 and 2.0 (Beta 1)
of the Microsoft .NET Framework.
or
* Mono for Windows (version 1.0 or higher)
Available from http://www.mono-project.com/downloads/
Linux/Unix
* GNU toolchain - including GNU make
* pkg-config
Available from: http://www.freedesktop.org/Software/pkgconfig
* A working Mono installation and development libraries (version 1.0 or higher)
Available from: http://www.mono-project.com/downloads/
b. Building the Software
------------------------
Build NAnt using Microsoft .NET
GNU Make
--------
make install MONO= MCS=csc prefix=<installation path>
eg. make install MONO= MCS=csc prefix="c:\Program Files"
NMake
-----
nmake -f Makefile.nmake install prefix=<installation path>
eg. nmake -f Makefile.nmake install prefix="c:\Program Files"
Building NAnt using Mono
GNU Make
--------
make install prefix=<installation path>
eg. make install prefix="c:\Program Files"
NMake
-----
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/
Note:
These instructions only apply to the source distribution of NAntContrib, as the binary distribution
contains pre-built assemblies.
Documentation
-------------
Documentation is available in HTML format, in the doc/ directory.
License
-------
Copyright (C) 2001-2005 Gerry Shaw
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
As a special exception, the copyright holders of this software give you
permission to link the assemblies with independent modules to produce new
assemblies, regardless of the license terms of these independent modules,
and to copy and distribute the resulting assemblies under terms of your
choice, provided that you also meet, for each linked independent module,
the terms and conditions of the license of that module. An independent
module is a module which is not derived from or based on these assemblies.
If you modify this software, you may extend this exception to your version
of the software, but you are not obligated to do so. If you do not wish to
do so, delete this exception statement from your version.
A copy of the GNU General Public License is available in the COPYING.txt file
included with all NAnt distributions.
For more licensing information refer to the GNU General Public License on the
GNU Project web site.
http://www.gnu.org/copyleft/gpl.html
|