NIHVIVO-432 use <sync> to remove any FreeMarker templates that were left over from previous builds.
This commit is contained in:
parent
429479f242
commit
8d366fec4c
1 changed files with 7 additions and 0 deletions
|
@ -269,6 +269,13 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
|
||||||
failonerror="false">
|
failonerror="false">
|
||||||
<fileset dir="${build.dir}/war/WEB-INF/submodels" includes="**/*" />
|
<fileset dir="${build.dir}/war/WEB-INF/submodels" includes="**/*" />
|
||||||
</sync>
|
</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>
|
</target>
|
||||||
|
|
||||||
<!-- =================================
|
<!-- =================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue