[weld-issues] [JBoss JIRA] (WELD-985) Make Tomcat 6 and Jetty 6 and 7 specific configuration obsolete
Geoffrey De Smet (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Jan 9 05:17:09 EST 2012
[ https://issues.jboss.org/browse/WELD-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654543#comment-12654543 ]
Geoffrey De Smet commented on WELD-985:
---------------------------------------
The jetty-env.xml is the biggest pita, because it needs to be different between Jetty 6 and Jetty 7, which means we have to build a separate war for both versions.
Note that the existence of META-INF/context.xml is far less of a problem: jetty and tomcat simply ignore that file, so there is no need to build a separate war.
> Make Tomcat 6 and Jetty 6 and 7 specific configuration obsolete
> ---------------------------------------------------------------
>
> Key: WELD-985
> URL: https://issues.jboss.org/browse/WELD-985
> Project: Weld
> Issue Type: Feature Request
> Components: Bootstrap and Metamodel API
> Reporter: Geoffrey De Smet
> Priority: Critical
>
> According to the documentation:
> http://docs.jboss.org/weld/reference/1.1.0.Final/en-US/html_single/#d0e5286
> We have to add extra configuration files to deploy to certain appservers and certain versions.
> But the existence of those files can sometimes create issues on other appservers.
> For example, jetty 6 needs an WEB-INF/jetty-env.xml file (and Jetty 7 needs another version of that file).
> "Maven profiles" are not a solution, see WELD-984.
> Since weld-servlet's bootstrap actually detects what appserver and what version is in play, it should be thoroughly investigated if weld can't do that for us
> and only configure the content of those extra files if the correct appserver/version is being used.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list