From 403f806f97f85616580cc7203353502c7f68496d Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Tue, 15 Feb 2011 00:02:10 +0000 Subject: [PATCH] CSPACE-3325: Ant buildfile now checks for the active main Nuxeo config file's location in NUXEO_CONF environment variable, if present, before defaulting to /usr/local/share/jboss/bin/nuxeo.conf. --- .../nuxeo/nuxeo-database-templates/build.xml | 42 +++++++++++++------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/3rdparty/nuxeo/nuxeo-database-templates/build.xml b/3rdparty/nuxeo/nuxeo-database-templates/build.xml index 144205950..6648fe1ae 100644 --- a/3rdparty/nuxeo/nuxeo-database-templates/build.xml +++ b/3rdparty/nuxeo/nuxeo-database-templates/build.xml @@ -30,7 +30,7 @@ @@ -39,23 +39,25 @@ + description="updates the active Nuxeo configuration file to specify the database template folder to use for CollectionSpace" + depends="check-templates-dir-exists, check-propertyfile-task-exists, set-nuxeo-active-config, backup-nuxeo-config" if="has.propertyfile.task"> - - + + + + description="deletes CollectionSpace-specific database template folders from the deploy directory" + depends="check-templates-dir-exists"> @@ -66,18 +68,34 @@ - + description="resets the value of the database template folder in the active Nuxeo configuration file to an empty value" + depends="check-propertyfile-task-exists, set-nuxeo-active-config, backup-nuxeo-config" + if="has.propertyfile.task"> + + + + + + + + + + + + - + description="makes a single backup copy of the active, main Nuxeo configuration file, overwriting the previous backup"> +