Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7416341
By: terry_permeance
I have implemented this change in r1943 using some code borrowed from Liferay
(see tools-ng/webxml/lib/*.jar).
>From now on...
1. Any module can have a web.xml fragment called
<module>/web/WEB-INF/web.<module>.xml
2. During 'ant deploy', these fragments are merged into (over) the default web.xml
specified in project.xml
3. Unless you need something non-standard, the default web.xml is now an empty
web.xml file (called web.empty.xml) instead of web.xml-aplaws
Notes:
1. I chose to name the fragments web.<module>.xml so that they open in Eclipse
as an XML file and are validated
2. All web.xml fragments now comply with Servlet 2.4 specification (previously
2.3) since ecdc uses Tomcat 6
3. Merging seems to handle duplicate entries correctly, e.g. if you declare
the same servlet twice, the second file merged in replaces the first one. (Thanks,
Liferay!)
Enjoy! I hope there are no problems.
Terry
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=368401
|