Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-1970

Configure web.xml listeners via JARs (for Mojarra, MyFaces, OWB, etc.)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0-alpha-1, 5.0.0
    • Build, Demo
    • None

    Description

      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

      Attachments

        Activity

          People

            lofwyr Udo Schnurpfeil
            lofwyr Udo Schnurpfeil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: