activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r512770 - in /activemq/activemq-dotnet/trunk: ./ src/main/csharp/ActiveMQ/ src/main/csharp/ActiveMQ/Transport/Stomp/ src/main/csharp/MSMQ/ src/main/csharp/NMS/ src/test/csharp/ActiveMQ/ src/test/csharp/NMS/Test/ src/test/csharp/Stomp/
Date Wed, 28 Feb 2007 14:34:14 GMT
Author: chirino
Date: Wed Feb 28 06:34:12 2007
New Revision: 512770

URL: http://svn.apache.org/viewvc?view=rev&rev=512770
Log:
Updated the vs2500 project files so that they can build the projects again.
Made some small changes so that it can still build under the CF2.0 framework.

Modified:
    activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/CommonAssemblyInfo.cs
    activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/ConnectionFactory.cs
    activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Transport/Stomp/StompWireFormat.cs
    activemq/activemq-dotnet/trunk/src/main/csharp/MSMQ/CommonAssemblyInfo.cs
    activemq/activemq-dotnet/trunk/src/main/csharp/NMS/CommonAssemblyInfo.cs
    activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/CommonAssemblyInfo.cs
    activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/CommonAssemblyInfo.cs
    activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/CommonAssemblyInfo.cs
    activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj
    activemq/activemq-dotnet/trunk/vs2005-activemq-test.csproj
    activemq/activemq-dotnet/trunk/vs2005-activemq.csproj
    activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj
    activemq/activemq-dotnet/trunk/vs2005-nms-test.csproj
    activemq/activemq-dotnet/trunk/vs2005-nms.csproj

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=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/CommonAssemblyInfo.cs Wed Feb
28 06:34:12 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/ConnectionFactory.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/ConnectionFactory.cs?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/ConnectionFactory.cs (original)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/ConnectionFactory.cs Wed Feb 28
06:34:12 2007
@@ -38,11 +38,15 @@
         
 		public static string GetDefaultBrokerUrl()
 		{
-			string answer = Environment.GetEnvironmentVariable(ENV_BROKER_URL);
+#if (PocketPC||NETCF||NETCF_2_0)
+            return DEFAULT_BROKER_URL;
+#else
+            string answer = Environment.GetEnvironmentVariable(ENV_BROKER_URL);
 			if (answer == null) {
 				answer = DEFAULT_BROKER_URL;
 			}
 			return answer;
+#endif
 		}
 		
         public ConnectionFactory()

Modified: activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Transport/Stomp/StompWireFormat.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Transport/Stomp/StompWireFormat.cs?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Transport/Stomp/StompWireFormat.cs
(original)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Transport/Stomp/StompWireFormat.cs
Wed Feb 28 06:34:12 2007
@@ -186,7 +186,7 @@
 			}
 			else 
 			{
-				message = new ActiveMQTextMessage(encoding.GetString(content));
+				message = new ActiveMQTextMessage(encoding.GetString(content, 0, content.Length));
 			}
 
 			if (message is ActiveMQTextMessage)

Modified: activemq/activemq-dotnet/trunk/src/main/csharp/MSMQ/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/MSMQ/CommonAssemblyInfo.cs?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/MSMQ/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/MSMQ/CommonAssemblyInfo.cs Wed Feb 28 06:34:12
2007
@@ -1,17 +1,17 @@
-using System;
+using System;
 using System.Reflection;
 using System.Runtime.InteropServices;
 using System.Messaging;
 
-// ------------------------------------------------------------------------------
-//  <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/NMS/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/NMS/CommonAssemblyInfo.cs?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/NMS/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/NMS/CommonAssemblyInfo.cs Wed Feb 28 06:34:12
2007
@@ -1,21 +1,22 @@
-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)]
 [assembly: AssemblyTitleAttribute("Apache NMS Class Library")]
-[assembly: AssemblyDescriptionAttribute("NMS (.Net Messaging Library): An abstract interface
to Message Oriented Middleware (MOM) providers")]
+[assembly: AssemblyDescriptionAttribute("NMS (.Net Messaging Library): An abstract interface
to Message Oriented Middlewar" +
+    "e (MOM) providers")]
 [assembly: AssemblyConfigurationAttribute("SNAPSHOT")]
 [assembly: AssemblyCompanyAttribute("http://activemq.apache.org/")]
 [assembly: AssemblyProductAttribute("Apache ActiveMQ")]

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/CommonAssemblyInfo.cs?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/CommonAssemblyInfo.cs Wed Feb
28 06:34:12 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/test/csharp/NMS/Test/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/CommonAssemblyInfo.cs?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/CommonAssemblyInfo.cs Wed Feb
28 06:34:12 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/test/csharp/Stomp/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/CommonAssemblyInfo.cs?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/CommonAssemblyInfo.cs Wed Feb 28
06:34:12 2007
@@ -1,27 +1,27 @@
-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>
-// ------------------------------------------------------------------------------
-
-[assembly: ComVisibleAttribute(false)]
-[assembly: CLSCompliantAttribute(true)]
-[assembly: AssemblyTitleAttribute("Stomp .NET Tests")]
-[assembly: AssemblyDescriptionAttribute("Unit Tests for the NMS (.Net Messaging Library)
using the STOMP protocol")]
-[assembly: AssemblyConfigurationAttribute("SNAPSHOT")]
-[assembly: AssemblyCompanyAttribute("http://activemq.apache.org/")]
-[assembly: AssemblyProductAttribute("Apache ActiveMQ")]
-[assembly: AssemblyCopyrightAttribute("Copyright (C) 2005-2007 Apache Software Foundation")]
-[assembly: AssemblyTrademarkAttribute("")]
-[assembly: AssemblyCultureAttribute("")]
-[assembly: AssemblyVersionAttribute("4.0")]
-[assembly: AssemblyInformationalVersionAttribute("4.0")]
-
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+//------------------------------------------------------------------------------
+// <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)]
+[assembly: AssemblyTitleAttribute("Stomp .NET Tests")]
+[assembly: AssemblyDescriptionAttribute("Unit Tests for the NMS (.Net Messaging Library)
using the STOMP protocol")]
+[assembly: AssemblyConfigurationAttribute("SNAPSHOT")]
+[assembly: AssemblyCompanyAttribute("http://activemq.apache.org/")]
+[assembly: AssemblyProductAttribute("Apache ActiveMQ")]
+[assembly: AssemblyCopyrightAttribute("Copyright (C) 2005-2007 Apache Software Foundation")]
+[assembly: AssemblyTrademarkAttribute("")]
+[assembly: AssemblyCultureAttribute("")]
+[assembly: AssemblyVersionAttribute("4.0")]
+[assembly: AssemblyInformationalVersionAttribute("4.0")]
+

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=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj Wed Feb 28 06:34:12 2007
@@ -701,6 +701,8 @@
     <Compile Include="src\main\csharp\ActiveMQ\Transport\ResponseCorrelator.cs">
       <SubType>Code</SubType>
     </Compile>
+    <Compile Include="src\main\csharp\ActiveMQ\Transport\Stomp\StompFrameStream.cs" />
+    <Compile Include="src\main\csharp\ActiveMQ\Transport\Stomp\StompHelper.cs" />
     <Compile Include="src\main\csharp\ActiveMQ\Transport\Stomp\StompWireFormat.cs" />
     <Compile Include="src\main\csharp\ActiveMQ\Transport\Tcp\TcpTransport.cs">
       <SubType>Code</SubType>

Modified: activemq/activemq-dotnet/trunk/vs2005-activemq-test.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-activemq-test.csproj?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-activemq-test.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-activemq-test.csproj Wed Feb 28 06:34:12 2007
@@ -45,8 +45,8 @@
     <Compile Include="src\test\csharp\ActiveMQ\CommonAssemblyInfo.cs" />
     <Compile Include="src\test\csharp\ActiveMQ\ConsumerTest.cs" />
     <Compile Include="src\test\csharp\ActiveMQ\DurableTest.cs" />
-    <Compile Include="src\test\csharp\ActiveMQ\JMSPropertyTest.cs" />
     <Compile Include="src\test\csharp\ActiveMQ\MapMessageTest.cs" />
+    <Compile Include="src\test\csharp\ActiveMQ\NMSPropertyTest.cs" />
     <Compile Include="src\test\csharp\ActiveMQ\OpenWire\BooleanStreamTest.cs">
       <SubType>Code</SubType>
     </Compile>

Modified: activemq/activemq-dotnet/trunk/vs2005-activemq.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-activemq.csproj?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-activemq.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-activemq.csproj Wed Feb 28 06:34:12 2007
@@ -684,6 +684,8 @@
     <Compile Include="src\main\csharp\ActiveMQ\Transport\ResponseCorrelator.cs">
       <SubType>Code</SubType>
     </Compile>
+    <Compile Include="src\main\csharp\ActiveMQ\Transport\Stomp\StompFrameStream.cs" />
+    <Compile Include="src\main\csharp\ActiveMQ\Transport\Stomp\StompHelper.cs" />
     <Compile Include="src\main\csharp\ActiveMQ\Transport\Stomp\StompWireFormat.cs" />
     <Compile Include="src\main\csharp\ActiveMQ\Transport\Tcp\TcpTransport.cs">
       <SubType>Code</SubType>

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=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj Wed Feb 28 06:34:12 2007
@@ -59,6 +59,7 @@
     <Compile Include="src\main\csharp\NMS\IMessage.cs" />
     <Compile Include="src\main\csharp\NMS\IMessageConsumer.cs" />
     <Compile Include="src\main\csharp\NMS\IMessageProducer.cs" />
+    <Compile Include="src\main\csharp\NMS\InvalidDestinationException.cs" />
     <Compile Include="src\main\csharp\NMS\IObjectMessage.cs" />
     <Compile Include="src\main\csharp\NMS\IPrimitiveMap.cs" />
     <Compile Include="src\main\csharp\NMS\IQueue.cs" />

Modified: activemq/activemq-dotnet/trunk/vs2005-nms-test.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-nms-test.csproj?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-nms-test.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-nms-test.csproj Wed Feb 28 06:34:12 2007
@@ -53,9 +53,7 @@
     <Compile Include="src\test\csharp\NMS\Test\DurableTest.cs">
       <SubType>Code</SubType>
     </Compile>
-    <Compile Include="src\test\csharp\NMS\Test\JMSPropertyTest.cs">
-      <SubType>Code</SubType>
-    </Compile>
+    <Compile Include="src\test\csharp\NMS\Test\NMSPropertyTest.cs" />
     <Compile Include="src\test\csharp\NMS\Test\NMSTestSupport.cs">
       <SubType>Code</SubType>
     </Compile>

Modified: activemq/activemq-dotnet/trunk/vs2005-nms.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-nms.csproj?view=diff&rev=512770&r1=512769&r2=512770
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-nms.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-nms.csproj Wed Feb 28 06:34:12 2007
@@ -44,6 +44,7 @@
     <Compile Include="src\main\csharp\NMS\IMessage.cs" />
     <Compile Include="src\main\csharp\NMS\IMessageConsumer.cs" />
     <Compile Include="src\main\csharp\NMS\IMessageProducer.cs" />
+    <Compile Include="src\main\csharp\NMS\InvalidDestinationException.cs" />
     <Compile Include="src\main\csharp\NMS\IObjectMessage.cs" />
     <Compile Include="src\main\csharp\NMS\IPrimitiveMap.cs" />
     <Compile Include="src\main\csharp\NMS\IQueue.cs" />



Mime
View raw message