How do you consider portlet use case ? /WEB-INF/portlet.xml must create deployments that's why today I need to intercept the WebDeployer at the JMX level to do that.
Do you think portlet.xml is a feature of the web app or a deployment ?
"adrian@jboss.org" wrote:
3) Deploy a war
Mode 1
Makes the classloader context WEB-INF/lib and WEB-INF/classes
Overrides the subdeployment routine as wars do not contain subdeployments
Specifies WEB-INF as the metadata location rather than META-INF
Mode 2
Constructs kernel metadata for the Tomcat config objects
I'm not familar with the portlet deployment.
I imagine you can create a mode 2 portlet deployer
that either modifies the web.xml/jboss-web.xml before the web deployer sees it
and/or adds to/modifies the output from the web deployer?
This looks like an example where ordering of deployers would be important?