[
https://jira.jboss.org/jira/browse/JBIDE-4393?page=com.atlassian.jira.plu...
]
Alexey Kazakov reassigned JBIDE-4393:
-------------------------------------
Assignee: Viacheslav Kabanovich (was: Alexey Kazakov)
I've added this rule to Seam core validator but it doesn't work becouse of thwo
issues in model:
1. Precedence of XML component declaration should be "20" by default.
2. If there is a few <component name="name1" ... /> with the same name
then there is the only one XML declaration for component name1. So I can't check if
there duplicated xml declarations.
Please fix these issues.
Seam validator should complain about two components with the same
name which are defined by @Name and <component/>
------------------------------------------------------------------------------------------------------------------
Key: JBIDE-4393
URL:
https://jira.jboss.org/jira/browse/JBIDE-4393
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Seam
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.1.0.M2
EXECUTE: Create Seam Ear project
EXECUTE: Add string <component
class="org.domain.<seam-project-name>.session.Authenticator"
name="authenticator"/> into components.xml
ASSERT: There should be two error markes on components.xml and Authenticator.java - Two
components with the same name and precedence.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira