Tapestry 5
  1. Tapestry 5
  2. TAP5-1702

T5 to log where it thinks the Application Module should be if not found

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.3
    • Fix Version/s: 5.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      One Small Thing...

      ...could we please have a warning message logged when the default
      application module is not found on startup? Something like,

      "Could not find the application module 'com.mycompany.project.WoteverModule'"

      Because everytime (and it does seem to be everytime!) I start a new
      project I miss-type, miss-spell, deploy the wrong web-override.xml or
      do something that causes T5 to look in the wrong place for my Module.
      It would be really, really useful on these occasions if T5 told me
      where it was trying to look as oppose to silently moving on.

      I agree with the code comment that it's valid not to have a Module
      class, but if not found, if T5 was a bit more verbose in telling where
      it was attempting to look, that would be awesome!

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #587 (See https://builds.apache.org/job/tapestry-trunk-freestyle/587/)
        TAP5-1702 Warn the user if the application Module class could not be found

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

        • /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/TapestryAppInitializer.java
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #587 (See https://builds.apache.org/job/tapestry-trunk-freestyle/587/ ) TAP5-1702 Warn the user if the application Module class could not be found mlusetti : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186048 Files : /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/TapestryAppInitializer.java

          People

          • Assignee:
            Massimo Lusetti
            Reporter:
            Steve Eynon
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development