From: Sanjay Dalal Date: Fri, 10 Jul 2009 23:35:10 +0000 (+0000) Subject: CSPACE-303 added dist(ribution) target to all ant build files (where reqd.) in order... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=3681d256d7b5223627f9e23c8be49c6ec81963df;p=tmp%2Fjakarta-migration.git CSPACE-303 added dist(ribution) target to all ant build files (where reqd.) in order to create a single compressed file that could be exploded in a jboss cspace domain. changed parent build of doctype builds (collectionobject, intake, relation) to not rely on nuxeo. fixed typos. removed ref. to cspace-services.war from the top level build. M services/authentication/build.xml M services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/pom.xml M services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/build.xml M services/collectionobject/3rdparty/pom.xml M services/collectionobject/3rdparty/build.xml M services/collectionobject/build.xml D services/JaxRsServiceProvider/build.properties M services/JaxRsServiceProvider/build.xml M services/common/build.xml _M services/intake/service _M services/intake/jaxb M services/intake/3rdparty/pom.xml _M services/intake/3rdparty/nuxeo-platform-cs-intake D services/intake/3rdparty/nuxeo-platform-cs-intake/build.properties M services/intake/3rdparty/nuxeo-platform-cs-intake/pom.xml M services/intake/3rdparty/nuxeo-platform-cs-intake/build.xml A services/intake/3rdparty/build.xml _M services/intake/client A services/intake/build.xml _M services/id/service _M services/id/jaxb M services/relation/3rdparty/pom.xml M services/relation/3rdparty/build.xml M services/relation/3rdparty/nuxeo-platform-cs-relation/pom.xml M services/relation/3rdparty/nuxeo-platform-cs-relation/build.xml M services/relation/build.xml M services/build.xml D src/main/assembly D src/main/config D src/main/filters D src/main/resources/schemas D src/main/webapp M 3rdparty/nuxeo/build.xml M 3rdparty/build.xml M build.properties M build.xml M pom.xml --- diff --git a/3rdparty/build.xml b/3rdparty/build.xml index fa903f93d..9eb10375d 100644 --- a/3rdparty/build.xml +++ b/3rdparty/build.xml @@ -1,7 +1,7 @@ - collectionspace authentication service + collectionspace 3rdparty @@ -113,14 +113,18 @@ + description="deploy 3rdparty in ${jboss.server.cspace}"> + description="undeploy 3rdparty from ${jboss.server.cspace}"> + + + diff --git a/3rdparty/nuxeo/build.xml b/3rdparty/nuxeo/build.xml index d984e65fb..f4633c470 100644 --- a/3rdparty/nuxeo/build.xml +++ b/3rdparty/nuxeo/build.xml @@ -1,7 +1,7 @@ - collectionspace authentication service + collectionspace nuxeo @@ -124,5 +124,11 @@ + + + + + diff --git a/build.properties b/build.properties index a6ad561a0..fdfd1f50f 100644 --- a/build.properties +++ b/build.properties @@ -1,18 +1,49 @@ -jboss.release=jboss-4.2.3.GA +#cspace +cspace.release=0.2 +cspace.services.release=cspace-services-${cspace.release} + +domain.cspace=cspace +domain.nuxeo=default + +#nuxeo +nuxeo.release=5.2.M4 +nuxeo.ear=nuxeo.ear +nuxeo.system=${nuxeo.ear}/system + +#distribution +dist=dist +dist.cspace=${dist}/cspace +dist.nuxeo=${dist}/nuxeo + +#dist cspace domain +dist.domain.cspace=${domain.cspace} +dist.server.cspace=${dist.cspace}/server/${jboss.domain.cspace} +dist.deploy.cspace=${dist.server.cspace}/deploy +dist.lib.cspace=${dist.server.cspace}/lib + +#dist nuxeo domain +dist.domain.nuxeo=${domain.nuxeo} +dist.server.nuxeo=${dist.nuxeo}/server/${jboss.domain.nuxeo} +dist.deploy.nuxeo=${dist.server.nuxeo}/deploy +dist.lib.nuxeo=${dist.server.nuxeo}/lib +dist.deploy.nuxeo.system=${dist.deploy.nuxeo}/${nuxeo.system} + +#jboss #assumption: both nuxeo and cspace domains are using the same JBoss installation +jboss.release=jboss-4.2.3.GA jboss.dir=C:/dev/${jboss.release} jboss.home=${jboss.dir} -jboss.domain.cspace=cspace -jboss.domain.nuxeo=default + +#jboss cspace domain +jboss.domain.cspace=${domain.cspace} jboss.server.cspace=${jboss.home}/server/${jboss.domain.cspace} jboss.deploy.cspace=${jboss.server.cspace}/deploy jboss.lib.cspace=${jboss.server.cspace}/lib + +#jboss nuxeo domain +jboss.domain.nuxeo=${domain.nuxeo} jboss.server.nuxeo=${jboss.home}/server/${jboss.domain.nuxeo} -jboss.deploy.nuxeo="${jboss.server.nuxeo}/deploy +jboss.deploy.nuxeo=${jboss.server.nuxeo}/deploy jboss.lib.nuxeo=${jboss.server.nuxeo}/lib -cspace.release=cspace-1.0 -cspace.services.release=services-${cspace.release} -nuxeo.release=nuxeo-5.2.M4 -nuxeo.dir=${jboss.dir}/server/default/deploy/nuxeo.ear/system -nuxeo.local.repo.dir=file:///${jboss.dir}/server/default/deploy/nuxeo.ear/system +jboss.deploy.nuxeo.system=${jboss.deploy.nuxeo}/${nuxeo.system} diff --git a/build.xml b/build.xml index 820e111aa..0e67881f8 100644 --- a/build.xml +++ b/build.xml @@ -7,8 +7,6 @@ - - @@ -24,45 +22,66 @@ - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - + + + - + + + + + + + + - - + + + + + + + + + - + + - - - - - - - @@ -72,27 +91,21 @@ - + - + - - + + - - - - - @@ -149,8 +162,8 @@ - - + + @@ -201,14 +214,12 @@ description="deploy services in ${jboss.server.cspace}"> - - diff --git a/pom.xml b/pom.xml index 70ea27b0d..b8fd6d24c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 1.0 org.collectionspace.services pom - org.collectionspace.services + services services diff --git a/services/JaxRsServiceProvider/build.properties b/services/JaxRsServiceProvider/build.properties deleted file mode 100644 index 50c373854..000000000 --- a/services/JaxRsServiceProvider/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -jboss.dir=C:/dev/jboss-4.2.3.GA -nuxeo.dir=${jboss.dir}/server/default/deploy/nuxeo.ear/system -nuxeo.local.repo.dir=file:///C:/dev/jboss-4.2.3.GA/server/default/deploy/nuxeo.ear/system -nuxeo.local.repo.client.dir=file:///C:/dev/nuxeo/nuxeo-core/nuxeo-core-client/target diff --git a/services/JaxRsServiceProvider/build.xml b/services/JaxRsServiceProvider/build.xml index 971f5d3c5..579812b7a 100644 --- a/services/JaxRsServiceProvider/build.xml +++ b/services/JaxRsServiceProvider/build.xml @@ -1,15 +1,13 @@ - collectionspace authentication service + collectionspace services war - - @@ -22,9 +20,6 @@ - - - + description="deploy cspace services in ${jboss.server.cspace}"> + description="undeploy cspace services from ${jboss.server.cspace}"> - + + + + + diff --git a/services/authentication/build.xml b/services/authentication/build.xml index d2a0615f1..2972776a6 100644 --- a/services/authentication/build.xml +++ b/services/authentication/build.xml @@ -8,8 +8,6 @@ - - @@ -22,9 +20,6 @@ - - - @@ -126,6 +121,11 @@ - + + + + + diff --git a/services/build.xml b/services/build.xml index ae3f34bbf..8decfa5d0 100644 --- a/services/build.xml +++ b/services/build.xml @@ -1,15 +1,13 @@ - collectionspace services root + collectionspace services main - - @@ -108,22 +106,33 @@ - + + - + description="undeploy services from ${jboss.server.cspace}"> + + + + + + + + + + - + diff --git a/services/collectionobject/3rdparty/build.xml b/services/collectionobject/3rdparty/build.xml index 1a281d0a7..3e8a360a8 100644 --- a/services/collectionobject/3rdparty/build.xml +++ b/services/collectionobject/3rdparty/build.xml @@ -1,7 +1,7 @@ - + - collectionspace authentication service + collectionobject service 3rd party @@ -9,7 +9,6 @@ - @@ -21,8 +20,6 @@ - - @@ -112,15 +109,18 @@ + description="deploy collectionobject in ${jboss.server.nuxeo}"> + description="undeploy collectionobject from ${jboss.server.nuxeo}"> - + + + diff --git a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/build.xml b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/build.xml index df6ca15ed..5d8933601 100644 --- a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/build.xml +++ b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/build.xml @@ -10,7 +10,7 @@ - + @@ -113,16 +113,21 @@ + description="deploy collectionobject doctype in ${jboss.server.nuxeo}"> + todir="${jboss.deploy.nuxeo.system}"/> - + description="undeploy collectionobject doctype from ${jboss.server.nuxeo}"> + - + + + + + diff --git a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/pom.xml b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/pom.xml index 56fc1f11d..3ae8f553c 100644 --- a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/pom.xml +++ b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/pom.xml @@ -1,17 +1,17 @@ + + org.collectionspace.services.collectionobject.3rdparty + org.collectionspace.services + 1.0 + 4.0.0 - - - org.nuxeo.ecm.platform - nuxeo-platform-parent - 5.2-SNAPSHOT - - - nuxeo-platform-cs-collectionobject + org.collectionspace.services + 1.0 + org.collectionspace.services.collectionobject.3rdparty.nuxeo jar - nuxeo-platform-cs-collectionobject + services.collectionobject.3rdparty.nuxeo CollectionObject Nuxeo document type diff --git a/services/collectionobject/3rdparty/pom.xml b/services/collectionobject/3rdparty/pom.xml index b4e1485c1..4a9eb4b3e 100644 --- a/services/collectionobject/3rdparty/pom.xml +++ b/services/collectionobject/3rdparty/pom.xml @@ -2,7 +2,6 @@ - 4.0.0 org.collectionspace.services.collectionobject @@ -10,6 +9,9 @@ 1.0 + 4.0.0 + org.collectionspace.services + 1.0 org.collectionspace.services.collectionobject.3rdparty pom services.collectionobject.3rdparty diff --git a/services/collectionobject/build.xml b/services/collectionobject/build.xml index 77cd5ef4e..2de3b385a 100644 --- a/services/collectionobject/build.xml +++ b/services/collectionobject/build.xml @@ -9,7 +9,6 @@ - @@ -107,15 +106,18 @@ + description="deploy collectionobject service"> + description="undeploy collectionobject service"> - + + + diff --git a/services/common/build.xml b/services/common/build.xml index 31644b289..144607a67 100644 --- a/services/common/build.xml +++ b/services/common/build.xml @@ -1,7 +1,7 @@ - collectionspace authentication service + collectionspace services common @@ -9,7 +9,6 @@ - @@ -21,9 +20,6 @@ - - - - + + + + + diff --git a/services/intake/3rdparty/build.xml b/services/intake/3rdparty/build.xml new file mode 100644 index 000000000..e9b64b774 --- /dev/null +++ b/services/intake/3rdparty/build.xml @@ -0,0 +1,125 @@ + + + + intake service 3rdparty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/services/intake/3rdparty/nuxeo-platform-cs-intake/build.properties b/services/intake/3rdparty/nuxeo-platform-cs-intake/build.properties deleted file mode 100644 index c26799aa9..000000000 --- a/services/intake/3rdparty/nuxeo-platform-cs-intake/build.properties +++ /dev/null @@ -1,15 +0,0 @@ -# Example for Windows -jboss.dir=c:/dev/jboss-4.2.3.GA -# Example for Unix -#jboss.dir=/opt/jboss - -# Which JBoss server config to use -jboss.config=default - -# nuxeo deployment -jboss.nuxeo.ear.dir=${jboss.dir}/server/${jboss.config}/deploy/nuxeo.ear - - -# additional command line parameters for mvn commands -# e.g. to work offline: -#mvn.opts=-o diff --git a/services/intake/3rdparty/nuxeo-platform-cs-intake/build.xml b/services/intake/3rdparty/nuxeo-platform-cs-intake/build.xml index d4e3b266c..fed418ee9 100644 --- a/services/intake/3rdparty/nuxeo-platform-cs-intake/build.xml +++ b/services/intake/3rdparty/nuxeo-platform-cs-intake/build.xml @@ -1,14 +1,130 @@ - - - - + + + intake nuxeo document type + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/services/intake/3rdparty/nuxeo-platform-cs-intake/pom.xml b/services/intake/3rdparty/nuxeo-platform-cs-intake/pom.xml index 39dcdf8ef..6497beb7d 100644 --- a/services/intake/3rdparty/nuxeo-platform-cs-intake/pom.xml +++ b/services/intake/3rdparty/nuxeo-platform-cs-intake/pom.xml @@ -1,17 +1,17 @@ + + org.collectionspace.services.intake.3rdparty + org.collectionspace.services + 1.0 + 4.0.0 - - - org.nuxeo.ecm.platform - nuxeo-platform-parent - 5.2-SNAPSHOT - - - nuxeo-platform-cs-intake + org.collectionspace.services + 1.0 + org.collectionspace.services.intake.3rdparty.nuxeo jar - nuxeo-platform-cs-intake + services.intake.3rdparty.nuxeo Intake Nuxeo Document Type diff --git a/services/intake/3rdparty/pom.xml b/services/intake/3rdparty/pom.xml index 1d2e1b106..1f0687f2a 100644 --- a/services/intake/3rdparty/pom.xml +++ b/services/intake/3rdparty/pom.xml @@ -2,14 +2,14 @@ - 4.0.0 - org.collectionspace.services.intake org.collectionspace.services 1.0 - + 4.0.0 + org.collectionspace.services + 1.0 org.collectionspace.services.intake.3rdparty pom services.intake.3rdparty diff --git a/services/intake/build.xml b/services/intake/build.xml new file mode 100644 index 000000000..814810a0d --- /dev/null +++ b/services/intake/build.xml @@ -0,0 +1,122 @@ + + + + intake service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/services/relation/3rdparty/build.xml b/services/relation/3rdparty/build.xml index 09f98b5cd..b25c96cff 100644 --- a/services/relation/3rdparty/build.xml +++ b/services/relation/3rdparty/build.xml @@ -1,15 +1,13 @@ - + - collectionspace authentication service + relation service 3rdparty - - @@ -21,8 +19,6 @@ - - @@ -112,15 +108,19 @@ + description="deploy relation in ${jboss.server.nuxeo}"> + description="undeploy relation from ${jboss.server.nuxeo}"> + + + diff --git a/services/relation/3rdparty/nuxeo-platform-cs-relation/build.xml b/services/relation/3rdparty/nuxeo-platform-cs-relation/build.xml index 9a1d5745c..e0ce9c1b7 100644 --- a/services/relation/3rdparty/nuxeo-platform-cs-relation/build.xml +++ b/services/relation/3rdparty/nuxeo-platform-cs-relation/build.xml @@ -1,16 +1,14 @@ - relationhip nuxeo document type + relation nuxeo document type - - - + @@ -22,9 +20,6 @@ - - - + description="deploy relation doctype in ${jboss.server.cspace}"> + todir="${jboss.deploy.nuxeo.system}"/> - + description="undeploy relation doctype from ${jboss.server.cspace}"> + + + + + + diff --git a/services/relation/3rdparty/nuxeo-platform-cs-relation/pom.xml b/services/relation/3rdparty/nuxeo-platform-cs-relation/pom.xml index 09536d9a5..e45c637ad 100644 --- a/services/relation/3rdparty/nuxeo-platform-cs-relation/pom.xml +++ b/services/relation/3rdparty/nuxeo-platform-cs-relation/pom.xml @@ -1,17 +1,17 @@ + + org.collectionspace.services.relation.3rdparty + org.collectionspace.services + 1.0 + 4.0.0 - - - org.nuxeo.ecm.platform - nuxeo-platform-parent - 5.2-SNAPSHOT - - - nuxeo-platform-cs-relation + org.collectionspace.services + 1.0 + org.collectionspace.services.relation.3rdparty.nuxeo jar - nuxeo-platform-cs-relation + services.relation.3rdparty.nuxeo CollectionSpace relation Nuxeo document type diff --git a/services/relation/3rdparty/pom.xml b/services/relation/3rdparty/pom.xml index d8c41e45f..5ec58caec 100644 --- a/services/relation/3rdparty/pom.xml +++ b/services/relation/3rdparty/pom.xml @@ -2,14 +2,14 @@ - 4.0.0 - org.collectionspace.services.relation org.collectionspace.services 1.0 - + 4.0.0 + org.collectionspace.services + 1.0 org.collectionspace.services.relation.3rdparty pom services.relation.3rdparty diff --git a/services/relation/build.xml b/services/relation/build.xml index 62bf0d23b..92b13dfda 100644 --- a/services/relation/build.xml +++ b/services/relation/build.xml @@ -8,8 +8,6 @@ - - @@ -107,15 +105,19 @@ + description="deploy relation service"> + description="undeploy relation service"> + + +