Hi,

1) yes, "nant/bin" needs to be "nant\bin".

2) to build nant, you need NUnit.  (check out the requirements under
\nant\doc\help\introduction\fog0000000006.html).  It also needs ndoc and nziplib.

Ben there, done that :)  It's been a bit bumpy ride, but managed to compile correctly.

Pat

Patrice Calvé
Développeur Sénior - Senior Software Developer
Cactus Communications Internet
376 boul. St. Joseph
Hull, QC
J8Y3Y7
* Phone: 819.778.0313                   * Fax: 819.420.0121
* E-mail:[EMAIL PROTECTED] * Web:www.cactus.ca 
"i souport publik edekasion"


-----Original Message-----
From: Hickman, Steve (MN65) [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 03, 2002 09:36
To: '[EMAIL PROTECTED]'
Subject: FW: [nant-dev] Self build bug




-----Original Message-----
From: Hickman, Steve (MN65) 
Sent: Tuesday, December 03, 2002 8:35 AM
To: 'Griffin Caprio'
Subject: RE: [nant-dev] Self build bug


Since I have Visual Studio.NET installed, I found that I could run 

%VSCOMNTOOLS%vsvars32.bat

to setup the relevant environment variables. It might help to add this to the doc. 
Having done that, I ran into a different problem. Here's what I got from the self 
build after doing the above:

------------------------------START OF RUN 
------------------------------------------------------

C:\>%VSCOMNTOOLS%\vsvars32.bat
Setting environment for using Microsoft Visual Studio .NET tools. (If you also have 
Visual C++ 6.0 installed and wish to use its tools from the command line, run 
vcvars32.bat for Visual C++ 6.0.)

C:\>cd nant

C:\NAnt>bin/nant
'bin' is not recognized as an internal or external command, operable program or batch 
file.

C:\NAnt>bin\nant
Buildfile: file:///C:/NAnt/NAnt.build
   [tstamp] Tuesday, December 03, 2002 8:32:08 AM

build:
      [csc] Compiling 74 files to C:\NAnt\build\NAnt.Core.dll
      [csc] Compiling 2 files to C:\NAnt\build\NAnt.exe
      [csc] Compiling 3 files to C:\NAnt\build\NAnt.Documenter.dll
      [csc] Compiling 33 files to C:\NAnt\build\NAnt.Tests.dll

test:
     [echo] ********************************************************************
     [echo] ** Running newly built NAnt.exe with tests.
     [exec] build\NAnt.exe -indent:1 -buildfile:file:///C:/NAnt/NAnt.build test.nunit
            Buildfile: file:///C:/NAnt/NAnt.build
               [tstamp] Tuesday, December 03, 2002 8:32:16 AM

            test.nunit:
                [nunit] Running SourceForge.NAnt.Tests.AllTests
                [nunit] FAILURE: TouchTaskTest.Test_File_Millis
            C:\NAnt\src\NAnt.Tests\Tasks\TouchTaskTest.cs(117): <touch 
file='C:\DOCUME~1\shickman\LOCALS~1\Temp\NAnt.Tests.TouchTest\file1.txt' 
millis='100000'/>
                [nunit] FAILURE: TouchTaskTest.Test_FileSet_Millis
            C:\NAnt\src\NAnt.Tests\Tasks\TouchTaskTest.cs(205): Touch: fileset, 
millis, C:\DOCUME~1\shickman\LOCALS~1\Temp\NAnt.Tests.TouchTest\file1.txt
                [nunit] 82 tests: FAILURES: 2 ERRORS: 0

            BUILD FAILED
            C:\NAnt\NAnt.build(165,10): Unit test failed, see build log. Try 'nant 
-help' for more information


BUILD FAILED
C:\NAnt\NAnt.build(158,4): External program returned errors, see build log for 
details. Try 'nant -help' for more information

C:\NAnt>
------------------------------END OF RUN 
------------------------------------------------------
-----Original Message-----
From: Griffin Caprio [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 12:09 AM
To: 'Hickman, Steve (MN65)'; [EMAIL PROTECTED]
Subject: RE: [nant-dev] Self build bug


you don't have csc.exe and the rest of the SDK utilities in your path. Put 
[Drive]:\WINNT\Microsoft.NET\Framework\v1.x.xxxx in you path.  Tailor it to your 
installation, though.

Griffin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hickman, Steve (MN65)
Sent: Monday, December 02, 2002 8:34 AM
To: '[EMAIL PROTECTED]'
Subject: [nant-dev] Self build bug


I just downloaded the 0.7.9 version of NAnt and attempted to run the self build. I got 
the following error:

C:\NAnt>cd ..

C:\>cd NAnt

C:\NAnt>bin/nant
'bin' is not recognized as an internal or external command, operable program or batch 
file.

C:\NAnt>bin\
'bin\' is not recognized as an internal or external command, operable program or batch 
file.

C:\NAnt>bin\nant
Buildfile: file:///C:/NAnt/NAnt.build
   [tstamp] Monday, December 02, 2002 8:20:38 AM

build:
    [mkdir] Creating directory C:\NAnt\build
     [copy] Copying 5 files to C:\NAnt\build
      [csc] Compiling 74 files to C:\NAnt\build\NAnt.Core.dll

BUILD FAILED
C:\NAnt\NAnt.build(75,10): SourceForge.NAnt.Tasks.CscTask: Error running external 
program (csc), see build log for det ls. The system cannot find the file specified Try 
'nant -help' for more information


There doesn't appear to be a build log to refer to. There are no files that were 
created on my computer that could possibly be a build log. I fyou think I'm wrong, 
tell me what to look for.


Steve Hickman             [EMAIL PROTECTED]
Honeywell Labs            612-951-7651
Software Solutions Lab
Mail Stop MN65-2600
3660 Technology Drive
Minneapolis, MN 55418


 <<Hickman, Steve  (MN65).vcf>>


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Nant-developers mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to