From: Gert D. <ger...@pa...> - 2004-03-31 15:39:43
|
John, In order to build NAntContrib you need to point it to a NAnt directory containing a "package" build of NAnt. To create "package" build of NAnt, just build it using the "package" target. eg. NAnt.exe -buildfile:NAnt.build package. The readme.txt that is in the root of the NAntContrib distribution package was recently updated with this information. Hope this helps, Gert ----- Original Message ----- From: "John Cole" <joh...@ua...> To: "'Gert Driesen'" <ger...@pa...>; <nan...@li...> Sent: Wednesday, March 31, 2004 4:39 PM Subject: RE: [NAntC-Dev] More on trying to build NAntContrib from cvs > Gert, > Thanks for that pointer, that was a problem. I was pointed at a build .85 > from 3/6 and not the one that I had just built. I have corrected that and > gotten a little further, but now run into another error during build. > > One problem that I noted while building NAnt, was that I could not do two > builds in a row, one of the unit tests continued to run and caused the > second build to fail. Since I didn't know what the process name was, I > rebooted and was able to build ok. > > I am including the entire output from the build. Here is the command line > that I used: > > C:\src\nantcvs\NAntContrib>nant > -D:nant.dir=c:\src\nantcvs\nant\build\net-1.1.win32\nant-0.85-debug > -f:NAntContrib.build > > And here is the result... > > -------------------------------------------------------------------------- > NAnt 0.85 (Build 0.85.1551.0; net-1.1.win32; nightly; 3/31/2004) > Copyright (C) 2001-2004 Gerry Shaw > http://nant.sourceforge.net > > Buildfile: file:///C:/src/nantcvs/NAntContrib/NAntContrib.build > Target(s) specified: test > > C:\src\nantcvs\NAntContrib\NAntContrib.build(3,6): > Could not include build file C:\src\nantcvs\properties.xml. > Could not find file "C:\src\nantcvs\properties.xml". > > init: > > > debug: > > > set-framework-configuration: > > > set-net-1.1-framework-configuration: > > [echo] Using nant files from > c:\src\nantcvs\nant\build\net-1.1.win32\nant-0.85-debug > > prepare: > > [mkdir] Creating directory > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin'. > [copy] Copying 9 files to > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin'. > > prepare.slingshot: > > [nant] C:\src\nantcvs\NAntContrib\Tools\SLiNgshoT\SLiNgshoT.build > Release > > Buildfile: > file:///C:/src/nantcvs/NAntContrib/Tools/SLiNgshoT/SLiNgshoT.build > Target(s) specified: Release > > SLiNgshoT.Core.Release: > > > setup: > > > SLiNgshoT.Core: > > > SLiNgshoT.Release: > > > setup: > > > SLiNgshoT: > > > Release: > > > BUILD SUCCEEDED > > Total time: 0.2 seconds. > > [copy] Copying 1 file to > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\SLiNgshoT.Core. > dll'. > [copy] Copying 1 file to > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\SLiNgshoT.exe'. > > compile.schematask: > > [csc] Compiling 1 files to > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\NAnt.Xsd.Tasks. > dll'. > > compile.schemas: > > [mkdir] Creating directory > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\schema\Msi'. > [loadtasks] Loading tasks from assembly > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\NAnt.Xsd.Tasks. > dll'. > [xsd] Compiling XML Schema > 'C:\src\nantcvs\NAntContrib\src\Tasks\Msi\MsiTask.xsd' into Microsoft.NET > classes. > Writing file > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\schema\Msi\MsiTask. > cs'. > > create-common-assemblyinfo: > > [attrib] Setting file attributes for 1 files to Normal. > > build: > > [csc] Compiling 88 files to > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\NAnt.Contrib.Ta > sks.dll'. > > buildtests: > > [copy] Copying 2 files to > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin'. > [csc] Compiling 4 files to > 'C:\src\nantcvs\NAntContrib\build\nantcontrib-0.85-debug\bin\NAnt.Contrib.Te > sts.dll'. > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(26,7): > error CS0246: The type or namespace name 'NUnit' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Util\SqlStatementListTests.cs(27,7): error > CS0246: The type or namespace name 'NUnit' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Util\SqlStatementListTests.cs(38,6): error > CS0246: The type or namespace name 'TestFixture' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(207,10): > error CS0246: The type or namespace name 'SetUp' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(319,10): > error CS0246: The type or namespace name 'TearDown' could not be found (are > you missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(339,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(354,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(369,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(388,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(403,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(422,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(441,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(454,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(470,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(481,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(498,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(515,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(538,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(571,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(610,10): > error CS0246: The type or namespace name 'Test' could not be found (are you > missing a using directive or an assembly reference?) > > c:\src\nantcvs\NAntContrib\tests\Tasks\SourceSafe\GetTaskTest.cs(183,6): > error CS0246: The type or namespace name 'TestFixture' could not be found > (are you missing a using directive or an assembly reference?) > > BUILD FAILED > > C:\src\nantcvs\NAntContrib\NAntContrib.build(173,10): > External Program Failed: > C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (return code was 1) > > Total time: 6.7 seconds. > > -------------------------------------------------------------------------- > > Thanks for the help. > > John Cole > > -----Original Message----- > From: nan...@li... > [mailto:nan...@li...]On Behalf Of > Gert Driesen > Sent: Tuesday, March 30, 2004 10:31 PM > To: bit...@ya...; nan...@li... > Subject: Re: [NAntC-Dev] More on trying to build NAntContrib from cvs > > > John, > > Apparently you're still not using the newly built NAnt 0.85 to build > NAntContrib. > > Can you send us the information you're seeing the NAnt logo banner ? > > eg. > > NAnt 0.85 (Build 0.85.1548.0; net-1.0.win32; nightly; 28/03/2004) > Copyright (C) 2001-2004 Gerry Shaw > http://nant.sourceforge.net > > Gert > > ----- Original Message ----- > From: <bit...@ya...> > To: <nan...@li...> > Sent: Wednesday, March 31, 2004 12:25 AM > Subject: [NAntC-Dev] More on trying to build NAntContrib from cvs > > > > Hello, > > I'm still attempting to get NAntContrib to build > > without success. I was able to get todays cvs version > > of NAnt to build properly. I set my path to the > > .85cvs version of NAnt and attempted a build of > > NAntContrib. That resulted in an error on the line: > > > > <property name="build.number" > > value="${math::abs(math::floor(timespan::get-total-days(datetime::now() > > - convert::to-datetime('01-01-2000'))))}" > > overwrite="false" /> > > > > Since that was recently changed, I changed it back > > to include the dynamic="true" option and got a little > > further to: > > > > --------------------------------------------- > > Buildfile: > > file:///C:/src/nantcvs/NAntContrib/NAntContrib.build > > Target(s) specified: test > > > > Could not find file "C:\src\nantcvs\properties.xml". > > > > init: > > > > debug: > > > > set-framework-configuration: > > > > BUILD FAILED > > > > C:\src\nantcvs\NAntContrib\NAntContrib.build(346,10): > > [if] at least one if condition must be set > > (propertytrue, targetexists, > > etc...): > > --------------------------------------------- > > > > I'm not sure what to do with this line: > > > > <if > > > test="${not(target::exists('set-'+framework::get-target-framework()+'-framew > ork-configuration'))}"> > > <fail message="The > > '${framework::get-target-framework()}' framework is > > not supported by this version of NAntContrib." /> > > </if> > > > > Trying to echo out the string I find that > > > > Property 'framework::get-target-framework()' has not > > been set. > > > > Ok, so where should this get set? And how? :-) > > > > Thanks, > > > > John Cole > > > > > > > > ------------------------------------------------------- > > 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 > > _______________________________________________ > > NAntContrib-Developer mailing list > > NAn...@li... > > https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer > > > > > > > > ------------------------------------------------------- > 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 > _______________________________________________ > NAntContrib-Developer mailing list > NAn...@li... > https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer > > ------------------------------------- > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. > > |