if you want to skip tests you can
"nant quick build"

it's all in the "How to build.txt"
if not, then a patch to that file will be welcomed

On Wed, Jan 28, 2009 at 11:19 PM, epitka <[email protected]> wrote:

>
> Got the fixed, vista does not pick the path automatically, had to
> reboot. I run it with option to build without running tests (nant -
> D:common.testrunner.enabled=false) and it built fine but just nant
> fails with build errors (3). It tells me to look into log file for the
> reasons but not where the log is.
>
> Is this still nunit related?
>
> C:\Users\epitka\Software\Castle Windsor>nant
> NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007)
> Copyright (C) 2001-2007 Gerry Shaw
> http://nant.sourceforge.net
>
> Buildfile: file:///C:/Users/epitka/Software/Castle Windsor/
> default.build
> Target framework: Microsoft .NET Framework 3.5
> Target(s) specified: build
>
>     [echo] Detected NAnt 0.86 Beta 1, consider upgrading to a newer
> version whe
> n building for .NET 3.5
>
> common.check-nant-version:
>
>
> common.find-tools:
>
>
> set-framework-configuration:
>
>
> set-net-3.5-framework-configuration:
>
>
> set-project-configuration:
>
>
> set-debug-project-configuration:
>
>
> common.init:
>
>
> init:
>
>
> common.find-svninfo:
>
>     [exec] C:\Users\epitka\Software\Castle Windsor\common.xml(238,4):
>     [exec] 'svn' failed to start.
>  [xmlpeek] Peeking at 'C:\Users\epitka\Software\Castle Windsor
> \_revision.xml' w
> ith XPath expression '/info/entry/@revision'.
>  [xmlpeek] C:\Users\epitka\Software\Castle Windsor\common.xml(243,4):
>  [xmlpeek] XML file 'C:\Users\epitka\Software\Castle Windsor
> \_revision.xml' doe
> s not exist.
>     [echo] INFO: Using Subversion revision number: 0
>
> common.find-nunit:
>
>     [exec] C:\Users\epitka\Software\Castle Windsor\common.xml(255,5):
>     [exec] 'nunit-console2' failed to start.
>      [exec] NUnit version 2.2.10
>     [exec] Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two,
> Alexei A.
> Vorontsov, Charlie Poole.
>     [exec] Copyright (C) 2000-2003 Philip Craig.
>     [exec] All Rights Reserved.
>     [exec]
>     [exec] OS Version: Microsoft Windows NT 6.0.6001 Service Pack
> 1    .NET Ver
> sion: 2.0.50727.3053
>     [exec]
>     [exec]
>     [exec] NUNIT-CONSOLE [inputfiles] [options]
>     [exec]
>     [exec] Runs a set of NUnit tests from the console.
>     [exec]
>     [exec] You may specify one or more assemblies or a single
>     [exec] project file of type .nunit.
>     [exec]
>     [exec] Options:
>     [exec] /fixture=STR         Fixture to test
>     [exec] /config=STR          Project configuration to load
>     [exec] /xml=STR             Name of XML output file
>     [exec] /transform=STR       Name of transform file
>     [exec] /xmlConsole          Display XML to the console
>     [exec] /output=STR          File to receive test output (Short
> format: /out
> =STR)
>     [exec] /framework=STR       .NET Framework version to execute
> with (eg 'v1.
> 0.3705')
>     [exec] /err=STR             File to receive test error output
>     [exec] /labels              Label each test in stdOut
>     [exec] /include=STR         List of categories to include
>     [exec] /exclude=STR         List of categories to exclude
>     [exec] /noshadow            Disable shadow copy
>     [exec] /thread              Run tests on a separate thread
>     [exec] /wait                Wait for input before closing console
> window
>     [exec] /nologo              Do not display the logo
>     [exec] /help                Display help (Short format: /?)
>     [exec]
>     [exec]
>     [exec] Options that take values may use an equal sign, a colon
>     [exec] or a space to separate the option from its value.
>     [exec]
>   [delete] Deleting file C:\Users\epitka\Software\Castle Windsor
> \_nunit.txt.
>     [echo] INFO: Found NUnit 2.2.10
>
> copy-referenced-assemblies:
>
>     [copy] Copying 8 files to 'C:\Users\epitka\Software\Castle Windsor
> \build\ne
> t-3.5\debug'.
>     [copy] Copying 38 files to 'C:\Users\epitka\Software\Castle
> Windsor\build\n
> et-3.5\debug'.
>     [copy] Copying 2 files to 'C:\Users\epitka\Software\Castle Windsor
> \build\ne
> t-3.5\debug'.
>
> build:
>
>     [nant] C:\Users\epitka\Software\Castle Windsor\Core\core.build
> build
>             Buildfile: file:///C:/Users/epitka/Software/Castle Windsor/
> Core/core
> .build
>            Target framework: Microsoft .NET Framework 3.5
>            Target(s) specified: build
>
>                 [echo] Detected NAnt 0.86 Beta 1, consider upgrading
> to a newer
>  version when building for .NET 3.5
>
>            common.build:
>
>                 [nant] C:\Users\epitka\Software\Castle Windsor\Core
> \Castle.Core
> \Castle.Core.build
>                         Buildfile: file:///C:/Users/epitka/Software/Castle
> Winds
> or/Core/Castle.Core/Castle.Core.build
>                        Target framework: Microsoft .NET Framework 3.5
>                        Target(s) specified: build
>
>                             [echo] Detected NAnt 0.86 Beta 1,
> consider upgradin
> g to a newer version when building for .NET 3.5
>
>                        common.check-nant-version:
>
>
>                        common.find-tools:
>
>
>                        set-framework-configuration:
>
>
>                         set-net-3.5-framework-configuration:
>
>
>                        set-project-configuration:
>
>
>                        set-debug-project-configuration:
>
>
>                        common.init:
>
>
>                        init:
>
>
>                         common.set-assembly-attribute-values:
>
>
>                        common.generate-assemblyinfo:
>
>                           [attrib] Setting file attributes for 1
> files to Norma
> l.
>
>                        generate-assemblyinfo:
>
>
>                        common.compile-dll:
>
>
>                        build:
>
>
>                        BUILD SUCCEEDED
>
>                        Total time: 13.6 seconds.
>
>                 [nant] C:\Users\epitka\Software\Castle Windsor\Core
> \Castle.Core
> .Tests\Castle.Core.Tests.build
>                         Buildfile: file:///C:/Users/epitka/Software/Castle
> Winds
> or/Core/Castle.Core.Tests/Castle.Core.Tests.build
>                        Target framework: Microsoft .NET Framework 3.5
>                        Target(s) specified: test
>
>                             [echo] Detected NAnt 0.86 Beta 1,
> consider upgradin
> g to a newer version when building for .NET 3.5
>
>                        common.check-nant-version:
>
>
>                        common.find-tools:
>
>
>                        set-framework-configuration:
>
>
>                         set-net-3.5-framework-configuration:
>
>
>                        set-project-configuration:
>
>
>                        set-debug-project-configuration:
>
>
>                        common.init:
>
>
>                        init:
>
>
>                         common.set-assembly-attribute-values:
>
>
>                        common.generate-assemblyinfo:
>
>                          [asminfo] Generated file 'C:\Users\epitka
> \Software\Cas
> tle Windsor\Core\Castle.Core.Tests\AssemblyInfo.cs'.
>
>                        generate-assemblyinfo:
>
>
>                        common.compile-tests:
>
>
>                        common.compile-dll:
>
>                              [csc] Compiling 15 files to 'C:\Users
> \epitka\Softw
> are\Castle Windsor\build\net-3.5\debug\Castle.Core.Tests.dll'.
>                                       [resgen] Read in 2 resources
> from "C:\Use
> rs\epitka\Software\Castle Windsor\Core\Castle.Core.Tests\Resources
> \MoreRes\TestR
> es.resx"
>                                       [resgen] Writing resource
> file...  Done.
>                             [copy] Copying 1 file to 'C:\Users\epitka
> \Software\
> Castle Windsor\build\net-3.5\debug\Castle.Core.Tests.dll.config'.
>
>                        common.configure-tests:
>
>                           [attrib] Setting file attributes for 1
> files to Norma
> l.
>                          [xmlpoke] Found '1' nodes matching XPath
> expression '/
> configuration/appSettings/a...@key='tests.src']/@value'.
>
>                        common.run-tests:
>
>                             [echo] Running tests in
> 'Castle.Core.Tests'
>                             [exec] Assembly not found: C:\Users\epitka
> \Software
> \Castle Windsor\build\net-3.5\debug\Windsor\build\net-3.5\debug\test-
> results\Cas
> tle.Core.Tests.dll-results.xml
>
>                        BUILD FAILED
>
>                        C:\Users\epitka\Software\Castle Windsor\common-
> project.x
> ml(262,5):
>                        External Program Failed: nunit-console (return
> code was
> 2)
>
>                        Total time: 47 seconds.
>
>
>            BUILD FAILED
>
>            Nested build failed.  Refer to build log for exact reason.
>
>            Total time: 61.2 seconds.
>
>
> BUILD FAILED - 3 non-fatal error(s), 0 warning(s)
>
> Nested build failed.  Refer to build log for exact reason.
>
> Total time: 94.3 seconds.
>
>
>
>
> On Jan 28, 2:05 pm, Tuna Toksoz <[email protected]> wrote:
> > Then it looks like the only problem is nunit.
> >
> > Tuna Toksözhttp://tunatoksoz.com
> >
> > Typos included to enhance the readers attention!
> >
> > On Wed, Jan 28, 2009 at 10:02 PM, epitka <[email protected]> wrote:
> >
> > > I got everything from the "trunk".
> >
> > > On Jan 28, 8:46 am, Tuna Toksoz <[email protected]> wrote:
> > > > Try getting all stack, then compile all, then take windsor.
> >
> > > > Tuna Toksözhttp://tunatoksoz.com
> >
> > > > Typos included to enhance the readers attention!
> >
> > > > On Wed, Jan 28, 2009 at 4:44 PM, epitka <[email protected]>
> wrote:
> >
> > > > > I tried building the project and I got these errors. Could anybody
> > > > > help?
> >
> > > > > C:\Users\epitka\Software\Castle Windsor>nant
> > > > > NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
> > > > > Copyright (C) 2001-2006 Gerry Shaw
> > > > >http://nant.sourceforge.net
> >
> > > > > Buildfile: file:///C:/Users/epitka/Software/Castle Windsor/
> > > > > default.build
> > > > > Target framework: Microsoft .NET Framework 2.0
> > > > > Target(s) specified: build
> >
> > > > > common.check-nant-version:
> >
> > > > > common.find-tools:
> >
> > > > > set-framework-configuration:
> >
> > > > > set-net-2.0-framework-configuration:
> >
> > > > > set-project-configuration:
> >
> > > > > set-debug-project-configuration:
> >
> > > > > common.init:
> >
> > > > > init:
> >
> > > > >    [mkdir] Creating directory 'C:\Users\epitka\Software\Castle
> Windsor
> > > > > \build\ne
> > > > > t-2.0\debug'.
> > > > >    [mkdir] Creating directory 'C:\Users\epitka\Software\Castle
> Windsor
> > > > > \build\ne
> > > > > t-2.0\debug\test-results'.
> >
> > > > > common.find-svninfo:
> >
> > > > >     [exec] C:\Users\epitka\Software\Castle
> Windsor\common.xml(238,4):
> > > > >     [exec] 'svn' failed to start.
> > > > >  [xmlpeek] Peeking at 'C:\Users\epitka\Software\Castle Windsor
> > > > > \_revision.xml' w
> > > > > ith XPath expression '/info/entry/@revision'.
> > > > >  [xmlpeek] C:\Users\epitka\Software\Castle
> Windsor\common.xml(243,4):
> > > > >  [xmlpeek] XML file 'C:\Users\epitka\Software\Castle Windsor
> > > > > \_revision.xml' doe
> > > > > s not exist.
> > > > >     [echo] INFO: Using Subversion revision number: 0
> >
> > > > > common.find-nunit:
> >
> > > > >     [exec] C:\Users\epitka\Software\Castle
> Windsor\common.xml(255,5):
> > > > >     [exec] 'nunit-console2' failed to start.
> > > > >     [exec] C:\Users\epitka\Software\Castle
> Windsor\common.xml(262,5):
> > > > >     [exec] 'nunit-console' failed to start.
> >
> > > > > BUILD FAILED - 4 non-fatal error(s), 0 warning(s)
> >
> > > > > C:\Users\epitka\Software\Castle Windsor\common.xml(271,5):
> > > > > ERROR: NUnit not found, cannot continue.
> >
> > > > > Total time: 0.7 seconds.
> >
>


-- 
Ken Egozi.
http://www.kenegozi.com/blog
http://www.delver.com
http://www.musicglue.com
http://www.castleproject.org
http://www.gotfriends.co.il

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to