From: Aron Roberts Date: Tue, 18 Jan 2011 22:55:01 +0000 (+0000) Subject: CSPACE-3325, CSPACE-3251: CollectionSpace-specific Nuxeo database templates directory... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=99b2fbee6c2460b958a14e8c6c036830ccca59dc;p=tmp%2Fjakarta-migration.git CSPACE-3325, CSPACE-3251: CollectionSpace-specific Nuxeo database templates directory is now automatically specified in the main Nuxeo config file, nuxeo.conf, as part of the services deployment process. Requires Ant 1.8.x and its PropertyFile task, checked for in the buildfile; will skip that step gracefully if not present. Cleans up CollectionSpace configuration changes and removes CollectoinSpace-specific directories upon an undeploy. --- diff --git a/3rdparty/nuxeo/nuxeo-database-templates/build.xml b/3rdparty/nuxeo/nuxeo-database-templates/build.xml index 0a4a132c2..a4f2311fe 100644 --- a/3rdparty/nuxeo/nuxeo-database-templates/build.xml +++ b/3rdparty/nuxeo/nuxeo-database-templates/build.xml @@ -12,39 +12,86 @@ + + + + + depends="deploy-templates-dir, update-nuxeo-config"> - - + + - + - - - + description="updates the main Nuxeo configuration file to specify the database template folder to use for CollectionSpace" + depends="templates-dir-exists, has-minimum-ant-version, backup-nuxeo-config" if="ant.minimum.version.verified"> + + + + + + - + description="undeploys CollectionSpace-specific Nuxeo database template folders from ${nuxeo.templates.dir}" + depends="undeploy-template-dirs, reset-nuxeo-config"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +