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">
|
||||
<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>
|
||||
|
||||
<!-- =================================
|
||||
|
|
Loading…
Add table
Reference in a new issue