[
https://jira.jboss.org/jira/browse/ARQ-117?page=com.atlassian.jira.plugin...
]
Aslak Knutsen commented on ARQ-117:
-----------------------------------
Changed exception messages / handling:
- Shows which implementations was found if only one is allowed
- Changed to be polite with "please check/verify your classpath" :)
- Log warning if multiple service definitions found but point to the same class(does not
show which jars they where found in, needs rewriting of the serviceloader to get the
info)
Better description from DynamicServiceLoader
--------------------------------------------
Key: ARQ-117
URL:
https://jira.jboss.org/jira/browse/ARQ-117
Project: Arquillian
Issue Type: Feature Request
Components: Deployable Containers SPI
Affects Versions: 1.0.0.Alpha1
Reporter: Jesper Pedersen
Fix For: 1.0.0.Alpha2
Currently DynamicServiceLoader does:
Testcase: initializationError took 0.002 sec
Caused an ERROR
Mutiple implementations found for: org.jboss.arquillian.spi.DeployableContainer, check
classpath
java.lang.RuntimeException: Mutiple implementations found for:
org.jboss.arquillian.spi.DeployableContainer, check classpath
at
org.jboss.arquillian.impl.DynamicServiceLoader.onlyOne(DynamicServiceLoader.java:55)
at
org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:58)
at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:52)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
It would be nice if it would say which implementations are active on the classpath.
--
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