Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357526

Summary: "Faces Configuration" shown many times in Project Explorer
Product: [WebTools] Java Server Faces Reporter: Chris Joelly <joysn71>
Component: UIAssignee: JSF Project UI <jsf.ui-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: raghunathan.srinivasan
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
screenshot of project explorer view none

Description Chris Joelly CLA 2011-09-13 13:36:07 EDT
in a Dynamic Web project i use Maven (m2e, m2e-wtp) and the JPA and JSF facet. and it happens that the node "Faces Configuration" is shown up to 5 times in the project explorer. after a clean one or some of these nodes vanish, but after the clean and build is completed they are back again in the tree. I already exported the project, reimported the project to a new workspace, but the behavior is the same all the time. At the moment i am happy with only two nodes visible in the explorer :)
And when i double click in one of those nodes i get the message in a popup window saying:

No JSF configuration file exists in this project.
Please create a valid configuration file before performing this operation.

But there is a faces-config.xml in the src/main/webapps/WEB-INF folder and the "Faces Configuration" nodes are able to show its contents, the navigation rules, the managed beans and the converters. 

Eclipse Indigo on Linux Debian with Java 1.6
Comment 1 Chris Joelly CLA 2011-09-13 13:36:55 EDT
Created attachment 203265 [details]
screenshot of project explorer view
Comment 2 Raghunathan Srinivasan CLA 2011-09-14 14:44:25 EDT
The WTP JSF Project doesn't create the Faces configuration node in the Project Explorer. I am assuming you are using an adopter product which adds this node. If so, please report this issue in the forum for the adopter product.