]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-5753: Created a container module, in the services source code tree, for adding...
authorAron Roberts <aron@socrates.berkeley.edu>
Tue, 4 Dec 2012 04:05:47 +0000 (20:05 -0800)
committerAron Roberts <aron@socrates.berkeley.edu>
Tue, 4 Dec 2012 04:05:47 +0000 (20:05 -0800)
3rdparty/nuxeo/build.xml
3rdparty/nuxeo/nuxeo-platform-listener/build.xml [new file with mode: 0644]
3rdparty/nuxeo/nuxeo-platform-listener/pom.xml [new file with mode: 0644]
3rdparty/nuxeo/pom.xml

index c81dcae69e612a9dbfa4ce2e7cc28c723efd2200..a5f114cb424a6685dfd7fdd6fca6f27c46c37912 100644 (file)
@@ -3,9 +3,9 @@
     <description>\r
         collectionspace nuxeo\r
     </description>\r
-  <!-- set global properties for this build -->\r
+    <!-- set global properties for this build -->\r
     <property name="services.trunk" value="../.."/>\r
-    <!-- enviornment should be declared before reading build.properties -->\r
+    <!-- environment should be declared before reading build.properties -->\r
     <property environment="env" />\r
     <property file="${services.trunk}/build.properties" />\r
     <property name="mvn.opts" value="" />\r
             </filterset>\r
         </copy>\r
         <ant antfile="nuxeo-platform-collectionspace/build.xml" target="deploy" inheritall="false"/>\r
+        <ant antfile="nuxeo-platform-listener/build.xml" target="deploy" inheritall="false"/>\r
                                <!-- Disabled due to integration issues between ImageMagick and Ghostscript on Linux systems        \r
         <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" inheritall="false"/>\r
         -->\r
         <delete dir="${jee.server.cspace}/nuxeo-server/config"/>\r
         <delete dir="${jee.server.cspace}/nuxeo-server/lib"/>\r
         <ant antfile="nuxeo-platform-collectionspace/build.xml" target="undeploy" inheritall="false"/>\r
+        <ant antfile="nuxeo-platform-listener/build.xml" target="undeploy" inheritall="false"/>\r
                <ant antfile="nuxeo-platform-quote/build.xml" target="undeploy" inheritall="false"/>\r
                <ant antfile="nuxeo-platform-quote-api/build.xml" target="undeploy" inheritall="false"/>\r
                <!-- Disabled due to integration issues between ImageMagick and Ghostscript on Linux systems\r
diff --git a/3rdparty/nuxeo/nuxeo-platform-listener/build.xml b/3rdparty/nuxeo/nuxeo-platform-listener/build.xml
new file mode 100644 (file)
index 0000000..e20c61f
--- /dev/null
@@ -0,0 +1,131 @@
+<project name="nuxeo-listener" default="package" basedir=".">
+    <description>
+        CollectionSpace Nuxeo Listener buildfile.  This Ant buildfile
+        builds modules containing services source code that relies on
+        Nuxeo Event Listeners.
+    </description>
+    <!-- set global properties for this build -->
+    <property name="services.trunk" value="../.."/>
+    <!-- environment should be declared before reading build.properties -->
+    <property environment="env" />
+    <property file="${services.trunk}/build.properties" />
+    <property name="mvn.opts" value="" />
+    <property name="src" location="src"/>
+    <property name="build" location="build"/>
+    <property name="dist"  location="dist"/>
+
+    <condition property="osfamily-unix">
+        <os family="unix" />
+    </condition>
+    <condition property="osfamily-windows">
+        <os family="windows" />
+    </condition>
+
+    <target name="init">
+        <!-- Create the time stamp -->
+        <tstamp/>
+        <!-- Create the build directory structure used by compile -->
+        <mkdir dir="${build}"/>
+    </target>
+
+    <target name="package" depends="package-unix,package-windows"
+            description="Package CollectionSpace Services" />
+    <target name="package-unix" if="osfamily-unix">
+        <exec executable="mvn" failonerror="true">
+            <arg value="package" />
+            <arg value="-Dmaven.test.skip=true" />
+            <arg value="-f" />
+            <arg value="${basedir}/pom.xml" />
+            <arg value="-N" />
+            <arg value="${mvn.opts}" />
+        </exec>
+    </target>
+    <target name="package-windows" if="osfamily-windows">
+        <exec executable="cmd" failonerror="true">
+            <arg value="/c" />
+            <arg value="mvn.bat" />
+            <arg value="package" />
+            <arg value="-Dmaven.test.skip=true" />
+            <arg value="-f" />
+            <arg value="${basedir}/pom.xml" />
+            <arg value="-N" />
+            <arg value="${mvn.opts}" />
+        </exec>
+    </target>
+
+    <target name="install" depends="package,install-unix,install-windows"
+            description="Install" />
+    <target name="install-unix" if="osfamily-unix">
+        <exec executable="mvn" failonerror="true">
+            <arg value="install" />
+            <arg value="-Dmaven.test.skip=true" />
+            <arg value="-f" />
+            <arg value="${basedir}/pom.xml" />
+            <arg value="-N" />
+            <arg value="${mvn.opts}" />
+        </exec>
+    </target>
+    <target name="install-windows" if="osfamily-windows">
+        <exec executable="cmd" failonerror="true">
+            <arg value="/c" />
+            <arg value="mvn.bat" />
+            <arg value="install" />
+            <arg value="-Dmaven.test.skip=true" />
+            <arg value="-f" />
+            <arg value="${basedir}/pom.xml" />
+            <arg value="-N" />
+            <arg value="${mvn.opts}" />
+        </exec>
+    </target>
+
+    <target name="clean" depends="clean-unix,clean-windows"
+            description="Delete target directories" >
+        <delete dir="${build}"/>
+    </target>
+    <target name="clean-unix" if="osfamily-unix">
+        <exec executable="mvn" failonerror="true">
+            <arg value="clean" />
+            <arg value="${mvn.opts}" />
+        </exec>
+    </target>
+    <target name="clean-windows" if="osfamily-windows">
+        <exec executable="cmd" failonerror="true">
+            <arg value="/c" />
+            <arg value="mvn.bat" />
+            <arg value="clean" />
+            <arg value="${mvn.opts}" />
+        </exec>
+    </target>
+
+    <target name="test" depends="test-unix,test-windows" description="Run tests" />
+    <target name="test-unix" if="osfamily-unix">
+        <exec executable="mvn" failonerror="true">
+            <arg value="test" />
+            <arg value="${mvn.opts}" />
+        </exec>
+    </target>
+    <target name="test-windows" if="osfamily-windows">
+        <exec executable="cmd" failonerror="true">
+            <arg value="/c" />
+            <arg value="mvn.bat" />
+            <arg value="test" />
+            <arg value="${mvn.opts}" />
+        </exec>
+    </target>
+
+    <target name="deploy" depends="package"
+            description="deploy nuxeo server libs to ${jee.server.cspace}">
+        <!-- ant antfile="add_modulename_here/build.xml" target="deploy" inheritall="false"/ -->
+    </target>
+
+    <target name="undeploy"
+            description="undeploy nuxeo server libs from ${jee.server.cspace}">
+        <!-- ant antfile="add_modulename_here/build.xml" target="undeploy" inheritall="false"/ -->
+    </target>
+
+    <target name="dist"
+            description="generate distribution for nuxeo server libs" depends="package">
+        <!-- ant antfile="add_modulename_here/build.xml" target="dist" inheritall="false"/ -->
+    </target>
+
+</project>
diff --git a/3rdparty/nuxeo/nuxeo-platform-listener/pom.xml b/3rdparty/nuxeo/nuxeo-platform-listener/pom.xml
new file mode 100644 (file)
index 0000000..84b6768
--- /dev/null
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <parent>
+        <groupId>org.collectionspace.services</groupId>
+        <artifactId>org.collectionspace.services.3rdparty.nuxeo</artifactId>
+        <version>3.2-SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.collectionspace.services.3rdparty.nuxeo.listener</artifactId>
+    <packaging>pom</packaging>
+    <name>services.3rdparty.nuxeo.listener</name>
+
+    <modules>
+<!-- 
+        <module>add_modulename_here</module>
+ -->
+    </modules>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <version>4.1.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.nuxeo.ecm.core</groupId>
+            <artifactId>nuxeo-core-storage-sql</artifactId>
+            <version>${nuxeo.core.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.nuxeo.ecm.platform</groupId>
+            <artifactId>nuxeo-platform-filemanager-api</artifactId>
+            <version>${nuxeo.platform.version}</version>    
+        </dependency>
+    </dependencies>
+
+</project>
\ No newline at end of file
index 30b88331ded7f1e2fe49215295c296fd71ac4767..1aee7abe7e369c58df5f82dbb82d9a6bb39b1f0a 100644 (file)
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
     <parent>
         <groupId>org.collectionspace.services</groupId>
@@ -14,6 +15,7 @@
 
     <modules>
                <module>nuxeo-platform-collectionspace</module>
+               <module>nuxeo-platform-listener</module>
                <module>nuxeo-platform-quote-api</module>
                <module>nuxeo-platform-quote</module>
                <module>nuxeo-platform-thumbnail</module>