[jboss-user] [JBoss Tools] New message: "Duplicate component name validation error"

David Hibbs do-not-reply at jboss.com
Thu Jan 14 14:13:02 EST 2010

User development,

A new message was posted in the thread "Duplicate component name validation error":


Author  : David Hibbs
Profile : http://community.jboss.org/people/sage.sam

This looks like a bug to me, but thought I should post it.
I'm working from the Seam In Action examples, but now with SEAM 2.2 and tools 3.1 CR1. 
 RegisterAction uses some additional configuration from components.xml, defined by a component element without a class specified i.e.; 
    <component name="registerAction"> 
       <property name="pro-status-types">amateur pro semi-pro</property> 
       <property name="specialtyTypes"> 
 The RegisterAction java source is annotated with an @Name header: 
 package org.open18.action; 
 public class RegisterAction { 
During project build, and validation, these both get flagged as "Duplicate component name: "registerAction". 
 This does not prevent the project from building or deploying to JBoss AS 5.1, which in fact operates correctly. The validation simply flags it as an error. 
 This same validation works properly in Seam 2.1 and tools 3.0.1.GA-R2. 
 I updated to the latest nightly build (JBossTools-Update-3.1.0.v201001140301N-H131-CR2.zip) and the problem still exists.


To reply to this message visit the message page: http://community.jboss.org/message/520156#520156

More information about the jboss-user mailing list