[
https://jira.jboss.org/jira/browse/JBIDE-5974?page=com.atlassian.jira.plu...
]
Viacheslav Kabanovich commented on JBIDE-5974:
----------------------------------------------
1.
EXECUTE: Create new EJB project.
EXECUTE: Add to project root folder WebContent folder from some JSF project.
EXECUTE: Run 'Add JSF Capabilities' wizard.
ASSERT: Finish/Next buttons are disabled, and error message 'The project cannot be
converted to Web Dynamic project required for JSF capabilities' is displayed.
2.
EXECUTE: Create new Java project.
EXECUTE: Add to project root folder WebContent folder from some JSF project.
EXECUTE: Run 'Add JSF Capabilities' wizard.
ASSERT: Wizard is successfully completed and project appears in Web Projects view.
3.
EXECUTE: Create new JSF project.
EXECUTE: Run 'Remove JSF Capabilities' action (variants: remove or do not remove
dynamic web project capabilities)
EXECUTE: Run 'Add JSF Capabilities' wizard.
ASSERT: Wizard is successfully completed and project appears in Web Projects view.
4.
EXECUTE: Create Faceted Project with any consistent set of facets. If 'Dynamic Web
Module' facet is not included into the set, take a note before finishing if wizard
allows for it to be added to the set or not.
EXECUTE: Add to the project root folder WebContent folder from some JSF project, if the
created project has no web content.
EXECUTE: Run 'Add JSF Capabilities' wizard.
ASSERT: If the created faceted project has 'Dynamic Web Module' facet, or if that
facet was allowed by new faceted project wizard, then 'Add JSF Capabilities'
wizard completes succcessfully, otherwize Finish/Next buttons are disabled and error
message is displayed.
Add JSF Capabilities not preserved after restart
------------------------------------------------
Key: JBIDE-5974
URL:
https://jira.jboss.org/jira/browse/JBIDE-5974
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.1.0.CR2, 3.1.0.GA
Environment: Eclipse 3.5 SR2
Windows 7
Reporter: Cody Lerum
Assignee: Viacheslav Kabanovich
Priority: Critical
Fix For: 3.1.1
Attachments: .project, .project, .settings.zip,
ImportWebProjectWizardPage5974.patch, WebNatureOperation5974.patch
This is when working with a seam-gen ear project.
When using Tools 3.1CR2 the plugin prompts you to add JSF capabilities to ensure code
completion (code suggest?) works correctly.
When adding to an ear project you have to unselect the target server otherwise it starts
publishing your project as a war to the server even though it is an ear. ( see comment
here -
https://jira.jboss.org/jira/browse/JBIDE-4685?focusedCommentId=12517386#a...)
It appears that this adds then 5 seconds later I get an error
WARNING: workspace home changed from to V:/workspace/myProject/resources/WEB-INF
Project P/myProject has corrupted nature: org.jboss.tools.jsf.jsfnature
code complete for EL starts working fine then until eclipse is restarted.
Then when the project builds the following errors shows up in the Error log
Project P/myProject has corrupted nature: org.jboss.tools.jsf.jsfnature
Under the project configure menu the option again shows as "Add JSF
Capabiliites" rather than Remove.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira