[
https://issues.jboss.org/browse/JBIDE-13242?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-13242:
----------------------------------------
The problem is that seam-gen project is not a dynamic web project. So JBoss Tools cannot
recognize <project>/view as a webroot folder.
See
https://issues.jboss.org/browse/JBIDE-13254?focusedCommentId=12744574&...
But you cannot get this false validation problem in a fresh generated project since WST
(Eclipse Web Tools) validation is not enabled there. Seam validation is an extension of
WST validation so it won't work if WST validation disabled. You probably enabled JBoss
Tools Knowledge Base support after importing the project (you will be asked to do it when
opening any xhtml file for such a project). JBT KB enables WST validation.
Seam 2.3: seam-gen generated project, JBDS reports missing files
referenced from view-id in pages.xml
-----------------------------------------------------------------------------------------------------
Key: JBIDE-13242
URL:
https://issues.jboss.org/browse/JBIDE-13242
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam 2
Affects Versions: 4.0.0.Beta2
Environment: Seam.2.3.0, JBDS 5.0.1.GA or JBDS 6.0.0.Beta2a
Reporter: Marek Novotny
Assignee: Alexey Kazakov
Fix For: 4.1.0.Alpha1
After importing and building a Seam 2.3 seam-gen generated project in JBDS, it reports
missing files referenced from view-id in pages.xml and in somEntity.page.xml files.
This works OK for a Seam project created in JBDS and for a Maven project imported to
JBDS.
How reproducible:
Import a seam-gen generated EAR project, check pages.xml.
Steps to Reproduce:
1. Create a seam-gen EAR project.
2. Import into JBDS.
3. Open pages.xml, make a change (to trigger build).
Actual results:
On lines referencing a view-id, like
<redirect view-id="/home.xhtml"/>
JBDS shows an error saying:
Cannot find target resource: "/home.xhtml"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira