[
https://jira.jboss.org/browse/JBIDE-7455?page=com.atlassian.jira.plugin.s...
]
Viacheslav Kabanovich commented on JBIDE-7455:
----------------------------------------------
The modification is done by jst.jsf in Web25MergedModelProvider called by
JSFFacetInstallDelegate. The idea is to add another namespace (with prefix 'web')
for version 2.5 to support features missing in earlier versions. It seems they do not
check there that 3.0 is not an earlier but new version of web descriptor.
New JSF Project wizard creates web.xml 3.0 with incorrect
namespaces.
---------------------------------------------------------------------
Key: JBIDE-7455
URL:
https://jira.jboss.org/browse/JBIDE-7455
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.2.0.Beta2
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.2.0.Beta2
1. Open New JSF Project wizard.
2. Select JSF 2 & Servlet Version 3.0. Press Finish.
3. Open the created web.xml. It has <web-app
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" ...>
But it should have
<web-app
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd".....
shouldn't it?
And btw, could we use Servetl 3.0 as default value for JSF 2.0 projects in our wizard?
Not it's 2.5.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira