]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
DRYD-806: Updated 'undeploy' targets to remove Nuxeo artifacts from the plugins direc...
authorRichard Millet <remillet@gmail.com>
Tue, 7 Jan 2020 19:11:08 +0000 (11:11 -0800)
committerRichard Millet <remillet@gmail.com>
Tue, 7 Jan 2020 19:11:08 +0000 (11:11 -0800)
services/batch/3rdparty/nuxeo-platform-cs-batch/build.xml
services/build.xml
services/common/build.xml
services/report/3rdparty/build.xml

index eb9380a5c2229c22d06fc23c7a59a24a54c78e46..8b1fbe0e9a4b422a95c431fb4b67b8edb86348fd 100644 (file)
@@ -14,6 +14,8 @@
         value="org.collectionspace.services.batch.3rdparty.nuxeo-${cspace.release}.jar"/>
     <property name="nuxeo.batch.jars.all"
         value="org.collectionspace.services.batch.3rdparty.nuxeo-*.jar"/>
+    <property name="nuxeo.batch.jars.extra"
+        value="collectionspace.batch.*.jar"/>
 
     <condition property="osfamily-unix">
         <os family="unix" />
         <delete>
             <fileset dir="${jee.deploy.nuxeo.plugins}">
                 <include name="${nuxeo.batch.jars.all}"/>
+                <include name="${nuxeo.batch.jars.extra}"/>
             </fileset>
         </delete>
     </target>
 
-
     <target name="dist"
         description="generate distribution for batch doctype" depends="package">
         <copy todir="${services.trunk}/${dist.deploy.nuxeo.plugins}">
index 38d71e2b32687a75d16a72d96afe1686f29d0790..0e2e2c47865283e08f9450027a2159cac3ce05cb 100644 (file)
         <ant antfile="conservation/build.xml" target="deploy" inheritAll="false"/>
         <ant antfile="valuationcontrol/build.xml" target="deploy" inheritAll="false"/>
         <ant antfile="objectexit/build.xml" target="deploy" inheritAll="false"/>
+        <ant antfile="propagation/build.xml" target="deploy" inheritAll="false"/>
+        <ant antfile="pottag/build.xml" target="deploy" inheritAll="false"/>
         <ant antfile="batch/build.xml" target="deploy" inheritAll="false"/>
         <ant antfile="location/build.xml" target="deploy" inheritAll="false"/>
         <ant antfile="place/build.xml" target="deploy" inheritAll="false"/>
         <ant antfile="work/build.xml" target="undeploy" inheritAll="false"/>
         <ant antfile="place/build.xml" target="undeploy" inheritAll="false"/>
         <ant antfile="location/build.xml" target="undeploy" inheritAll="false"/>
+        <ant antfile="pottag/build.xml" target="undeploy" inheritAll="false"/>
+        <ant antfile="propagation/build.xml" target="undeploy" inheritAll="false"/>
         <ant antfile="objectexit/build.xml" target="undeploy" inheritAll="false"/>
         <ant antfile="valuationcontrol/build.xml" target="undeploy" inheritAll="false"/>
         <ant antfile="claim/build.xml" target="undeploy" inheritAll="false"/>
index c5fce124a3314c11ed93b528a770b12e7e45c23e..875ed7c1cb8dd5c23715ee0a1bc1967b4c2eb4d4 100644 (file)
                -->
         <delete failonerror="false" file="${jee.server.cspace}/lib/${common.jar}"/>
         <delete failonerror="false" dir="${jee.server.cspace}/cspace/config/services"/>
+
     </target>
 
     <target name="undeploy_nuxeo"
         <delete>
             <fileset dir="${jee.server.cspace}/lib" includes="nuxeo-*.jar"/>
         </delete>
+        <delete>
+            <fileset dir="${jee.deploy.nuxeo.plugins}">
+                <include name="collectionspace.shared.schema.collectionspace_core.jar"/>
+            </fileset>
+        </delete>
     </target>
 
     <target name="undeploy_spring"
index 042362b7d34231c5b03ecad598c9e1dd164d1f89..0456a6a89dc06e0f9a1c80f1d194d198af9e99cf 100644 (file)
@@ -9,6 +9,8 @@
     <property file="${services.trunk}/build.properties" />
     <property name="mvn.opts" value="-V" />
     <property name="src" location="src"/>
+    <property name="nuxeo.report.jars.all"
+        value="collectionspace.report.*.jar"/>
 
     <condition property="osfamily-unix">
         <os family="unix" />
     </target>
 
     <target name="undeploy" depends="undeploy_report_files" description="Undeploy report-related artifacts">
+        <delete>
+            <fileset dir="${jee.deploy.nuxeo.plugins}">
+                <include name="${nuxeo.report.jars.all}"/>
+            </fileset>
+        </delete>
     </target>
 
     <target name="dist" description="Generate distribution for report" depends="package">