Commit 20c72797 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Tweaking the way the plugin web.xml content is copied.. conceptually this...

Tweaking the way the plugin web.xml content is copied.. conceptually this works correctly but it's not quite there yet. Gato, give this a spin.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1278 b35dd754-fafc-0310-a699-88a17e54d16e
parent c9a5e6ab
......@@ -884,17 +884,17 @@
<then>
<xmltask source="${plugin.dev.dest.dir}/@{plugin}/target/jspc/web.xml">
<copy path="//web-app/servlet[last()]" buffer="foobar" />
<copy path="//web-app/servlet" buffer="foobar" />
</xmltask>
<xmltask source="@{pluginsrc}/@{plugin}/src/web/WEB-INF/web.xml" dest="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF/web.xml">
<insert path="/web-app/servlet" buffer="foobar" position="after" />
<insert path="/web-app/servlet[last()]" buffer="foobar" position="after" />
</xmltask>
<xmltask source="${plugin.dev.dest.dir}/@{plugin}/target/jspc/web.xml">
<copy path="//web-app/servlet-mapping[last()]" buffer="foobar2" />
<copy path="//web-app/servlet-mapping" buffer="foobar2" />
</xmltask>
<xmltask source="@{pluginsrc}/@{plugin}/src/web/WEB-INF/web.xml" dest="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF/web.xml">
<insert path="/web-app/servlet-mapping" buffer="foobar2" position="after" />
<insert path="/web-app/servlet-mapping[last()]" buffer="foobar2" position="after" />
</xmltask>
</then>
......
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