From 99b2fbee6c2460b958a14e8c6c036830ccca59dc Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Tue, 18 Jan 2011 22:55:01 +0000 Subject: [PATCH] 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. --- .../nuxeo/nuxeo-database-templates/build.xml | 73 +++++++++++++++---- 1 file changed, 60 insertions(+), 13 deletions(-) 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"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.47.3