activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r450293 [1/3] - in /incubator/activemq/sandbox/openwire-c: openwire.xcodeproj/project.pbxproj pom.xml src/libactivemq/amqcs.c src/libactivemq/amqcs.h src/libopenwire/ow_commands_v2.c src/libopenwire/ow_commands_v2.h
Date Wed, 27 Sep 2006 02:59:06 GMT
Author: chirino
Date: Tue Sep 26 19:59:05 2006
New Revision: 450293

URL: http://svn.apache.org/viewvc?view=rev&rev=450293
Log:
Added a pom that can be used to generate the openwire marshallers.  And regenerated the marshallers
with the latest generator.

Added:
    incubator/activemq/sandbox/openwire-c/pom.xml
Modified:
    incubator/activemq/sandbox/openwire-c/openwire.xcodeproj/project.pbxproj
    incubator/activemq/sandbox/openwire-c/src/libactivemq/amqcs.c
    incubator/activemq/sandbox/openwire-c/src/libactivemq/amqcs.h
    incubator/activemq/sandbox/openwire-c/src/libopenwire/ow_commands_v2.c
    incubator/activemq/sandbox/openwire-c/src/libopenwire/ow_commands_v2.h

Modified: incubator/activemq/sandbox/openwire-c/openwire.xcodeproj/project.pbxproj
URL: http://svn.apache.org/viewvc/incubator/activemq/sandbox/openwire-c/openwire.xcodeproj/project.pbxproj?view=diff&rev=450293&r1=450292&r2=450293
==============================================================================
--- incubator/activemq/sandbox/openwire-c/openwire.xcodeproj/project.pbxproj (original)
+++ incubator/activemq/sandbox/openwire-c/openwire.xcodeproj/project.pbxproj Tue Sep 26 19:59:05
2006
@@ -7,22 +7,21 @@
 	objects = {
 
 /* Begin PBXBuildFile section */
+		53716F530ACA162700C7C3FE /* ow_commands_v2.c in Sources */ = {isa = PBXBuildFile; fileRef
= 53716F510ACA162700C7C3FE /* ow_commands_v2.c */; };
+		53716F540ACA162700C7C3FE /* ow_commands_v2.h in Headers */ = {isa = PBXBuildFile; fileRef
= 53716F520ACA162700C7C3FE /* ow_commands_v2.h */; };
+		53716F5E0ACA18AD00C7C3FE /* libapr-1.a in Frameworks */ = {isa = PBXBuildFile; fileRef
= 53716F5D0ACA18AD00C7C3FE /* libapr-1.a */; };
+		53716F5F0ACA18AD00C7C3FE /* libapr-1.a in Frameworks */ = {isa = PBXBuildFile; fileRef
= 53716F5D0ACA18AD00C7C3FE /* libapr-1.a */; };
+		53716F600ACA18AD00C7C3FE /* libapr-1.a in Frameworks */ = {isa = PBXBuildFile; fileRef
= 53716F5D0ACA18AD00C7C3FE /* libapr-1.a */; };
 		53C445DF08E4A71D006387E9 /* ow_marshal.c in Sources */ = {isa = PBXBuildFile; fileRef =
53C445B208E4A19E006387E9 /* ow_marshal.c */; };
-		53C445E008E4A71D006387E9 /* ow_commands_v1.c in Sources */ = {isa = PBXBuildFile; fileRef
= 53C445B508E4A19E006387E9 /* ow_commands_v1.c */; };
 		53C445E108E4A71D006387E9 /* ow.c in Sources */ = {isa = PBXBuildFile; fileRef = 53C445B708E4A19E006387E9
/* ow.c */; };
 		53C445E208E4A71D006387E9 /* ow_buffer.c in Sources */ = {isa = PBXBuildFile; fileRef =
53C445B008E4A19E006387E9 /* ow_buffer.c */; };
 		53C445E308E4A729006387E9 /* ow.h in Headers */ = {isa = PBXBuildFile; fileRef = 53C445B808E4A19E006387E9
/* ow.h */; };
-		53C445E508E4A729006387E9 /* ow_commands_v1.h in Headers */ = {isa = PBXBuildFile; fileRef
= 53C445B608E4A19E006387E9 /* ow_commands_v1.h */; };
-		53C445E608E4A729006387E9 /* ow_command_types_v1.h in Headers */ = {isa = PBXBuildFile;
fileRef = 53C445B408E4A19E006387E9 /* ow_command_types_v1.h */; };
 		53C445E708E4A758006387E9 /* amqcs.c in Sources */ = {isa = PBXBuildFile; fileRef = 53C445BB08E4A20A006387E9
/* amqcs.c */; };
 		53C445E808E4A75C006387E9 /* amqcs.h in Headers */ = {isa = PBXBuildFile; fileRef = 53C445BC08E4A20A006387E9
/* amqcs.h */; };
 		53C445E908E4A77A006387E9 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 53C445BE08E4A266006387E9
/* main.c */; };
 		53C445EA08E4A7DD006387E9 /* openwire.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef
= 53C445C308E4A3CA006387E9 /* openwire.dylib */; };
 		53C445EB08E4A7E3006387E9 /* activemq.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef
= 53C445CD08E4A6B2006387E9 /* activemq.dylib */; };
-		53C4461008E4AD63006387E9 /* libapr-1.a in Frameworks */ = {isa = PBXBuildFile; fileRef
= 53D4A4E508A9091000CAE09B /* libapr-1.a */; };
-		53C4462608E4AFED006387E9 /* libapr-1.a in Frameworks */ = {isa = PBXBuildFile; fileRef
= 53D4A4E508A9091000CAE09B /* libapr-1.a */; };
 		53C4462908E4B01A006387E9 /* openwire.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef
= 53C445C308E4A3CA006387E9 /* openwire.dylib */; };
-		53C4462E08E4B06A006387E9 /* libapr-1.a in Frameworks */ = {isa = PBXBuildFile; fileRef
= 53D4A4E508A9091000CAE09B /* libapr-1.a */; };
 /* End PBXBuildFile section */
 
 /* Begin PBXBuildStyle section */
@@ -67,12 +66,11 @@
 /* End PBXContainerItemProxy section */
 
 /* Begin PBXFileReference section */
-		530E4E5E08AC5438007E3535 /* GenerateCMarshalling.groovy */ = {isa = PBXFileReference; fileEncoding
= 30; lastKnownFileType = text; name = GenerateCMarshalling.groovy; path = "../activemq-core/src/gram/script/GenerateCMarshalling.groovy";
sourceTree = SOURCE_ROOT; };
+		53716F510ACA162700C7C3FE /* ow_commands_v2.c */ = {isa = PBXFileReference; fileEncoding
= 30; lastKnownFileType = sourcecode.c.c; name = ow_commands_v2.c; path = src/libopenwire/ow_commands_v2.c;
sourceTree = "<group>"; };
+		53716F520ACA162700C7C3FE /* ow_commands_v2.h */ = {isa = PBXFileReference; fileEncoding
= 30; lastKnownFileType = sourcecode.c.h; name = ow_commands_v2.h; path = src/libopenwire/ow_commands_v2.h;
sourceTree = "<group>"; };
+		53716F5D0ACA18AD00C7C3FE /* libapr-1.a */ = {isa = PBXFileReference; lastKnownFileType
= archive.ar; name = "libapr-1.a"; path = "../../../opt/lib/libapr-1.a"; sourceTree = SOURCE_ROOT;
};
 		53C445B008E4A19E006387E9 /* ow_buffer.c */ = {isa = PBXFileReference; fileEncoding = 30;
lastKnownFileType = sourcecode.c.c; name = ow_buffer.c; path = src/libopenwire/ow_buffer.c;
sourceTree = "<group>"; };
 		53C445B208E4A19E006387E9 /* ow_marshal.c */ = {isa = PBXFileReference; fileEncoding = 30;
lastKnownFileType = sourcecode.c.c; name = ow_marshal.c; path = src/libopenwire/ow_marshal.c;
sourceTree = "<group>"; };
-		53C445B408E4A19E006387E9 /* ow_command_types_v1.h */ = {isa = PBXFileReference; fileEncoding
= 30; lastKnownFileType = sourcecode.c.h; name = ow_command_types_v1.h; path = src/libopenwire/ow_command_types_v1.h;
sourceTree = "<group>"; };
-		53C445B508E4A19E006387E9 /* ow_commands_v1.c */ = {isa = PBXFileReference; fileEncoding
= 30; lastKnownFileType = sourcecode.c.c; name = ow_commands_v1.c; path = src/libopenwire/ow_commands_v1.c;
sourceTree = "<group>"; };
-		53C445B608E4A19E006387E9 /* ow_commands_v1.h */ = {isa = PBXFileReference; fileEncoding
= 30; lastKnownFileType = sourcecode.c.h; name = ow_commands_v1.h; path = src/libopenwire/ow_commands_v1.h;
sourceTree = "<group>"; };
 		53C445B708E4A19E006387E9 /* ow.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType
= sourcecode.c.c; name = ow.c; path = src/libopenwire/ow.c; sourceTree = "<group>";
};
 		53C445B808E4A19E006387E9 /* ow.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType
= sourcecode.c.h; name = ow.h; path = src/libopenwire/ow.h; sourceTree = "<group>";
};
 		53C445BB08E4A20A006387E9 /* amqcs.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType
= sourcecode.c.c; name = amqcs.c; path = src/libactivemq/amqcs.c; sourceTree = "<group>";
};
@@ -80,8 +78,7 @@
 		53C445BE08E4A266006387E9 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType
= sourcecode.c.c; name = main.c; path = src/examples/main.c; sourceTree = "<group>";
};
 		53C445C308E4A3CA006387E9 /* openwire.dylib */ = {isa = PBXFileReference; explicitFileType
= "compiled.mach-o.dylib"; includeInIndex = 0; path = openwire.dylib; sourceTree = BUILT_PRODUCTS_DIR;
};
 		53C445CD08E4A6B2006387E9 /* activemq.dylib */ = {isa = PBXFileReference; explicitFileType
= "compiled.mach-o.dylib"; includeInIndex = 0; path = activemq.dylib; sourceTree = BUILT_PRODUCTS_DIR;
};
-		53C445D108E4A6CA006387E9 /* main */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType
= "compiled.mach-o.executable"; path = main; sourceTree = BUILT_PRODUCTS_DIR; };
-		53D4A4E508A9091000CAE09B /* libapr-1.a */ = {isa = PBXFileReference; lastKnownFileType
= archive.ar; name = "libapr-1.a"; path = "../../apr/lib/libapr-1.a"; sourceTree = "<group>";
};
+		53C445D108E4A6CA006387E9 /* main */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable";
includeInIndex = 0; path = main; sourceTree = BUILT_PRODUCTS_DIR; };
 /* End PBXFileReference section */
 
 /* Begin PBXFrameworksBuildPhase section */
@@ -89,7 +86,7 @@
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				53C4461008E4AD63006387E9 /* libapr-1.a in Frameworks */,
+				53716F5E0ACA18AD00C7C3FE /* libapr-1.a in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -98,7 +95,7 @@
 			buildActionMask = 2147483647;
 			files = (
 				53C4462908E4B01A006387E9 /* openwire.dylib in Frameworks */,
-				53C4462608E4AFED006387E9 /* libapr-1.a in Frameworks */,
+				53716F5F0ACA18AD00C7C3FE /* libapr-1.a in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -106,9 +103,9 @@
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				53C4462E08E4B06A006387E9 /* libapr-1.a in Frameworks */,
 				53C445EB08E4A7E3006387E9 /* activemq.dylib in Frameworks */,
 				53C445EA08E4A7DD006387E9 /* openwire.dylib in Frameworks */,
+				53716F600ACA18AD00C7C3FE /* libapr-1.a in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -118,11 +115,10 @@
 		08FB7794FE84155DC02AAC07 /* amqc */ = {
 			isa = PBXGroup;
 			children = (
+				53716F5D0ACA18AD00C7C3FE /* libapr-1.a */,
 				53C445B908E4A1A7006387E9 /* libopenwire */,
 				53C445BA08E4A1F1006387E9 /* libactivemq */,
 				53C445BD08E4A249006387E9 /* examples */,
-				53D4A4E508A9091000CAE09B /* libapr-1.a */,
-				530E4E5E08AC5438007E3535 /* GenerateCMarshalling.groovy */,
 				53C445C408E4A3CA006387E9 /* Products */,
 			);
 			name = amqc;
@@ -131,11 +127,10 @@
 		53C445B908E4A1A7006387E9 /* libopenwire */ = {
 			isa = PBXGroup;
 			children = (
+				53716F510ACA162700C7C3FE /* ow_commands_v2.c */,
+				53716F520ACA162700C7C3FE /* ow_commands_v2.h */,
 				53C445B008E4A19E006387E9 /* ow_buffer.c */,
 				53C445B208E4A19E006387E9 /* ow_marshal.c */,
-				53C445B408E4A19E006387E9 /* ow_command_types_v1.h */,
-				53C445B508E4A19E006387E9 /* ow_commands_v1.c */,
-				53C445B608E4A19E006387E9 /* ow_commands_v1.h */,
 				53C445B708E4A19E006387E9 /* ow.c */,
 				53C445B808E4A19E006387E9 /* ow.h */,
 			);
@@ -177,8 +172,7 @@
 			buildActionMask = 2147483647;
 			files = (
 				53C445E308E4A729006387E9 /* ow.h in Headers */,
-				53C445E508E4A729006387E9 /* ow_commands_v1.h in Headers */,
-				53C445E608E4A729006387E9 /* ow_command_types_v1.h in Headers */,
+				53716F540ACA162700C7C3FE /* ow_commands_v2.h in Headers */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -332,9 +326,9 @@
 			buildActionMask = 2147483647;
 			files = (
 				53C445DF08E4A71D006387E9 /* ow_marshal.c in Sources */,
-				53C445E008E4A71D006387E9 /* ow_commands_v1.c in Sources */,
 				53C445E108E4A71D006387E9 /* ow.c in Sources */,
 				53C445E208E4A71D006387E9 /* ow_buffer.c in Sources */,
+				53716F530ACA162700C7C3FE /* ow_commands_v2.c in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -379,7 +373,10 @@
 				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
 				GCC_MODEL_TUNING = G5;
 				INSTALL_PATH = /usr/local/lib;
-				LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../apr/lib\"";
+				LIBRARY_SEARCH_PATHS = (
+					"$(SRCROOT)/../../apr/lib",
+					"$(SRCROOT)/../../../opt/lib",
+				);
 				LIBRARY_STYLE = DYNAMIC;
 				MACH_O_TYPE = mh_dylib;
 				OPTIMIZATION_CFLAGS = "-O0";
@@ -406,7 +403,10 @@
 				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
 				GCC_MODEL_TUNING = G5;
 				INSTALL_PATH = /usr/local/lib;
-				LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../apr/lib\"";
+				LIBRARY_SEARCH_PATHS = (
+					"$(SRCROOT)/../../apr/lib",
+					"$(SRCROOT)/../../../opt/lib",
+				);
 				LIBRARY_STYLE = DYNAMIC;
 				MACH_O_TYPE = mh_dylib;
 				OPTIMIZATION_CFLAGS = "-O0";
@@ -432,7 +432,10 @@
 				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
 				GCC_MODEL_TUNING = G5;
 				INSTALL_PATH = /usr/local/lib;
-				LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../apr/lib\"";
+				LIBRARY_SEARCH_PATHS = (
+					"$(SRCROOT)/../../apr/lib",
+					"$(SRCROOT)/../../../opt/lib",
+				);
 				LIBRARY_STYLE = DYNAMIC;
 				MACH_O_TYPE = mh_dylib;
 				OPTIMIZATION_CFLAGS = "-O0";
@@ -458,8 +461,15 @@
 				DYLIB_CURRENT_VERSION = 1;
 				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
 				GCC_MODEL_TUNING = G5;
+				HEADER_SEARCH_PATHS = (
+					src/libopenwire,
+					"/Users/chirino/opt/include/apr-1",
+				);
 				INSTALL_PATH = /usr/local/lib;
-				LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../apr/lib\"";
+				LIBRARY_SEARCH_PATHS = (
+					"$(SRCROOT)/../../apr/lib",
+					"$(SRCROOT)/../../../opt/lib",
+				);
 				LIBRARY_STYLE = DYNAMIC;
 				MACH_O_TYPE = mh_dylib;
 				OPTIMIZATION_CFLAGS = "-O0";
@@ -485,8 +495,15 @@
 				DYLIB_CURRENT_VERSION = 1;
 				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
 				GCC_MODEL_TUNING = G5;
+				HEADER_SEARCH_PATHS = (
+					src/libopenwire,
+					"/Users/chirino/opt/include/apr-1",
+				);
 				INSTALL_PATH = /usr/local/lib;
-				LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../apr/lib\"";
+				LIBRARY_SEARCH_PATHS = (
+					"$(SRCROOT)/../../apr/lib",
+					"$(SRCROOT)/../../../opt/lib",
+				);
 				LIBRARY_STYLE = DYNAMIC;
 				MACH_O_TYPE = mh_dylib;
 				OPTIMIZATION_CFLAGS = "-O0";
@@ -511,8 +528,15 @@
 				DYLIB_CURRENT_VERSION = 1;
 				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
 				GCC_MODEL_TUNING = G5;
+				HEADER_SEARCH_PATHS = (
+					src/libopenwire,
+					"/Users/chirino/opt/include/apr-1",
+				);
 				INSTALL_PATH = /usr/local/lib;
-				LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../apr/lib\"";
+				LIBRARY_SEARCH_PATHS = (
+					"$(SRCROOT)/../../apr/lib",
+					"$(SRCROOT)/../../../opt/lib",
+				);
 				LIBRARY_STYLE = DYNAMIC;
 				MACH_O_TYPE = mh_dylib;
 				OPTIMIZATION_CFLAGS = "-O0";
@@ -537,7 +561,10 @@
 				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
 				GCC_MODEL_TUNING = G5;
 				INSTALL_PATH = "$(HOME)/bin";
-				LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../apr/lib\"";
+				LIBRARY_SEARCH_PATHS = (
+					"$(SRCROOT)/../../apr/lib",
+					"$(SRCROOT)/../../../opt/lib",
+				);
 				OPTIMIZATION_CFLAGS = "-O0";
 				OTHER_CFLAGS = "";
 				OTHER_LDFLAGS = "";
@@ -560,7 +587,10 @@
 				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
 				GCC_MODEL_TUNING = G5;
 				INSTALL_PATH = "$(HOME)/bin";
-				LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../apr/lib\"";
+				LIBRARY_SEARCH_PATHS = (
+					"$(SRCROOT)/../../apr/lib",
+					"$(SRCROOT)/../../../opt/lib",
+				);
 				OPTIMIZATION_CFLAGS = "-O0";
 				OTHER_CFLAGS = "";
 				OTHER_LDFLAGS = "";
@@ -582,7 +612,10 @@
 				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
 				GCC_MODEL_TUNING = G5;
 				INSTALL_PATH = "$(HOME)/bin";
-				LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../apr/lib\"";
+				LIBRARY_SEARCH_PATHS = (
+					"$(SRCROOT)/../../apr/lib",
+					"$(SRCROOT)/../../../opt/lib",
+				);
 				OPTIMIZATION_CFLAGS = "-O0";
 				OTHER_CFLAGS = "";
 				OTHER_LDFLAGS = "";
@@ -601,27 +634,24 @@
 		53D4A41E08A8931000CAE09B /* Development */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
-				ARCHS = ppc;
-				HEADER_SEARCH_PATHS = "/usr/local/apr/include/apr-1";
-				LIBRARY_SEARCH_PATHS = /usr/local/apr/lib;
+				HEADER_SEARCH_PATHS = "/Users/chirino/opt/include/apr-1";
+				LIBRARY_SEARCH_PATHS = /Users/chirino/opt/lib;
 			};
 			name = Development;
 		};
 		53D4A41F08A8931000CAE09B /* Deployment */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
-				ARCHS = ppc;
-				HEADER_SEARCH_PATHS = "/usr/local/apr/include/apr-1";
-				LIBRARY_SEARCH_PATHS = /usr/local/apr/lib;
+				HEADER_SEARCH_PATHS = "/Users/chirino/opt/include/apr-1";
+				LIBRARY_SEARCH_PATHS = /Users/chirino/opt/lib;
 			};
 			name = Deployment;
 		};
 		53D4A42008A8931000CAE09B /* Default */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
-				ARCHS = ppc;
-				HEADER_SEARCH_PATHS = "/usr/local/apr/include/apr-1";
-				LIBRARY_SEARCH_PATHS = /usr/local/apr/lib;
+				HEADER_SEARCH_PATHS = "/Users/chirino/opt/include/apr-1";
+				LIBRARY_SEARCH_PATHS = /Users/chirino/opt/lib;
 			};
 			name = Default;
 		};

Added: incubator/activemq/sandbox/openwire-c/pom.xml
URL: http://svn.apache.org/viewvc/incubator/activemq/sandbox/openwire-c/pom.xml?view=auto&rev=450293
==============================================================================
--- incubator/activemq/sandbox/openwire-c/pom.xml (added)
+++ incubator/activemq/sandbox/openwire-c/pom.xml Tue Sep 26 19:59:05 2006
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+   
+    http://www.apache.org/licenses/LICENSE-2.0
+   
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<project>
+  <parent>
+    <groupId>org.apache.activemq</groupId>
+    <artifactId>activemq-parent</artifactId>
+    <version>4.1-incubator-SNAPSHOT</version>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>openwire-c</artifactId>
+  <packaging>pom</packaging>
+
+  <build>
+
+    <plugins>
+
+      <!-- Used to generate the openwire commands and marshallers -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <configuration>
+          <tasks>
+            <taskdef name="generate" classname="org.apache.activemq.openwire.tool.CGeneratorTask"/>
+            <generate version="2" source="../../activemq-trunk/activemq-core" target="${basedir}"/>
+          </tasks>
+        </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.activemq</groupId>
+            <artifactId>activemq-openwire-generator</artifactId>
+            <version>4.1-incubator-SNAPSHOT</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+
+    </plugins>
+  </build>
+
+</project>

Modified: incubator/activemq/sandbox/openwire-c/src/libactivemq/amqcs.c
URL: http://svn.apache.org/viewvc/incubator/activemq/sandbox/openwire-c/src/libactivemq/amqcs.c?view=diff&rev=450293&r1=450292&r2=450293
==============================================================================
--- incubator/activemq/sandbox/openwire-c/src/libactivemq/amqcs.c (original)
+++ incubator/activemq/sandbox/openwire-c/src/libactivemq/amqcs.c Tue Sep 26 19:59:05 2006
@@ -15,7 +15,10 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+#include "amqcs.h"
+
+static char ACTIVEMQ_MAGIC[] =  { 'A', 'c', 't', 'i', 'v', 'e', 'M', 'Q' };
+
 struct amqcs_connection {
    ow_transport *transport;
    ow_ConnectionInfo *info;
@@ -98,11 +101,11 @@
 ow_WireFormatInfo *create_WireFormatInfo(apr_pool_t *pool) {
    ow_WireFormatInfo *info = ow_WireFormatInfo_create(pool);
    info->version = OW_WIREFORMAT_VERSION;
-   info->cacheEnabled = 0;
-   info->prefixPacketSize = 1;
-   info->tightEncodingEnabled = 1;
-   info->stackTraceEnabled = 0;
-   info->tcpNoDelayEnabled = 0;
+//   info->cacheEnabled = 0;
+//   info->prefixPacketSize = 1;
+//   info->tightEncodingEnabled = 1;
+//   info->stackTraceEnabled = 0;
+//   info->tcpNoDelayEnabled = 0;
    info->magic = ow_byte_array_create_with_data(pool, 8, ACTIVEMQ_MAGIC);
    return info;
 }

Modified: incubator/activemq/sandbox/openwire-c/src/libactivemq/amqcs.h
URL: http://svn.apache.org/viewvc/incubator/activemq/sandbox/openwire-c/src/libactivemq/amqcs.h?view=diff&rev=450293&r1=450292&r2=450293
==============================================================================
--- incubator/activemq/sandbox/openwire-c/src/libactivemq/amqcs.h (original)
+++ incubator/activemq/sandbox/openwire-c/src/libactivemq/amqcs.h Tue Sep 26 19:59:05 2006
@@ -21,7 +21,7 @@
 #define AMQCS_H
 
 #include "ow.h"
-#include "ow_commands_v1.h"
+#include "ow_commands_v2.h"
 
 #ifdef __cplusplus
 extern "C" {



Mime
View raw message