[MGNLOPENSOCIAL-10] Find a way to not have to adapt web.xml in order to get Guice started Created: 02/Aug/11 Updated: 02/Aug/11 Resolved: 02/Aug/11 |
|
| Status: | Resolved |
| Project: | OpenSocial Connector (closed) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Daniel Lipp | Assignee: | Daniel Lipp |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Description |
|
Right now you'll have to adapt you web.xml in order to properly use the OpenSocial module (add context-param guice-modules, activate GuiceServletContextListener). It would be much nicer and less confusing if we wouldn't have to touch web.xml so that users could reuse the one from their existing web-app. |
| Comments |
| Comment by Daniel Lipp [ 02/Aug/11 ] |
|
Looks like there's no obvious way to do it right now. As on the other side we're anyway introducing Guice (latest with Magnolia 5.0) we'll anyway use a Guice-specific ServletContextlistener soon so that problem will be solved without any additional effort. |