Hi Eric,
 
you're right, you need to get the sources from CVS. It's very easy.
Here I've provided you with some instructions for compiling NAnt from CVS.
 
Hope it helps,
 
Jarek
 
P.S. As I've written, this may or may not solve the mentioned problem.
 
 
 
 
 
HOW TO COMPILE NAnt FROM CVS
(for newbies)
 
1. What you need
================
 
First, you need is a CVS client. You can get a windows version from http://cvshome.org or http://www.wincvs.org. There's also cygwin which provides CVS (www.cygwin.com). Newbies could also try the graphical frontend for CVS called TortoiseCVS (www.tortoisecvs.org) which I think is superior in general because of the tight integration with windows shell.
 
Please note, that if you're behid a firewall outgoing port 2401 must be open.
 
2. Getting the sources
=======================
 
The following commands should be done only once, to get the initial copy of nant. Be aware that anonymous cvs server on sourceforge is under very heavy load and you may encounter connection drops. Just retry after some delay.
 
2.1. Checking out the sources (the GUI way)
===========================================
 
Using Tortoise CVS, enter the Windows folder where you want NAnt sources stored, right click, choose "CVS Checkout" and paste the following into CVSROOT field:
 
:pserver:[EMAIL PROTECTED]:/cvsroot/nant
 
then enter "nant" into "Module" field. Then click "OK". If it asks you for a password, hit enter (the password is empty).
 
2.2. Checking out the sources (the hard way)
============================================
 
If you have command line cvs client execute the following:
 
cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/nant login
    It will prompt you for the password, since there's no
    password required, just hit enter.
 
cvs z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/nant checkout nant
    It will get the newest sources and store them in
    "nant" directory on your hard drive.
 
3. Building NAnt
================
 
Enter the "nant" directory and run:
 
bin\nant release
    for release build
 
or
 
bin\nant
    for debug build.
 
The output will be stored in appropriate subdirectory of the "build" directory which will be created. Update NAnt.exe.config there as necessary and your fresh NAnt.exe is ready to go.
 
4. Updating the sources
=======================
 
Every time you want to get the fresh sources and recompile, you simply enter the "nant" directory and run:
 
cvs -z3 update
 
or using Tortoise CVS - simply right click, the "CVS Update".
 
After which you recompile nant as described above.
 
----- Original Message -----
Sent: Tuesday, August 19, 2003 4:38 PM
Subject: Re: [Nant-users] Problems with solution task when solution has multiple projects

Jarek,
 
Can you expand on "just type 'nant release' and fresh nant will be built"?  It sounds like you don't have to get the source out of CVS first.  I haven't gotten that far yet, just keep waiting for the daily builds to update.  I would much rather be able to get the source myself so I can start monkeying with it.  If it's that easy, I won't sort through all the verbiage on sourceforge...
 
Thanks,
Eric

Jaroslaw Kowalski <[EMAIL PROTECTED]> wrote:
Try compiling NAnt from CVS (it's very easy, just type "nant release" and
fresh nant will be built to "build/nant-0.8.4" directory).

Solution task has been recently fixed in CVS, maybe this will fix your
problem.

Using nant from CVS I'm able to build a quite complex (8 interdependent
projects) solution, but it's C# only.

Jarek

----- Original Message -----
From: "Michael Sawczyn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 7:55 PM
Subject: [Nant-users] Problems with solution task when solution has multiple
projects


> Just started trying to use Nant yesterday, so forgive me if this is a
> known issue.
>
> I created a solution for the HelloWorld example with one C# project in
> it (HelloWorld-cs.csproj). Using the following build script, Nant
> 0.8.3-rc2 compiled it just file:
>
> -------------------------------
>
>
>
> > configuration="debug"/>
>

>

> -------------------------------
>
> I then added a second project to the solution, the HelloWorld VB example
> (HelloWorld-vb.vbproj). Nant failed with the following:
>
> -------------------------------
>
> NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
> http://nant.sourceforge.net
>
> Buildfile: file:///C:/nant-0.8.3-rc2/examples/HelloWorld/default.build
>
> build:
>
> [solution] Starting solution build.
> Total time: 0 seconds.
>
> BUILD FAILED
>
> INTERNAL ERROR
>
> System.NullReferenceException: Object reference not set to an instance
> of an obj
> ect.
> at NAnt.VSNet.Tasks.Project.Load(Solution sln, String strFilename)
> at NAnt.VSNet.Tasks.Solution.LoadProjects()
> at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename,
> ArrayList alAd
> ditionalProjects, ArrayList alReferenceProjects, TempFileCollection tfc,
> Task na
> nttask)
> at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
> at NAnt.Core.Task.Execute()
> at NAnt.Core.Target.Execute()
> at NAnt.Core.Project.Execute(String targetName)
> at NAnt.Core.Project.Execute()
> at NAnt.Core.Project.Run()
>
> Please send bug report to [EMAIL PROTECTED]
>
> -------------------------------
>
> Thinking it might be the vb project, I removed the C# project and tried
> to build the solution again. It failed again wi th the same error. I then
> attempted adding and removing the various projects to ensure that the
> error was reproduceable.
>
> Is it the case that currently the solution task can only deal with
> solutions in which there is one and only one c# project? I can't believe
> that, so if someone could point out what I'm doing wrong, I'd appreciate
> it.
>
> Below is the text of the solution file with both projects in it. I'm
> using Visual Studio 2003 (7.1.3088).
>
> Thanks.
>
> --Michael
>
> -------------------------------
>
> Microsoft Visual Studio Solution File, Format Version 8.00
> Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "HelloWorld-vb",
> "HelloWorld-vb.vbproj", "{E6082716-4D7B-4CE7-B45F-1565DCF05B90}"
> ProjectSection(ProjectDependencies) = postProject
> EndProjectSection
> EndProject
> Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloWorld-cs",
> "HelloWorld-cs.csproj", "{051E250A-6FBD-4BFF-AE73-CA3823F3E3FE}"
> ProjectSection(ProjectDependencies) = postProject
> EndProjectSection
> EndProject
> Global
> GlobalSection(SolutionConfiguration) = preSolution
> Debug = Debug
> Release = Release
> EndGlobalSection
> GlobalSection(ProjectConfiguration) = postSolution
> {E6082716-4D7B-4CE7-B45F-1565DCF05B90}.Debug.ActiveCfg =
> Debug|.NET
> {E6082716-4D7B-4CE7-B45F-1565DCF05B90}.Debug.Build.0 =
> Debug|.NET
> {E6082716-4D7B-4CE7-B45F-1565DCF05B90}.Release.ActiveCfg
> = Release|.NET
> {E6082716-4D7B-4CE7-B45F-1565DCF05B90}.Release.Build.0 =
> Release|.NET
> {051E250A-6FBD-4BFF-AE73-CA3823F3E3FE}.Debug.ActiveCfg =
> Debug|.NET
> {051E250A-6FBD-4BFF-AE73-CA3823F3E3FE}.Debug.Build.0 =
> Debug|.NET
> {051E250A-6FBD-4BFF-AE73-CA3823F3E3FE}.Release.ActiveCfg
> = Release|.NET
> {051E250A-6FBD-4BFF-AE73-CA3823F3E3FE}.Release.Build.0 =
> Release|.NET
> EndGlobalSection
> GlobalSection(ExtensibilityGlobals) = postSolution
> EndGlobalSection
> GlobalSection(ExtensibilityAddIns) = postSolution
> EndGlobalSection
> EndGlobal
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Reply via email to