]
Alexey Kazakov resolved JBIDE-3170.
-----------------------------------
Resolution: Rejected
I've checked JSF Facet page.
There is "/facet/*" in URL Patterns field. And for seam wizard projects it's
"*.seam". But if you used seam wizard first then new URL Pattern is remebered.
When you change it again then new value will be used nex time. So it works us designed.
Aliaksey, please check if the exception is thrown only for your old 1.0 jsf project and
report it to
Facets issues during creating JSF Projects.
-------------------------------------------
Key: JBIDE-3170
URL:
https://jira.jboss.org/jira/browse/JBIDE-3170
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.0.0.cr1
Environment: WindowsXP SP2
JBoss Tools
Version: 3.0.0.CR1
Build id: JBossTools-3.0.0.CR1-N200811080256
JDK 1.5_08
Reporter: Aliaksey Nis
Priority: Minor
Attachments: FacetSelection.txt, JSFfacet.JPG
Part 1.
EXECUTE: New > Project > JBoss Tools > JSF > new JSF Project.
EXECUTE: Input name, select JSF 1.01, Select KickStart w/o libs, press Next.
EXECUTE: Uncheck target server checkbox, press Finish.
ASSERT: JSF project successfully created.
EXECUTE: Open web.xml.
ASSERT: <servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
Those strings presented in web.xml.
EXECUTE: Right click on JSF project, select Properties, select Project Facets.
FAILURE(?): JSF facet not enabled.
EXECUTE: Enable JSF facet (1.1), press "future configuration needed" link.
FAILURE(?): "URL mapping = *.seam" instead of "URL mapping = *.jsf".
Screenshot attached. If this field not changed, and Ok(+Apply) button pressed - in web.xml
url-pattern changed to *.seam.
EXECUTE: Change field URL mapping to "*.jsf" value. Press Ok.
FAILURE: Exception thrown in error log. If window closed via cross button - same
exception thrown. Exception log attached.
Part 2.
EXECUTE: New > Project > Web > Dynamic Web project.
EXECUTE: Input name, select configuration "Java server faces v1.1 project".
ASSERT: Press modify button, check that JSF 1.1 checkbox - enabled.
EXECUTE: Press next till JSF capabilities step.
FAILURE: "URL mapping = *.seam" instead of "URL mapping = *.jsf".
ASSERT: JSF project successfully created.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: