<target name="deploy"
description="deploys a database template directory to Nuxeo"
- depends="deploy-templates-dir, update-nuxeo-config">
+ depends="deploy-templates-dir">
</target>
<target name="deploy-templates-dir"
</copy>
</target>
+ <!-- Set the value of the property pointing to the active templates directory
+ OBSOLETE - this is now handled by a deploy task at the root.
<target name="update-nuxeo-config"
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">
- <!-- Set the value of the property pointing to the active templates directory (or directories) -->
<echo message="Setting the Nuxeo database templates directory ..."/>
<propertyfile file="${nuxeo.active.config.file}">
<entry key="nuxeo.templates" operation="=" value="${collectionspace.template.dir}"/>
<entry key="nuxeo.db.password" operation="=" value="${db.nuxeo.user.password}"/>
</propertyfile>
</target>
+ -->
<!-- Undeploy-related targets -->
<copy file="${src.nuxeo.conf}" todir="${jboss.bin}">\r
<filterset>\r
<filter token="DB" value="${db}" />\r
+ <filter token="NUXEO_USER" value="${db.nuxeo.user}" />\r
+ <filter token="NUXEO_PW" value="${env.DB_PASSWORD_NUXEO}" />\r
</filterset>\r
</copy>\r
</target>\r