NIHVIVO-432 use <sync> to remove any FreeMarker templates that were left over from previous builds.

This commit is contained in:
jeb228 2010-06-01 19:58:17 +00:00
parent 429479f242
commit 8d366fec4c

View file

@ -269,6 +269,13 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
failonerror="false">
<fileset dir="${build.dir}/war/WEB-INF/submodels" includes="**/*" />
</sync>
<!-- Discard any template files from previous builds. -->
<sync todir="${webapp.deploy.home}/themes"
includeemptydirs="true"
failonerror="false">
<fileset dir="${build.dir}/war/themes" includes="**/*" />
</sync>
</target>
<!-- =================================