Commit 89b5ef5c authored by Dave Cridland's avatar Dave Cridland

Merge pull request #491 from guusdk/OF-1029

OF-1029: Allow web.xml override via overlay
parents 49c06969 4ed3afbd
......@@ -631,6 +631,20 @@
</filterset>
</copy>
<!-- When there is a web.xml in the overlay use that. -->
<if>
<available file="${overlay.web.dir}/WEB-INF/web.xml" />
<then>
<copy file="${overlay.web.dir}/WEB-INF/web.xml"
toFile="${webapp.dest.dir}/WEB-INF/web.xml"
overwrite="true">
<filterset begintoken="&lt;!--@@" endtoken="@@--&gt;">
<filter token="JSPC-SERVLETS" value="${servlet-xml}"/>
</filterset>
</copy>
</then>
</if>
<!-- Copy over other WEB-INF files. -->
<copy todir="${webapp.dest.dir}/WEB-INF" overwrite="true">
<fileset dir="${web.dir}/WEB-INF">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment