Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10260

Inconsistent output of Create Portlet Wizard when leaving default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.M4
    • portal-gatein
    • None

      I have a project with JBoss JSF Portlet facet. I want to create a JSF portlet and leave as many default as I can. However, different files are generated if I click the Finish button on the first or on the last page of wizard.

      Scenario A:
      1. Create Dynamic Web Project with JBoss JSF Portlet facet
      2. Open the JBoss JSF/Seam Portlet wizard
      3. Click Next through all pages and leave defaults there
      4. Click Finish
      5. The WEB-INF contains the following files: faces-config.xml, portlet.xml and web.xml

      Scenario B:
      1. Create Dynamic Web Project with JBoss JSF Portlet facet
      2. Show the JBoss JSF/Seam Portlet wizard
      3. Click Finish on the first or the second wizard page (do not go to the last page of wizard)
      4. The WEB-INF contains the files from the previous scenario as well as these additional ones: default-object.xml, portlet-instances.xml, jboss-app.xml, jboss-portlet.xml

      The generated file jboss-app.xml causes that the whole project will not be deployed to the server due to the missing DTD file:

      java.io.FileNotFoundException: http://www.jboss.org/dtd/jboss-app_2_6.dtd

            snjeza_jira Snjezana Peco (Inactive)
            ljelinko@redhat.com Lucia Jelinkova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: