-
Bug
-
Resolution: Done
-
Major
-
3.3.0.M4
-
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