[jbosstools-issues] [JBoss JIRA] (JBIDE-10260) Inconsistent output of Create Portlet Wizard when leaving default

Lucia Jelinkova (JIRA) jira-events at lists.jboss.org
Thu Feb 2 04:04:22 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-10260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lucia Jelinkova updated JBIDE-10260:
------------------------------------

    Description: 
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


  was:
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. Show the wizard
2. Click Next through all pages and leave defaults there
3. Click Finish
4. The WEB-INF contains the following files: faces-config.xml, portlet.xml and web.xml

Scenario B:
1. Show the wizard
2. 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



    
> Inconsistent output of Create Portlet Wizard when leaving default
> -----------------------------------------------------------------
>
>                 Key: JBIDE-10260
>                 URL: https://issues.jboss.org/browse/JBIDE-10260
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Portal/GateIn
>    Affects Versions: 3.3.0.M4
>            Reporter: Lucia Jelinkova
>            Assignee: Snjezana Peco
>             Fix For: 3.3.0.Beta1
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list