activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aschrum <asch...@biopop.com>
Subject Compile of ActiveMQ.NMS.ActiveMQ fails under Windows XP
Date Tue, 26 Aug 2008 17:41:04 GMT

This may be related to recent issue:
https://issues.apache.org/activemq/browse/AMQNET-71

I just checked out latest version from Subversion of ActiveMQ.NMS.ActiveMQ.
However, it will not compile. Please see the build log below.

If I go into the vendor ActiveMQ.NMS directory and try to "nant" from there,
it fails the same way.

If within ActiveMQ.NMS directory I:
 "nant set-debug-configuration set-net-2.0-framework-configuration
conditional-compile"
I can get a .Net 2.0 build subdirectory created and compiled. The hang-up
seems to be with the .NET 1.1 files.

My computer is Windows XP SP2 (with updates) running VS2005 (updated plus
SDK). I have .NET 1.1 and .NET 2.0 installed. I do not have .NET 3.0 or 3.5
installed.
Nant was freshly built from sources:

nant -help
NAnt 0.86 (Build 0.86.3160.0; dev; 8/26/2008)
Copyright (C) 2001-2008 Gerry Shaw
http://nant.sourceforge.net

Is there a way to specify that only .NET 2.0 files be built instead of the
default "all available configurations"?

Any other suggestions?

Thanks,

-Allan

Build Log using "nant -verbose+ -logfile:build.log"

Buildfile: file:///P:/sources/Apache.NMS.ActiveMQ/nant.build
Target framework: Microsoft .NET Framework 2.0
Base Directory: P:\sources\Apache.NMS.ActiveMQ.
Target(s) specified: compile-all 

  [include] Including file P:\sources\Apache.NMS.ActiveMQ\nant-common.xml.

release-init:

     [echo] Release key file not found. You can generate a key file by
running 'sn -k P:\sources\Apache.NMS.ActiveMQ/activemq-dotnet.snk'.
     [echo] The Release build will be skipped.

compile-all:

     [echo] Compiling all build configurations for all runtime
configurations.

set-debug-configuration:


set-net-1.1-framework-configuration:

 [property] Target framework changed to "Microsoft .NET Framework 1.1".

init:


set-debug-configuration:


set-net-1.1-framework-configuration:

     [echo] Doing an unsigned debug build for the .NET 1.1 framework

dependency-init:


vendor-init:

     [nant] P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\nant.build 
            Buildfile:
file:///P:/sources/Apache.NMS.ActiveMQ/vendor/Apache.NMS/nant.build
            Target framework: Microsoft .NET Framework 1.1
            Base Directory:
P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS.
            Target(s) specified: compile-all 
            
              [include] Including file
P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\nant-common.xml.
            
            release-init:
            
                 [echo] Release key file not found. You can generate a key
file by running 'sn -k
P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS/activemq-dotnet.snk'.
                 [echo] The Release build will be skipped.
            
            compile-all:
            
                 [echo] Compiling all build configurations for all runtime
configurations.
            
            set-debug-configuration:
            
            
            set-net-1.1-framework-configuration:
            
            
            init:
            
            
            set-debug-configuration:
            
            
            set-net-1.1-framework-configuration:
            
                 [echo] Doing an unsigned debug build for the .NET 1.1
framework
            
            dependency-init:
            
            Adding a assemblyfileset reference with id 'dependencies'.
            Adding a assemblyfileset reference with id 'test.dependencies'.
            Adding a fileset reference with id 'content.filenames'.
            
            conditional-compile:
            
            
            init:
            
            
            set-debug-configuration:
            
            
            set-net-1.1-framework-configuration:
            
                 [echo] Doing an unsigned debug build for the .NET 1.1
framework
            
            dependency-init:
            
            Adding a assemblyfileset reference with id 'dependencies'.
            Adding a assemblyfileset reference with id 'test.dependencies'.
            Adding a fileset reference with id 'content.filenames'.
            
            compile-main:
            
                 [echo] Building the Apache.NMS library
              [asminfo] File
'P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\main\csharp\CommonAssemblyInfo.cs'
is up-to-date.
            
            copy-content:
            
                 [copy] Copying 0 files to
'P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\build\net-1.1\debug'.
                 [copy] Copying 0 files to
'P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\build\net-1.1\debug'.
            
            compile-test:
            
                 [echo] Building the Apache.NMS.Test library
              [asminfo] File
'P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\CommonAssemblyInfo.cs'
is up-to-date.
                  [csc] Output file
'P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\build\net-1.1\debug\Apache.NMS.Test.dll'
does not exist, rebuilding.
                  [csc] Compiling 13 files to
'P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\build\net-1.1\debug\Apache.NMS.Test.dll'.
                  [csc] Contents of C:\Documents and
Settings\aschrum.BIOPOP\Local Settings\Temp\tmp253.tmp.
                  [csc] /fullpaths
                  [csc]
"/doc:P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\build\net-1.1\debug\Apache.NMS.Test.xml"
                  [csc] /debug
                  [csc] "/define:DEBUG"
                  [csc] "/define:TRACE"
                  [csc] /nologo
                  [csc] "/target:library"
                  [csc] "/define:NET,NET_1_1"
                  [csc]
"/out:P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\build\net-1.1\debug\Apache.NMS.Test.dll"
                  [csc] /nowarn:1591,0618
                  [csc]
"/reference:P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\build\net-1.1\debug\Apache.NMS.dll"
                  [csc]
"/reference:P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\lib\nunit.framework.dll"
                  [csc] "/reference:mscorlib.dll"
                  [csc] "/reference:System.dll"
                  [csc] "/reference:System.Xml.dll"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\AsyncConsumeTest.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\BadConsumeTest.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\BytesMessageTest.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\CommonAssemblyInfo.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\ConnectionTest.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\ConsumerTest.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\DurableTest.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\MapMessageTest.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\MessageTest.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\NMSPropertyTest.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\NMSTestSupport.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\TextMessage.cs"
                  [csc]
"P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\src\test\csharp\TransactionTest.cs"
                  [csc] 
                  [csc] Starting
'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (@"C:\Documents and
Settings\aschrum.BIOPOP\Local Settings\Temp\tmp253.tmp")' in
'P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS'
                  [csc] fatal error CS0009: Metadata file
'p:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\lib\nunit.framework.dll'
could not be opened -- 'Version 2.0 is not a compatible version.'
            
            BUILD FAILED
            
           
P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\nant-common.xml(381,6):
            External Program Failed:
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (return code was 1):
            NAnt.Core.BuildException:
P:\sources\Apache.NMS.ActiveMQ\vendor\Apache.NMS\nant-common.xml(381,6):
            External Program Failed:
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (return code was 1)
               at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line 418
               at NAnt.DotNet.Tasks.CompilerBase.ExecuteTask() in
p:\sources\nant\src\NAnt.DotNet\Tasks\CompilerBase.cs:line 708
               at NAnt.Core.Task.Execute() in
p:\sources\nant\src\NAnt.Core\Task.cs:line 186
               at NAnt.Core.Target.Execute() in
p:\sources\nant\src\NAnt.Core\Target.cs:line 247
               at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in p:\sources\nant\src\NAnt.Core\Project.cs:line 985
               at NAnt.Core.Tasks.CallTask.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\Tasks\CallTask.cs:line 211
               at NAnt.Core.Task.Execute() in
p:\sources\nant\src\NAnt.Core\Task.cs:line 186
               at NAnt.Core.Target.Execute() in
p:\sources\nant\src\NAnt.Core\Target.cs:line 247
               at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in p:\sources\nant\src\NAnt.Core\Project.cs:line 985
               at NAnt.Core.Tasks.CallTask.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\Tasks\CallTask.cs:line 211
               at NAnt.Core.Task.Execute() in
p:\sources\nant\src\NAnt.Core\Task.cs:line 186
               at NAnt.Core.Target.Execute() in
p:\sources\nant\src\NAnt.Core\Target.cs:line 247
               at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in p:\sources\nant\src\NAnt.Core\Project.cs:line 985
               at NAnt.Core.Project.Execute() in
p:\sources\nant\src\NAnt.Core\Project.cs:line 937
               at NAnt.Core.Project.Run() in
p:\sources\nant\src\NAnt.Core\Project.cs:line 1022
            
            Total time: 1.3 seconds.
            

BUILD FAILED

Nested build failed.  Refer to build log for exact reason.:
NAnt.Core.BuildException: Nested build failed.  Refer to build log for exact
reason.
   at NAnt.Core.Tasks.NAntTask.RunBuild(FileInfo buildFile) in
p:\sources\nant\src\NAnt.Core\Tasks\NAntTask.cs:line 258
   at NAnt.Core.Tasks.NAntTask.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\Tasks\NAntTask.cs:line 193
   at NAnt.Core.Task.Execute() in p:\sources\nant\src\NAnt.Core\Task.cs:line
186
   at NAnt.Core.Target.Execute() in
p:\sources\nant\src\NAnt.Core\Target.cs:line 247
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in p:\sources\nant\src\NAnt.Core\Project.cs:line 985
   at NAnt.Core.Tasks.CallTask.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\Tasks\CallTask.cs:line 211
   at NAnt.Core.Task.Execute() in p:\sources\nant\src\NAnt.Core\Task.cs:line
186
   at NAnt.Core.TaskContainer.ExecuteChildTasks() in
p:\sources\nant\src\NAnt.Core\TaskContainer.cs:line 120
   at NAnt.Core.TaskContainer.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\TaskContainer.cs:line 86
   at NAnt.Core.Tasks.IfTask.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\Tasks\IfTask.cs:line 363
   at NAnt.Core.Task.Execute() in p:\sources\nant\src\NAnt.Core\Task.cs:line
186
   at NAnt.Core.Target.Execute() in
p:\sources\nant\src\NAnt.Core\Target.cs:line 247
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in p:\sources\nant\src\NAnt.Core\Project.cs:line 985
   at NAnt.Core.Tasks.CallTask.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\Tasks\CallTask.cs:line 211
   at NAnt.Core.Task.Execute() in p:\sources\nant\src\NAnt.Core\Task.cs:line
186
   at NAnt.Core.TaskContainer.ExecuteChildTasks() in
p:\sources\nant\src\NAnt.Core\TaskContainer.cs:line 120
   at NAnt.Core.TaskContainer.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\TaskContainer.cs:line 86
   at NAnt.Core.Tasks.IfTask.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\Tasks\IfTask.cs:line 363
   at NAnt.Core.Task.Execute() in p:\sources\nant\src\NAnt.Core\Task.cs:line
186
   at NAnt.Core.Target.Execute() in
p:\sources\nant\src\NAnt.Core\Target.cs:line 247
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in p:\sources\nant\src\NAnt.Core\Project.cs:line 985
   at NAnt.Core.Tasks.CallTask.ExecuteTask() in
p:\sources\nant\src\NAnt.Core\Tasks\CallTask.cs:line 211
   at NAnt.Core.Task.Execute() in p:\sources\nant\src\NAnt.Core\Task.cs:line
186
   at NAnt.Core.Target.Execute() in
p:\sources\nant\src\NAnt.Core\Target.cs:line 247
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in p:\sources\nant\src\NAnt.Core\Project.cs:line 985
   at NAnt.Core.Project.Execute() in
p:\sources\nant\src\NAnt.Core\Project.cs:line 937
   at NAnt.Core.Project.Run() in
p:\sources\nant\src\NAnt.Core\Project.cs:line 1022

Total time: 1.6 seconds.

-- 
View this message in context: http://www.nabble.com/Compile-of-ActiveMQ.NMS.ActiveMQ-fails-under-Windows-XP-tp19166726p19166726.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message