</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
<description>
collectionspace nuxeo listener
</description>
- <!-- set global properties for this build -->
+ <!-- set global properties for this build -->
<property name="services.trunk" value="../.."/>
<!-- environment should be declared before reading build.properties -->
<property environment="env" />
</target>
<target name="package" depends="package-unix,package-windows"
- description="Package CollectionSpace Services" />
+ description="Package CollectionSpace Services" />
<target name="package-unix" if="osfamily-unix">
<exec executable="mvn" failonerror="true">
<arg value="package" />
</target>
<target name="install" depends="package,install-unix,install-windows"
- description="Install" />
+ description="Install" />
<target name="install-unix" if="osfamily-unix">
<exec executable="mvn" failonerror="true">
<arg value="install" />
</target>
<target name="clean" depends="clean-unix,clean-windows"
- description="Delete target directories" >
+ description="Delete target directories" >
<delete dir="${build}"/>
</target>
<target name="clean-unix" if="osfamily-unix">
</target>
<target name="deploy" depends="package"
- description="deploy nuxeo server libs to ${jee.server.cspace}">
+ description="deploy nuxeo server libs to ${jee.server.cspace}">
<ant antfile="relation/build.xml" target="deploy" inheritall="false"/>
</target>
<target name="undeploy"
- description="undeploy nuxeo server libs from ${jee.server.cspace}">
+ description="undeploy nuxeo server libs from ${jee.server.cspace}">
<ant antfile="relation/build.xml" target="undeploy" inheritall="false"/>
</target>
<target name="dist"
- description="generate distribution for nuxeo server libs" depends="package">
- <ant antfile="relation/build.xml" target="dist" inheritall="false"/>
+ description="generate distribution for nuxeo server libs" depends="package">
+ <ant antfile="relation/build.xml" target="dist" inheritall="false"/>
</target>
</project>
<name>services.3rdparty.nuxeo.listener</name>
<modules>
- <module>relation</module>
- </modules>
+ <module>relation</module>
+ </modules>
<dependencies>
<dependency>
<artifactId>org.osgi.core</artifactId>
<version>4.1.0</version>
</dependency>
- <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>
+ <dependency>
+ <groupId>org.nuxeo.ecm.platform</groupId>
+ <artifactId>nuxeo-platform-filemanager-api</artifactId>
+ <version>${nuxeo.platform.version}</version>
+ </dependency>
<!-- jboss -->
<!--
<dependency>
- <groupId>org.jboss.remoting</groupId>
- <artifactId>jboss-remoting</artifactId>
+ <groupId>org.jboss.remoting</groupId>
+ <artifactId>jboss-remoting</artifactId>
<scope>provided</scope>
</dependency>
-->
-package org.collectionspace.services.nuxeo.extension.listener.relation;
+package org.collectionspace.services.nuxeo.listener.relation;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
final Log logger = LogFactory.getLog(RelationSubOrObjDeletionListener.class);
public void handleEvent(Event event) throws ClientException {
- logger.debug("In handleEvent in RelationSubOrObjDeletionListener ...");
+ logger.info("In handleEvent in RelationSubOrObjDeletionListener ...");
}
}
+++ /dev/null
-package org.nuxeo.platform.thumbnail;
-
-/**
- * Hello world!
- *
- */
-public class App
-{
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
- }
-}
<?xml version="1.0"?>
<component name="org.collectionspace.nuxeo.listener.relation.core.types">
- <!-- This page intentionally left blank -->
+ <!-- This page intentionally left blank -->
</component>
<?xml version="1.0"?>
<component name="org.collectionspace.nuxeo.listener.relation.LifeCycle">
- <!-- This page intentionally left blank -->
+ <!-- This page intentionally left blank -->
</component>
<?xml version="1.0"?>
<component name="org.collectionspace.nuxeo.listener.relation.ecm.types">
-
- <extension target="org.nuxeo.ecm.core.event.EventServiceComponent" point="listener">
- <listener name="relationsuborobjdeletionlistener" async="false" postCommit="false"
- class="org.collectionspace.services.nuxeo.listener.relation.RelationSubOrObjDeletionListener" priority="999">
+
+ <extension target="org.nuxeo.ecm.core.event.EventServiceComponent" point="listener">
+ <listener name="relationsuborobjdeletionlistener" async="false" postCommit="false"
+ class="org.collectionspace.services.nuxeo.listener.relation.RelationSubOrObjDeletionListener" priority="999">
<event>lifecycle_transition_event</event>
- </listener>
- </extension>
-
+ </listener>
+ </extension>
+
</component>
+++ /dev/null
-<?xml version="1.0"?>
-
-<xs:schema targetNamespace="http://www.nuxeo.org/ecm/schemas/file/"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:nxs="http://www.nuxeo.org/ecm/schemas/file/">
-
- <xs:include schemaLocation="core-types.xsd" />
-
- <xs:element name="fileName" type="xs:string" />
- <xs:element name="digest" type="xs:string" />
- <xs:element name="thumbnail" type="nxs:content" />
-
-</xs:schema>
<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>