You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2007/03/05 18:01:14 UTC

svn commit: r514732 - in /activemq/activemq-dotnet/trunk: ./ src/main/csharp/ActiveMQ/ src/main/csharp/ActiveMQ/Util/ src/main/csharp/MSMQ/

Author: chirino
Date: Mon Mar  5 09:01:13 2007
New Revision: 514732

URL: http://svn.apache.org/viewvc?view=rev&rev=514732
Log:
Added VS2005 project files for the NMS.Stomp and NMS.Stomp.Test modules.
fixed some compile issues


Added:
    activemq/activemq-dotnet/trunk/vs2005-stomp-test.csproj
    activemq/activemq-dotnet/trunk/vs2005-stomp.csproj
Modified:
    activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/CommonAssemblyInfo.cs
    activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Tracer.cs
    activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Util/AtomicBoolean.cs
    activemq/activemq-dotnet/trunk/src/main/csharp/MSMQ/MessageConsumer.cs
    activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj
    activemq/activemq-dotnet/trunk/vs2005-msmq-test.csproj
    activemq/activemq-dotnet/trunk/vs2005-msmq.csproj
    activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj
    activemq/activemq-dotnet/trunk/vs2005.sln

Modified: activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/CommonAssemblyInfo.cs?view=diff&rev=514732&r1=514731&r2=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/CommonAssemblyInfo.cs Mon Mar  5 09:01:13 2007
@@ -1,16 +1,16 @@
-using System;
+using System;
 using System.Reflection;
 using System.Runtime.InteropServices;
 
-// ------------------------------------------------------------------------------
-//  <autogenerated>
-//      This code was generated by a tool.
-//      Mono Runtime Version: 2.0.50727.42
-// 
-//      Changes to this file may cause incorrect behavior and will be lost if 
-//      the code is regenerated.
-//  </autogenerated>
-// ------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:2.0.50727.42
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
 
 [assembly: ComVisibleAttribute(false)]
 [assembly: CLSCompliantAttribute(true)]

Modified: activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Tracer.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Tracer.cs?view=diff&rev=514732&r1=514731&r2=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Tracer.cs (original)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Tracer.cs Mon Mar  5 09:01:13 2007
@@ -18,61 +18,61 @@
 			set { s_trace = value; }
 		}
 
-		internal static void Debug(object message)
+        public static void Debug(object message)
 		{
 			if (s_trace!=null && s_trace.IsDebugEnabled)
 				s_trace.Debug(message.ToString());
 		}
 
-		internal static void DebugFormat(string format, params object[] args)
+        public static void DebugFormat(string format, params object[] args)
 		{
 			if (s_trace != null && s_trace.IsDebugEnabled)
 				s_trace.Debug(string.Format(format, args));
 		}
 
-		internal static void Info(object message)
+		public static void Info(object message)
 		{
 			if (s_trace != null && s_trace.IsInfoEnabled)
 				s_trace.Info(message.ToString());
 		}
 
-		internal static void InfoFormat(string format, params object[] args)
+        public static void InfoFormat(string format, params object[] args)
 		{
 			if (s_trace != null && s_trace.IsInfoEnabled)
 				s_trace.Info(string.Format(format, args));
 		}
 
-		internal static void Warn(object message)
+        public static void Warn(object message)
 		{
 			if (s_trace != null && s_trace.IsWarnEnabled)
 				s_trace.Warn(message.ToString());
 		}
 
-		internal static void WarnFormat(string format, params object[] args)
+        public static void WarnFormat(string format, params object[] args)
 		{
 			if (s_trace != null && s_trace.IsWarnEnabled)
 				s_trace.Warn(string.Format(format, args));
 		}
 
-		internal static void Error(object message)
+        public static void Error(object message)
 		{
 			if (s_trace != null && s_trace.IsErrorEnabled)
 				s_trace.Error(message.ToString());
 		}
 
-		internal static void ErrorFormat(string format, params object[] args)
+        public static void ErrorFormat(string format, params object[] args)
 		{
 			if (s_trace != null && s_trace.IsErrorEnabled)
 				s_trace.Error(string.Format(format, args));
 		}
 
-		internal static void Fatal(object message)
+        public static void Fatal(object message)
 		{
 			if (s_trace != null && s_trace.IsFatalEnabled)
 				s_trace.Fatal(message.ToString());
 		}
 
-		internal static void FatalFormat(string format, params object[] args)
+        public static void FatalFormat(string format, params object[] args)
 		{
 			if (s_trace != null && s_trace.IsFatalEnabled)
 				s_trace.Fatal(string.Format(format, args));

Modified: activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Util/AtomicBoolean.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Util/AtomicBoolean.cs?view=diff&rev=514732&r1=514731&r2=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Util/AtomicBoolean.cs (original)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Util/AtomicBoolean.cs Mon Mar  5 09:01:13 2007
@@ -19,7 +19,7 @@
 
 namespace ActiveMQ.Util
 {
-    class AtomicBoolean
+    public class AtomicBoolean
     {
         bool value;
 

Modified: activemq/activemq-dotnet/trunk/src/main/csharp/MSMQ/MessageConsumer.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/MSMQ/MessageConsumer.cs?view=diff&rev=514732&r1=514731&r2=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/MSMQ/MessageConsumer.cs (original)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/MSMQ/MessageConsumer.cs Mon Mar  5 09:01:13 2007
@@ -28,7 +28,7 @@
     /// </summary>
     public class MessageConsumer : IMessageConsumer
     {
-		protected const TimeSpan zeroTimeout = new TimeSpan(0);
+		protected TimeSpan zeroTimeout = new TimeSpan(0);
 		
         private readonly Session session;
         private readonly AcknowledgementMode acknowledgementMode;

Modified: activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj?view=diff&rev=514732&r1=514731&r2=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj Mon Mar  5 09:01:13 2007
@@ -22,7 +22,7 @@
     <DebugSymbols>true</DebugSymbols>
     <DebugType>full</DebugType>
     <Optimize>false</Optimize>
-    <OutputPath>build\cf-2.0\debug\</OutputPath>
+    <OutputPath>build\netcf-2.0\debug\</OutputPath>
     <DefineConstants>TRACE;DEBUG;PocketPC, NETCF, NETCF_2_0</DefineConstants>
     <NoStdLib>true</NoStdLib>
     <NoConfig>true</NoConfig>

Modified: activemq/activemq-dotnet/trunk/vs2005-msmq-test.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-msmq-test.csproj?view=diff&rev=514732&r1=514731&r2=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-msmq-test.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-msmq-test.csproj Mon Mar  5 09:01:13 2007
@@ -38,6 +38,10 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
+    <ProjectReference Include="vs2005-activemq.csproj">
+      <Project>{08321F42-4B3D-4815-B592-95962BAC3B9F}</Project>
+      <Name>vs2005-activemq</Name>
+    </ProjectReference>
     <ProjectReference Include="vs2005-msmq.csproj">
       <Project>{A5FCA129-991B-4CB2-987A-B25E43B0F5EC}</Project>
       <Name>vs2005-msmq</Name>

Modified: activemq/activemq-dotnet/trunk/vs2005-msmq.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-msmq.csproj?view=diff&rev=514732&r1=514731&r2=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-msmq.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-msmq.csproj Mon Mar  5 09:01:13 2007
@@ -55,6 +55,10 @@
     <Compile Include="src\main\csharp\MSMQ\TextMessage.cs" />
   </ItemGroup>
   <ItemGroup>
+    <ProjectReference Include="vs2005-activemq.csproj">
+      <Project>{08321F42-4B3D-4815-B592-95962BAC3B9F}</Project>
+      <Name>vs2005-activemq</Name>
+    </ProjectReference>
     <ProjectReference Include="vs2005-nms.csproj">
       <Project>{300C1716-0674-4D01-8F5D-151E59A504FE}</Project>
       <Name>vs2005-nms</Name>

Modified: activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj?view=diff&rev=514732&r1=514731&r2=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj Mon Mar  5 09:01:13 2007
@@ -22,7 +22,7 @@
     <DebugSymbols>true</DebugSymbols>
     <DebugType>full</DebugType>
     <Optimize>false</Optimize>
-    <OutputPath>build\cf-2.0\debug\</OutputPath>
+    <OutputPath>build\netcf-2.0\debug\</OutputPath>
     <DefineConstants>TRACE;DEBUG;PocketPC, NETCF, NETCF_2_0</DefineConstants>
     <NoStdLib>true</NoStdLib>
     <NoConfig>true</NoConfig>

Added: activemq/activemq-dotnet/trunk/vs2005-stomp-test.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-stomp-test.csproj?view=auto&rev=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-stomp-test.csproj (added)
+++ activemq/activemq-dotnet/trunk/vs2005-stomp-test.csproj Mon Mar  5 09:01:13 2007
@@ -0,0 +1,73 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.50727</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{F2F94D96-90F0-4724-A19F-086067556F39}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>Stomp.Test</RootNamespace>
+    <AssemblyName>NMS.Stomp.Test</AssemblyName>
+    <WarningLevel>4</WarningLevel>
+    <SignAssembly>false</SignAssembly>
+    <AssemblyOriginatorKeyFile>activemq-dotnet.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>build\net-2.0\debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugSymbols>false</DebugSymbols>
+    <Optimize>true</Optimize>
+    <OutputPath>build\net-2.0\release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="nunit.framework, Version=2.2.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>lib\all\nunit\nunit.framework.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="activemq-dotnet.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="vs2005-activemq.csproj">
+      <Project>{08321F42-4B3D-4815-B592-95962BAC3B9F}</Project>
+      <Name>vs2005-activemq</Name>
+    </ProjectReference>
+    <ProjectReference Include="vs2005-nms-test.csproj">
+      <Project>{2F3ABCF5-EE87-43B1-9DE7-0548FD6A4E52}</Project>
+      <Name>vs2005-nms-test</Name>
+    </ProjectReference>
+    <ProjectReference Include="vs2005-nms.csproj">
+      <Project>{300C1716-0674-4D01-8F5D-151E59A504FE}</Project>
+      <Name>vs2005-nms</Name>
+    </ProjectReference>
+    <ProjectReference Include="vs2005-stomp.csproj">
+      <Project>{629E243B-AE34-44F5-A7E3-1BA40668E55C}</Project>
+      <Name>vs2005-stomp</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="src\test\csharp\Stomp\BadConsumeTest.cs" />
+    <Compile Include="src\test\csharp\Stomp\CommonAssemblyInfo.cs" />
+    <Compile Include="src\test\csharp\Stomp\ConsumerTest.cs" />
+    <Compile Include="src\test\csharp\Stomp\DurableTest.cs" />
+    <Compile Include="src\test\csharp\Stomp\MapMessageTest.cs" />
+    <Compile Include="src\test\csharp\Stomp\NMSPropertyTest.cs" />
+    <Compile Include="src\test\csharp\Stomp\StompHelperTest.cs" />
+    <Compile Include="src\test\csharp\Stomp\TemporaryQueueTest.cs" />
+    <Compile Include="src\test\csharp\Stomp\TextMessage.cs" />
+    <Compile Include="src\test\csharp\Stomp\TransactionTest.cs" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+</Project>
\ No newline at end of file

Added: activemq/activemq-dotnet/trunk/vs2005-stomp.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-stomp.csproj?view=auto&rev=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-stomp.csproj (added)
+++ activemq/activemq-dotnet/trunk/vs2005-stomp.csproj Mon Mar  5 09:01:13 2007
@@ -0,0 +1,52 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.50727</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{629E243B-AE34-44F5-A7E3-1BA40668E55C}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>Stomp</RootNamespace>
+    <AssemblyName>NMS.Stomp</AssemblyName>
+    <WarningLevel>4</WarningLevel>
+    <SignAssembly>false</SignAssembly>
+    <AssemblyOriginatorKeyFile>activemq-dotnet.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>build\net-2.0\debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugSymbols>false</DebugSymbols>
+    <Optimize>true</Optimize>
+    <OutputPath>build\net-2.0\release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="activemq-dotnet.snk" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="vs2005-activemq.csproj">
+      <Project>{08321F42-4B3D-4815-B592-95962BAC3B9F}</Project>
+      <Name>vs2005-activemq</Name>
+    </ProjectReference>
+    <ProjectReference Include="vs2005-nms.csproj">
+      <Project>{300C1716-0674-4D01-8F5D-151E59A504FE}</Project>
+      <Name>vs2005-nms</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="src\main\csharp\Stomp\ConnectionFactory.cs" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+</Project>
\ No newline at end of file

Modified: activemq/activemq-dotnet/trunk/vs2005.sln
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005.sln?view=diff&rev=514732&r1=514731&r2=514732
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005.sln (original)
+++ activemq/activemq-dotnet/trunk/vs2005.sln Mon Mar  5 09:01:13 2007
@@ -17,6 +17,10 @@
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-activemq-cf20", "vs2005-activemq-cf20.csproj", "{B166EC33-6048-4231-BCCA-6C5AE55139A3}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-stomp", "vs2005-stomp.csproj", "{629E243B-AE34-44F5-A7E3-1BA40668E55C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-stomp-test", "vs2005-stomp-test.csproj", "{F2F94D96-90F0-4724-A19F-086067556F39}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -55,6 +59,14 @@
 		{B166EC33-6048-4231-BCCA-6C5AE55139A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{B166EC33-6048-4231-BCCA-6C5AE55139A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{B166EC33-6048-4231-BCCA-6C5AE55139A3}.Release|Any CPU.Build.0 = Release|Any CPU
+		{629E243B-AE34-44F5-A7E3-1BA40668E55C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{629E243B-AE34-44F5-A7E3-1BA40668E55C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{629E243B-AE34-44F5-A7E3-1BA40668E55C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{629E243B-AE34-44F5-A7E3-1BA40668E55C}.Release|Any CPU.Build.0 = Release|Any CPU
+		{F2F94D96-90F0-4724-A19F-086067556F39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{F2F94D96-90F0-4724-A19F-086067556F39}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{F2F94D96-90F0-4724-A19F-086067556F39}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{F2F94D96-90F0-4724-A19F-086067556F39}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE