Use "nant quick rebuild" if you just want to skip the tests.

On Sun, Jan 18, 2009 at 6:55 AM, asafdav2 <[email protected]> wrote:

>
> hello
> i've checked castle from svn and tried to build it using nant
> however, it fails in the following stage. any ideas how to solve this?
>
>                                    common.run-tests:
>
>                                         [echo] Running tests in
> 'Castle.Components.Common.TemplateEngine.NVelocityTemplateEngine.Tests.SR'
>                                         [exec] Unhandled Exception:
>                                         [exec]
> System.IO.FileLoadException: Could not load file or assembly 'D:\dev
> \dotNET\Castle\build\net-3.5\debug
>
> \Castle.Components.Common.TemplateEngine.NVelocityTemplateEngine.Tests.SR.dll'
> or one of its dependencies. The given assembly name or codebase was
> invalid. (Exception from HRESULT: 0x80131047)
>                                         [exec] File name: 'D:\dev
> \dotNET\Castle\build\net-3.5\debug
>
> \Castle.Components.Common.TemplateEngine.NVelocityTemplateEngine.Tests.SR.dll'
>                                         [exec]
>                                         [exec] Server stack trace:
>                                         [exec]    at
> System.Reflection.AssemblyName.nGetFileInformation(String s)
>                                         [exec]    at
> System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
>                                         [exec]    at
> NUnit.Core.Builders.TestAssemblyBuilder.Load(String path)
>                                         [exec]    at
> NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName,
> Boolean autoSuites)
>                                         [exec]    at
> NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName,
> String testName, Boolean autoSuites)
>                                         [exec]    at
> NUnit.Core.TestSuiteBuilder.BuildSingleAssembly(TestPackage package)
>                                         [exec]    at
> NUnit.Core.TestSuiteBuilder.Build(TestPackage package)
>                                         [exec]    at
> NUnit.Core.SimpleTestRunner.Load(TestPackage package)
>                                         [exec]    at
> NUnit.Core.ProxyTestRunner.Load(TestPackage package)
>                                         [exec]    at
> NUnit.Core.ProxyTestRunner.Load(TestPackage package)
>                                         [exec]    at
> NUnit.Core.RemoteTestRunner.Load(TestPackage package)
>                                         [exec]    at
> System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage
> (IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean
> fExecuteInContext, Object[]& outArgs)
>                                         [exec]    at
> System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage
> (RuntimeMethodHandle md, Object[] args, Object server, Int32
> methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
>                                         [exec]    at
> System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage
> (IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
>                                         [exec]
>                                         [exec] Exception rethrown at
> [0]:
>                                         [exec]    at
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
> reqMsg, IMessage retMsg)
>                                         [exec]    at
> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
> msgData, Int32 type)
>                                         [exec]    at
> NUnit.Core.TestRunner.Load(TestPackage package)
>                                         [exec]    at
> NUnit.Util.TestDomain.Load(TestPackage package)
>                                         [exec]    at
> NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
>                                         [exec]    at
> NUnit.ConsoleRunner.Runner.Main(String[] args)
>                                         [exec]
>                                         [exec] === Pre-bind state
> information ===
>                                         [exec] LOG: User = ASAF-XP
> \Asaf
>                                         [exec] LOG: Where-ref bind.
> Location = D:\dev\dotNET\Castle\build\net-3.5\debug
>
> \Castle.Components.Common.TemplateEngine.NVelocityTemplateEngine.Tests.SR.dll
>                                         [exec] LOG: Appbase =
> file:///D:/dev/dotNET/Castle/build/net-3.5/debug
>                                         [exec] LOG: Initial
> PrivatePath = NULL
>                                         [exec] Calling assembly :
> (Unknown).
>                                         [exec] ===
>                                         [exec] LOG: This is an
> inspection only bind.
>                                         [exec] LOG: No application
> configuration file found.
>                                         [exec] LOG: Using machine
> configuration file from C:\WINDOWS\Microsoft.NET\Framework
> \v2.0.50727\config\machine.config.
>                                         [exec] LOG: Attempting
> download of new URL
>
> file:///D:/dev/dotNET/Castle/build/net-3.5/debug/Castle.Components.Common.TemplateEngine.NVelocityTemplateEngine.Tests.SR.dll.
>                                         [exec] ERR: Failed to
> complete setup of assembly (hr = 0x80131047). Probing terminated.
>                                         [exec]
>
>                                    BUILD FAILED
>
>                                    D:\dev\dotNET\Castle\common-
> project.xml(262,5):
>                                    External Program Failed: nunit-
> console (return code was -100)
>
>                                    Total time: 3.4 seconds.
>
>                        BUILD FAILED
>
>                        Nested build failed.  Refer to build log for
> exact reason.
>
>                        Total time: 7.7 seconds.
>
>
>            BUILD FAILED
>
>            Nested build failed.  Refer to build log for exact reason.
>
>            Total time: 29.2 seconds.
>
>
> BUILD FAILED - 3 non-fatal error(s), 0 warning(s)
>
> Nested build failed.  Refer to build log for exact reason.
>
> Total time: 230.3 seconds.
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to