Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 48545 invoked from network); 28 Feb 2007 14:34:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 14:34:40 -0000 Received: (qmail 43150 invoked by uid 500); 28 Feb 2007 14:34:48 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 43129 invoked by uid 500); 28 Feb 2007 14:34:48 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 43120 invoked by uid 99); 28 Feb 2007 14:34:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 06:34:48 -0800 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 06:34:39 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 9E7DF1A981A; Wed, 28 Feb 2007 06:34:18 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 -0000 To: commits@activemq.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070228143418.9E7DF1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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; -// ------------------------------------------------------------------------------ -// -// 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. -// -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ [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; -// ------------------------------------------------------------------------------ -// -// 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. -// -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ [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; -// ------------------------------------------------------------------------------ -// -// 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. -// -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ [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; -// ------------------------------------------------------------------------------ -// -// 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. -// -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ [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; -// ------------------------------------------------------------------------------ -// -// 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. -// -// ------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ [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; - -// ------------------------------------------------------------------------------ -// -// 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. -// -// ------------------------------------------------------------------------------ - -[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; + +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +[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 @@ Code + + Code 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 @@ - + Code 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 @@ Code + + Code 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 @@ + 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 @@ Code - - Code - + Code 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 @@ +