Malcolm or anyone else having questions about building,

I hope this helps.  I do the following:

1) Install the NAnt zip into directory ( C:\Projects\NAnt-0.85-20040722 )
2) Install the NAntContrib zip into directory (
C:\Projects\NAntContrib-0.85-20040723 )
3) Build the NAnt by going to its directory and running  ( bin\nant )
4) Build the NAntContrib by going to its directory and running a batch file
( Build.bat)
5) Open NAnt.Sln in Visual Studio
6) In Solution Explorer, right click on the solution node and select "Add"
and "Existing Project" from the menu
7) Select nantcontrib.csproj from the NAntContrib-0.85-20040723\Src
directory
8) Open the Properties dialog for the NAnt.Console project
9) Select Configuration Properties \ Debugging
10) Change Debug mode to Program and press Apply
11) Change the Start Application to
C:\Projects\NAnt-0.85-20040722\build\net-1.1.win32\nant-0.85-debug\bin\NAnt.
exe
12) Set the Working Directory and any Command Line Arguments needed
13) Set your breakpoints and press F5 to debug
14) Press Yes to Continue when informed that there are build errors (you're
not building within VS, only debugging)

I can now use Visual Studio to debug both NAnt and NAntContrib



Build.bat contains the following lines

..\NAnt-0.85-20040722\bin\nant
/f:nantcontrib.build -D:nant.dir=..\nant-0.85-20040722
copy build\nantcontrib-0.85-debug\bin
..\nant-0.85-20040722\build\net-1.1.win32\nant-0.85-debug\bin


Noel

 -----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]  On Behalf Of Malcolm
MacLucas
Sent:   Friday, July 23, 2004 12:43 PM
To:     [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc:     [EMAIL PROTECTED]
Subject:        Re: [Nant-users] 0.85 release candidate by August 4th

Ok

first, I a mistake in my original post, there is no 7-23 build of nant,
there
is a 7-22 build, that's the one I used.

I used the 7-23 build of NAnt Contrib.

I installed it into the previously mentioned program files\nant directory
and the I ran the NantContrib.build
nant -buildfile:NAntContrib.build

It seemed to blow up on the first test.  Here's my error
Build Failed

C:\Program Files\NAnt\NAntContrib.build(35,14):
Please pass the folder containing the NAnt build on the commandline as a
property (-D:nant.dir=???).

So I sent this command
nant -buildfile:NAntContrib.build -D:nant.dir=bin

This time I got further
Build Failed

C:\Program Files\NAnt\NAntContrib.build(100,10):
External Program Failed: C:\WINNT\Microsoft.NET\Framework\v1.1.4322\csc.exe
(return code was 1)

I'm not sure what I need to do with this, my path has the NAnt Bin directory
in
it, so I'm not sure what I need to do about the first problem.

I should probably be passing this to the NAnt Contrib list shouldn't I?

Thanks

Malcolm


--- Malcolm MacLucas <[EMAIL PROTECTED]> wrote:
> I'm in the process of setting up a machine just for (currently) NAnt
testing,
> so I'll see what I can do, but I'm more interested in using my time to
> support
> a August 4 release, or at least candidate release for Nant 0.85
>
> Currently I'm trying to get a copy of the 7-23 NAnt Build to install on my
> brand new, freshly ghosted machine.
>
> I've installed the 1.1 sdk
> I've installed the 7-23 build in the \program files\NAnt directory
> I've set my path to include the NAnt\bin directory
> My build *was* successfull. (436 Seconds)
>
> Now I'm not sure if I should install the
> NAntContrib 7-23, or the
> NAntContrib 0.84 on my machine.
> But I need the <solution> task, so it's going to be one of them.
>
> I'm also a little un-clear as to recommended uninstall procedures in the
case
> of needing to put a different build in.
>
> I've got some concerns about the NAntContrib being unzipped right into the
> NAnt
> directory, it overwrites some of the help files, and I've been too busy
> (lazy?)
> to notice what else.
>
> Thanks
>
> Malcolm
>
> --- Gert Driesen <[EMAIL PROTECTED]> wrote:
> >
> > ----- Original Message -----
> > From: "Malcolm MacLucas" <[EMAIL PROTECTED]>
> > To: "Gert Driesen" <[EMAIL PROTECTED]>
> > Sent: Friday, July 23, 2004 1:19 AM
> > Subject: Re: [Nant-users] VS.Net 2003, <solution> <excludeprojects> does
> not
> > do anything.
> >
> >
> > > How do I do that?
> >
> > Create a new solution, and new project(s) and create a small build file
for
> > it, and make sure that you can reproduce this issue with these files.
> >
> > Then create a zip file containing these files, and send it to me.
> >
> > Gert
>
>
>
>
> =====
> "Oh Bother!" said the Borg, "We just assimilated Pooh."
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>


=====
"Oh Bother!" said the Borg, "We just assimilated Pooh."




__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to