activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r762089 - in /activemq/activemq-cpp/trunk/activemq-cpp: pom.xml src/main/Makefile.am
Date Sun, 05 Apr 2009 14:22:39 GMT
Author: tabish
Date: Sun Apr  5 14:22:39 2009
New Revision: 762089

URL: http://svn.apache.org/viewvc?rev=762089&view=rev
Log:
Make this dir a maven project and update the makefile using the Makefile generator.

Added:
    activemq/activemq-cpp/trunk/activemq-cpp/pom.xml   (with props)
Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am

Added: activemq/activemq-cpp/trunk/activemq-cpp/pom.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/pom.xml?rev=762089&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/pom.xml (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/pom.xml Sun Apr  5 14:22:39 2009
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.activemq</groupId>
+    <artifactId>activemq-cpp-parent</artifactId>
+    <version>3.0-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+
+  <artifactId>activemq-cpp-library</artifactId>
+  <packaging>pom</packaging>
+  <name>ActiveMQ-CPP Library</name>
+  <description>The ActiveMQ-CPP Library</description>
+  <version>3.0-SNAPSHOT</version>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.activemq</groupId>
+      <artifactId>activemq-cpp-openwire-generator</artifactId>
+      <version>${activemq-cpp-openwire-generator-version}</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <!-- Used to generate the openwire commands and marshalers -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <inherited>false</inherited>
+        <configuration>
+          <tasks>
+            <taskdef name="generate" classname="org.apache.activemq.openwire.tool.AmqCppGeneratorTask"/>
+            <generate maxVersion="3" source="${activemq-core-dir}" target="${basedir}"/>
+          </tasks>
+        </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.activemq</groupId>
+            <artifactId>activemq-cpp-openwire-generator</artifactId>
+            <version>2.0</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.activemq.maven</groupId>
+        <artifactId>maven-amqcpp-tooling-plugin</artifactId>
+        <inherited>false</inherited>
+        <executions>
+          <execution>
+            <id>Test-Makefile</id>
+            <configuration>
+              <outputDirectory>${basedir}/src/test/</outputDirectory>
+              <template>${basedir}/src/test/Makefile.maven</template>
+              <sources>
+                <directory>${basedir}/src/test/</directory>
+                <includes>
+                  <includes>**\*.cpp</includes>
+                </includes>
+                <excludes>
+                  <exclude>**/activemq/wireformat/stomp/**\*.cpp</exclude>
+                  <exclude>**/activemq/wireformat/openwire/marshal/v*/**\*.cpp</exclude>
+                </excludes>
+              </sources>
+              <headers>
+                <directory>${basedir}/src/test/</directory>
+                <includes>
+                  <includes>**\*.h</includes>
+                </includes>
+                <excludes>
+                  <exclude>**/activemq/wireformat/stomp/**\*.h</exclude>
+                  <exclude>**/activemq/wireformat/openwire/marshal/v*/**\*.h</exclude>
+                </excludes>
+              </headers>
+            </configuration>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>makefile</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>Main-Makefile</id>
+            <configuration>
+              <outputDirectory>${basedir}/src/main/</outputDirectory>
+              <template>${basedir}/src/main/Makefile.maven</template>
+              <sources>
+                <directory>${basedir}/src/main/</directory>
+                <includes>
+                  <includes>**\*.cpp</includes>
+                </includes>
+                <excludes>
+                  <exclude>**/decaf/security/**\*.cpp</exclude>
+                  <exclude>**/decaf/security_provider/**\*.cpp</exclude>
+                  <exclude>**/activemq/wireformat/stomp/**\*.cpp</exclude>
+                </excludes>
+              </sources>
+              <headers>
+                <directory>${basedir}/src/main/</directory>
+                <includes>
+                  <includes>**\*.h</includes>
+                </includes>
+                <excludes>
+                  <exclude>**/decaf/security/**\*.h</exclude>
+                  <exclude>**/decaf/security_provider/**\*.h</exclude>
+                  <exclude>**/activemq/wireformat/stomp/**\*.h</exclude>
+                </excludes>
+              </headers>
+            </configuration>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>makefile</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am?rev=762089&r1=762088&r2=762089&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am Sun Apr  5 14:22:39 2009
@@ -16,7 +16,6 @@
 # ---------------------------------------------------------------------------
 
 cc_sources = \
-    cms/CMSException.cpp \
     decaf/lang/Float.cpp \
     decaf/lang/Boolean.cpp \
     decaf/lang/Integer.cpp \
@@ -89,6 +88,7 @@
     decaf/io/BufferedOutputStream.cpp \
     decaf/io/BlockingByteArrayInputStream.cpp \
     decaf/io/DataInputStream.cpp \
+    cms/CMSException.cpp \
     activemq/transport/mock/MockTransportFactory.cpp \
     activemq/transport/mock/MockTransport.cpp \
     activemq/transport/mock/InternalCommandListener.cpp \



Mime
View raw message