Tapestry 5
  1. Tapestry 5
  2. TAP5-1485

Quickstart archetype should define a ProductionModeModule and DevelopmentModeModule with support inside web.xml

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.3
    • Fix Version/s: 5.3
    • Component/s: quickstart
    • Labels:
      None

      Description

      It's a good practice to have a general AppModule, plus additional module(s) for setup restricted to actual production, and an alternate module for overrides needed during development and testing. The support for this, execution modes, was adding in 5.2. More documentation would be nice, as would an enhanced quickstart archetype that shows how those modes would operation.

      1. quickstart.patch
        7 kB
        Emmanuel DEMEY

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #512 (See https://builds.apache.org/job/tapestry-trunk-freestyle/512/)
        TAP5-1485 Makes the symbol value a constant
        TAP5-1485 Specify two execution modes in the quickstart, Development and Qa

        mlusetti : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1167259
        Files :

        • /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java
        • /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/TapestryFilter.java

        mlusetti : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1167258
        Files :

        • /tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/pom.xml
        • /tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/java/services/AppModule.java
        • /tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/java/services/DevelopmentModule.java
        • /tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/java/services/QaModule.java
        • /tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/webapp/WEB-INF/web.xml
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #512 (See https://builds.apache.org/job/tapestry-trunk-freestyle/512/ ) TAP5-1485 Makes the symbol value a constant TAP5-1485 Specify two execution modes in the quickstart, Development and Qa mlusetti : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1167259 Files : /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/TapestryFilter.java mlusetti : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1167258 Files : /tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/pom.xml /tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/java/services/AppModule.java /tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/java/services/DevelopmentModule.java /tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/java/services/QaModule.java /tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/webapp/WEB-INF/web.xml
        Hide
        Emmanuel DEMEY added a comment -

        This patch adds two new Modules : ProductionModeModule and DevelopmentModeModule. And I created 2 web.xml context-param : tapestry.production-modules (the default param) and tapestry.DevelopmentMode-modules .

        If you have any suggestions, please do not hesitate!

        Emmanuel

        Show
        Emmanuel DEMEY added a comment - This patch adds two new Modules : ProductionModeModule and DevelopmentModeModule. And I created 2 web.xml context-param : tapestry.production-modules (the default param) and tapestry.DevelopmentMode-modules . If you have any suggestions, please do not hesitate! Emmanuel

          People

          • Assignee:
            Massimo Lusetti
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development