Commit 63ee2c3f authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added decorators.xml and sitemesh.xml files to generated WAR file. JM-445

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@3005 b35dd754-fafc-0310-a699-88a17e54d16e
parent 25f524f0
...@@ -356,11 +356,12 @@ ...@@ -356,11 +356,12 @@
<mkdir dir="${war.dest.dir}/build"/> <mkdir dir="${war.dest.dir}/build"/>
<!-- Make a new web.xml file in the build dir --> <!-- Make a new web.xml file in the build dir -->
<copy file="${webapp.dest.dir}/WEB-INF/web.xml" toFile="${war.dest.dir}/build/web.xml" overwrite="${overwrite}"/> <copy file="${webapp.dest.dir}/WEB-INF/web.xml" toFile="${war.dest.dir}/build/web.xml" overwrite="${overwrite}"/>
<!-- TODO: copy in decorators.xml and sitemesh.xml -->
<!-- Make the war --> <!-- Make the war -->
<war destfile="${war.dest.dir}/${war.name}" basedir="${web.dir}" <war destfile="${war.dest.dir}/${war.name}" basedir="${web.dir}"
webxml="${war.dest.dir}/build/web.xml"> webxml="${war.dest.dir}/build/web.xml">
<patternset refid="web.sources"/> <patternset refid="web.sources"/>
<include name="**/decorators.xml"/>
<include name="**/sitemesh.xml"/>
<lib dir="${jar.dest.dir}" excludes="jasper-compiler.jar, servlet.jar, startup.jar"/> <lib dir="${jar.dest.dir}" excludes="jasper-compiler.jar, servlet.jar, startup.jar"/>
</war> </war>
<!-- Create a Messenger home --> <!-- Create a Messenger home -->
......
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