]
Alexey Kazakov updated JBIDE-3170:
----------------------------------
Priority: Minor (was: Critical)
I can't reproduce the Exception.
What version of JBoss Tools do you use? We don't have JSF 1.01 template project.
It seems to be a very old project template from some old JBoss Tools (or form very old
workspace).
Maybe WTP JSF tools can't handle web.xml from it. Anyway it looks like a bug of
WTP/Eclise.
Regarding URL patterns see
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: