|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[aplaws - Developing on APLAWS+] web.xml creationRead and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7414100 By: terry_permeance I would like to change the way web.xml is created, something like this: 1. create an empty <web-app/> xml descriptor 2. for each applications, merge in web/WEB-INF/web.xml.part (if it exists) 3. merge in the web.xml defined in project.xml There are helper classes around... e.g. http://cargo.codehaus.org/maven-site/cargo-core/cargo-core-api/cargo-core-api-mo dule/apidocs/org/codehaus/cargo/module/webapp/WebXmlMerger.html I've seen this done with liferay but not sure how it handles conflicts, e.g. define the same servlet twice with different implementations. Any thoughts? 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Aplaws-devel mailing list Aplaws-devel@... https://lists.sourceforge.net/lists/listinfo/aplaws-devel |
|
|
[aplaws - Developing on APLAWS+] RE: web.xml creationRead and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7414135 By: pboy Hi Terry, such a function is on my wishlist for the new user installation tool, because we should emphasize the modular system architecture. Unfortunately, I have no ideas how to do it. Your provided link sounds promising. Would be great if could create a plan how to implement it. Peter ______________________________________________________________________ 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Aplaws-devel mailing list Aplaws-devel@... https://lists.sourceforge.net/lists/listinfo/aplaws-devel |
|
|
[aplaws - Developing on APLAWS+] RE: web.xml creationRead 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Aplaws-devel mailing list Aplaws-devel@... https://lists.sourceforge.net/lists/listinfo/aplaws-devel |
|
|
[aplaws - Developing on APLAWS+] RE: web.xml creationRead and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7424631 By: pboy Terry, many thanks for that! From a short look on the patch I conclude that the logik is in javascript? So we have some task to do to port it to the hostinit java code for the user installation & maintenance tool? Or we have to discard hostinit.java and re-implement it as an ant task? Peter ______________________________________________________________________ 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 ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Aplaws-devel mailing list Aplaws-devel@... https://lists.sourceforge.net/lists/listinfo/aplaws-devel |
| Free embeddable forum powered by Nabble | Forum Help |