Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2908

web jsf setup command generates incomplete web.xml if apache myfaces is choose

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.2.0.RELEASE
    • Fix Version/s: 1.2.0.RC1
    • Component/s: JSF
    • Labels:
    • Environment:
      1.2.0.BUILD-SNAPSHOT [rev d22b2d5]
      osx 10.6.8
      jdk 1.6.0_26

      Description

      if you generate a simple jsf app with myfaces as implementation,
      the web.xml will the myfaces specific listener:

      <listener>
      <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
      </listener>

      this is the roo script i used:
      =========
      project --topLevelPackage x
      persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY

      entity jpa --class ~.Person
      field string --fieldName name --notNull
      web jsf setup --implementation APACHE_MYFACES
      web jsf all --package ~.jsf
      =========

      then trying to deploy it with:
      mvn jetty:tun

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            lalyos lajos papp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: