You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2019/02/13 16:19:00 UTC

[jira] [Resolved] (TOBAGO-1970) Configure web.xml listeners via JARs (for Mojarra, MyFaces, OWB, etc.)

     [ https://issues.apache.org/jira/browse/TOBAGO-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-1970.
-------------------------------------
    Resolution: Fixed

> Configure web.xml listeners via JARs (for Mojarra, MyFaces, OWB, etc.)
> ----------------------------------------------------------------------
>
>                 Key: TOBAGO-1970
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1970
>             Project: MyFaces Tobago
>          Issue Type: Task
>          Components: Build, Demo
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Major
>             Fix For: 5.0.0
>
>
> Currently, there is a need sometimes to comment in/out listeners in the web.xml to run the example WAR in different application servers. With Servlet 3.0 web-fragments, we can include these configurations via a JAR. So we can build different versions via Maven profiles.
>  * tobago-config-myfaces
>  * tobago-config-mojarra
>  * tobago-config-owb
> The current was also includes override-?.xml files with hardcoded paths, which was not so nice.
> With a similar JAR we can switch the demo to "Development" project stage:
>  * tobago-config-dev
> using mvn -Pdev



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)