faces-config.xml graphic editor not works ------------------------------------------
Key: MECLIPSE-426 URL: http://jira.codehaus.org/browse/MECLIPSE-426 Project: Maven 2.x Eclipse Plugin Issue Type: Bug Components: WTP support Affects Versions: 2.5.1 Environment: Windows-XP Reporter: Marco Noto In a jsf project with structure like this: --src/main/java --src/main/resources I've faces-config.xml in /META-INF directory, placed under src/main/resources. My pom.xml include this configuration: {code} <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <configuration> <wtpversion>2.0</wtpversion> <additionalProjectFacets> <jst.web>2.5</jst.web> <jst.jsf>1.2</jst.jsf> <jst.ejb>3.0</jst.ejb> </additionalProjectFacets> </configuration> </plugin> {code} After mvn eclipse:eclipse i've under .project directory, the file org.eclipse.wst.common.component: {code} <project-modules id="moduleCoreId" project-version="2.0"> <wb-module deploy-name="eos-components"> <wb-resource deploy-path="/" source-path="src/main/java"/> <wb-resource deploy-path="/" source-path="src/main/resources"/> </wb-module> </project-modules> {code} Now, if i open faces-config.xml with graphic editor, i've some error in eclipse log, and i can't use it, neither i can save the file! (in the log: !MESSAGE Resource '/eos-components/src/main/java/eos-components/src/main/resources' does not exist.) But if I manually invert the order of wb-resources, all works fine! <wb-resource deploy-path="/" source-path="src/main/resources"/> <wb-resource deploy-path="/" source-path="src/main/java"/> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira