[
https://issues.jboss.org/browse/JBIDE-10831?page=com.atlassian.jira.plugi...
]
Fred Bricon resolved JBIDE-10831.
---------------------------------
Resolution: Partially Completed
I only implemented the detection of faces config from web.xml because :
* if faces-config.xml exists in target/classes/META-INF/, upon deployment, AS7 doesn't
detect it, unless the default faces-config.xml exists under WEB-INF.
* if faces-config.xml exists in root/META-INF/, upon deployment, AS7 never detects it
* Web projects can not have the web-fragment facet
* I'm afraid looking for META-INF/faces-config.xml in project dependencies might lead
to performance issues and false positives. Users still have the possibility to add the JSF
facet manually in that case.
faces-config isn't detected in META-INF or according to web.xml
---------------------------------------------------------------
Key: JBIDE-10831
URL:
https://issues.jboss.org/browse/JBIDE-10831
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven
Affects Versions: 3.3.0.Beta1
Reporter: Rastislav Wagner
Assignee: Fred Bricon
Priority: Minor
Fix For: 3.3.0.Beta1
faces-config.xml doesn't have to be located always in WEB-INF folder.
faces-config can be in:
WEB-INF
META-INF
filename ending with .faces-config.xml in META-INF
javax.faces.CONFIG_FILES context param is declared in web.xml or web-fragment.xml
--
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