</exec>
</target>
- <target name="deploy" depends="package,deploy_services_artifacts"
+ <target name="deploy" depends="quick-deploy,deploy_services_artifacts"
+ description="deploy cspace services in ${jee.server.cspace}">
+ </target>
+
+ <target name="quick-deploy" depends="package"
description="deploy cspace services in ${jee.server.cspace}">
<delete file="${catalina.context.cspace}"/> <!-- This is a Tomcat specific file that we seem to need to delete inorder for it to be replace with a more recent one during deployment -->
<delete dir="${jee.deploy.cspace}/${cspace.services.context}"/>
@Context UriInfo uriInfo,
@PathParam("csid") String csid,
@PathParam("transition") String transition) {
- PoxPayloadOut result = null;
+ PoxPayloadOut result = null;
try {
- result = this.updateWorkflowWithTransition(NULL_CONTEXT, uriInfo, csid, transition);
+ result = updateWorkflowWithTransition(NULL_CONTEXT, uriInfo, csid, transition);
} catch (Exception e) {
throw bigReThrow(e, ServiceMessages.UPDATE_FAILED + WorkflowClient.SERVICE_PAYLOAD_NAME, csid);
}
throw ce;
}
}
+
+ /*
+ * Add the workflow common part(s) to the output result
+ * (non-Javadoc)
+ * @see org.collectionspace.services.nuxeo.client.java.RemoteDocumentModelHandlerImpl#completeUpdate(org.collectionspace.services.common.document.DocumentWrapper)
+ */
+ @Override
+ public void completeUpdate(DocumentWrapper<DocumentModel> wrapDoc) throws Exception {
+ extractAllParts(wrapDoc);
+ super.completeUpdate(wrapDoc);
+ }
+
}