Brian,

The answer to your question is "it depends":

As NAnt is evolving pretty fast, it might be reasonable to put the NAnt
binaries in your project directory structure. Some OSS projects
(SharpDevelop, I think) do it. This ensures build consistency.

I usually have the following project structure:

/src/ - sources are located here
/bin/ - binaries go here
/tools/ - build tools go here
/tools/nant/bin/ - NAnt binaries go here
/tools/nant/doc/ - NAnt documentation goes here
./project.build - this is the master build file with global targets
nant.bat - this batch file invokes "tools\nant\bin\nant.exe" on
"project.build"

This way my project team members always have the correct nant setting. Some
of them add "/tools/nant/bin" to their PATH variable which enables them to
do "nant -find" when inside "src/" directory.

Whenever there's a new nant release, I go and test it on our build scripts.
If it works and we need some of it's features I commit it to SVN repository.
This way all team members have a consistent build environment.

Jarek
----- Original Message ----- 
From: "Giuseppe Greco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 30, 2004 6:07 AM
Subject: Re: [Nant-users] Straight Answer Request For Newbie


> Here's is an example:
>
> 1. Unzip the downloaded archive in a directory of your
>    choice
> 2. From the project's top directory, run 'bin\NAnt.exe'
> 3. Copy the 'build\net-1.1.win32\nant-0.84-debug\bin' directory
>    into 'C:\Program Files\NAnt\'
> 4. Add 'C:\Program Files\NAnt\bin' to your PATH
>
> That is it. A very simple tutorial is available at
> http://developer.agamura.com/technotes.html
>
> j3d.
>
> > I've downloaded the latest release (0.84) as a zipped file.  Now what?
> > What the heck do I do with it?  Do I need to extract it to the
> > C:\Program Files directory?  Do I need to put Nant.exe in every
> > project's directory structure in order to run Nant?  I can't seem to
> > find any straight answers out there.  There is plenty of conversation on
> > how to build .build files but nothing on where I should put the darned
> > files.  Thanks for you helpful comments.
> >
> >
> >
> > Brian M. Beaudet
> >
> > Director, Research & Development
> >
> > EfficiencyLab, LLC
> >
> > www.efficiencylab.com
> >
> >
> >
> >
>
>
> ----------------------------------------
> Giuseppe Greco
>
> ::agamura::
>
> phone:  +41 (0)91 604 67 65
> mobile: +41 (0)76 390 60 32
> email:  [EMAIL PROTECTED]
> web:    www.agamura.com
> ----------------------------------------
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to