From 0aeb77311f59d082c77508c3cb170c1d58d10059 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Tue, 4 Jan 2011 01:47:19 +0000 Subject: [PATCH] CSPACE-3325: Minor changes to Ant property names for clarity. Stubbed a task for updating the main Nuxeo config file with a reference to the relevant database templates folder, but left it commented out; this currently depends on an optional Ant task not guaranteed to be present in a build environment. --- .../nuxeo/nuxeo-database-templates/build.xml | 35 ++++++++++++++----- build.properties | 8 +++-- 2 files changed, 33 insertions(+), 10 deletions(-) diff --git a/3rdparty/nuxeo/nuxeo-database-templates/build.xml b/3rdparty/nuxeo/nuxeo-database-templates/build.xml index a74a536c8..0a4a132c2 100644 --- a/3rdparty/nuxeo/nuxeo-database-templates/build.xml +++ b/3rdparty/nuxeo/nuxeo-database-templates/build.xml @@ -7,8 +7,13 @@ - - + + + + + + + @@ -16,16 +21,30 @@ - - - + description="deploys a database template directory to Nuxeo" + depends="copy-templates-dir, update-nuxeo-config"> + + + + + + + + + + + + - + description="undeploys nuxeo database template folder for the ${db} database from ${nuxeo.templates.dir}"> + diff --git a/build.properties b/build.properties index 98a7352f2..889b062a3 100644 --- a/build.properties +++ b/build.properties @@ -40,6 +40,7 @@ dist.deploy.nuxeo.plugins=${dist.deploy.nuxeo}/${nuxeo.plugins} jboss.release=jboss-4.2.3.GA jboss.dir=${env.JBOSS_HOME} jboss.home=${jboss.dir} +jboss.bin=${jboss.home}/bin #jboss cspace domain jboss.domain.cspace=${domain.cspace} @@ -58,8 +59,11 @@ jboss.lib.nuxeo=${jboss.server.nuxeo}/lib jboss.deploy.nuxeo.system=${jboss.deploy.nuxeo}/${nuxeo.system} jboss.deploy.nuxeo.plugins=${jboss.deploy.nuxeo}/${nuxeo.plugins} -#nuxeo database templates -jboss.deploy.nuxeo.templates=${jboss.home}/${nuxeo.templates} +#nuxeo database templates directory +nuxeo.templates.dir=${jboss.home}/${nuxeo.templates} + +#nuxeo main config file +nuxeo.main.config.file=${jboss.bin}/nuxeo.conf #database db=mysql -- 2.47.3