From: Aron Roberts Date: Tue, 20 Nov 2012 22:10:21 +0000 (-0800) Subject: CSPACE-5498: Additional integration of nuxeo listener and listener/relation modules... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=0f2be5e62e2e6e7101e3941d7b533ef833aa1bc7;p=tmp%2Fjakarta-migration.git CSPACE-5498: Additional integration of nuxeo listener and listener/relation modules into services/3rdparty. Fixed package name in RelationSubOrObjDeletionListener. Event listener now emits log messages when documents are transitioned to a different workflow state. --- diff --git a/3rdparty/nuxeo/build.xml b/3rdparty/nuxeo/build.xml index c81dcae69..797fac119 100644 --- a/3rdparty/nuxeo/build.xml +++ b/3rdparty/nuxeo/build.xml @@ -130,6 +130,7 @@ + @@ -141,6 +142,7 @@ + + @@ -27,7 +27,7 @@ + description="Package CollectionSpace Services" /> @@ -52,7 +52,7 @@ + description="Install" /> @@ -77,7 +77,7 @@ + description="Delete target directories" > @@ -112,18 +112,18 @@ + description="deploy nuxeo server libs to ${jee.server.cspace}"> + description="undeploy nuxeo server libs from ${jee.server.cspace}"> - + description="generate distribution for nuxeo server libs" depends="package"> + diff --git a/3rdparty/nuxeo/nuxeo-platform-listener/pom.xml b/3rdparty/nuxeo/nuxeo-platform-listener/pom.xml index ce642e0df..6eb8d8b7c 100644 --- a/3rdparty/nuxeo/nuxeo-platform-listener/pom.xml +++ b/3rdparty/nuxeo/nuxeo-platform-listener/pom.xml @@ -13,8 +13,8 @@ services.3rdparty.nuxeo.listener - relation - + relation + @@ -22,21 +22,21 @@ org.osgi.core 4.1.0 - + org.nuxeo.ecm.core nuxeo-core-storage-sql ${nuxeo.core.version} - -org.nuxeo.ecm.platform -nuxeo-platform-filemanager-api -${nuxeo.platform.version} - + + org.nuxeo.ecm.platform + nuxeo-platform-filemanager-api + ${nuxeo.platform.version} + diff --git a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/java/org/collectionspace/services/nuxeo/listener/relation/RelationSubOrObjDeletionListener.java b/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/java/org/collectionspace/services/nuxeo/listener/relation/RelationSubOrObjDeletionListener.java index 1e588751f..731dbcf09 100644 --- a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/java/org/collectionspace/services/nuxeo/listener/relation/RelationSubOrObjDeletionListener.java +++ b/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/java/org/collectionspace/services/nuxeo/listener/relation/RelationSubOrObjDeletionListener.java @@ -1,4 +1,4 @@ -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; @@ -16,6 +16,6 @@ public class RelationSubOrObjDeletionListener implements EventListener { 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 ..."); } } diff --git a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/java/org/nuxeo/platform/thumbnail/App.java b/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/java/org/nuxeo/platform/thumbnail/App.java deleted file mode 100644 index 038e27e52..000000000 --- a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/java/org/nuxeo/platform/thumbnail/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.nuxeo.platform.thumbnail; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/core-types-contrib.xml b/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/core-types-contrib.xml index 10756c857..8cedf8009 100644 --- a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/core-types-contrib.xml +++ b/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/core-types-contrib.xml @@ -1,4 +1,4 @@ - + diff --git a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml b/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml index bdeda4fa1..08d595182 100644 --- a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml +++ b/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml @@ -1,4 +1,4 @@ - + diff --git a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/ecm-types-contrib.xml index a89fa8d54..1781383a9 100644 --- a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/ecm-types-contrib.xml +++ b/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/OSGI-INF/ecm-types-contrib.xml @@ -1,11 +1,11 @@ - - - + + + lifecycle_transition_event - - - + + + diff --git a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/schemas/thumbnail.xsd b/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/schemas/thumbnail.xsd deleted file mode 100644 index 00e67a424..000000000 --- a/3rdparty/nuxeo/nuxeo-platform-listener/relation/src/main/resources/schemas/thumbnail.xsd +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/3rdparty/nuxeo/pom.xml b/3rdparty/nuxeo/pom.xml index 30b88331d..86d3de460 100644 --- a/3rdparty/nuxeo/pom.xml +++ b/3rdparty/nuxeo/pom.xml @@ -14,6 +14,7 @@ nuxeo-platform-collectionspace + nuxeo-platform-listener nuxeo-platform-quote-api nuxeo-platform-quote nuxeo-platform-thumbnail