You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2019/01/04 18:07:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16734423#comment-16734423 ] 

Hudson commented on TOBAGO-1970:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago Trunk #1637 (See [https://builds.apache.org/job/Tobago%20Trunk/1637/])
TOBAGO-1970: Configure web.xml listeners via JARs (for Mojarra, MyFaces, (lofwyr: rev 3df3fdb7dc8e9c688593a52a99e5b25112a7febc)
* (edit) tobago-tool/pom.xml
* (add) tobago-tool/tobago-config-dev/pom.xml
* (edit) pom.xml
* (add) tobago-tool/tobago-config-dev/src/main/resources/META-INF/web-fragment.xml
* (delete) tobago-example/src/test/jetty/override-myfaces-web.xml
* (edit) tobago-example/tobago-example-demo/pom.xml
* (delete) tobago-example/src/test/jetty/override-mojarra-web.xml
* (add) tobago-tool/tobago-config-mojarra/src/main/resources/META-INF/web-fragment.xml
* (add) tobago-tool/tobago-config-myfaces/src/main/resources/META-INF/web-fragment.xml
* (edit) tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/20-docker/Docker.xhtml
* (add) tobago-tool/tobago-config-owb/src/main/resources/META-INF/web-fragment.xml
* (edit) tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
* (edit) tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/DockerController.java
* (edit) tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/DockerServer.java
* (add) tobago-tool/tobago-config-owb/pom.xml
* (add) tobago-tool/tobago-config-myfaces/pom.xml
* (edit) tobago-example/pom.xml
* (delete) tobago-example/tobago-example-demo/src/main/resources/META-INF/beans.xml
* (add) tobago-tool/tobago-config-mojarra/pom.xml


> 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)