Shay Matasaro
2013-06-04 12:00:45 UTC
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]
"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]