[jboss-user] [JBoss Tools] - CDI validator reporting ambiguity due to test classes

Shay Matasaro do-not-reply at jboss.com
Tue Jun 4 08:00:45 EDT 2013


Shay Matasaro [https://community.jboss.org/people/shay_matasaro] created the discussion

"CDI validator reporting ambiguity due to test classes"

To view the discussion, visit: https://community.jboss.org/message/821244#821244

--------------------------------------------------------------
Hi,

The CDI validator for src/main/java is processing  and showing warnings for beans and producers that are in src/test/java .

I have added an exclude line to the main beans.xml "^(.*)Test$"   but the errors are still showing.

Does the CDI validator take beans.xml into account?

Is there a way to distinguish between main and test validation?

Thanks,
Shay
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/821244#821244]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130604/90dada8f/attachment.html 


More information about the jboss-user mailing list