]
Martin Kouba updated ARQ-753:
-----------------------------
Git Pull Request:
ShrinkWrapClassLoader does not find service provider in WAR
-----------------------------------------------------------
Key: ARQ-753
URL:
https://issues.jboss.org/browse/ARQ-753
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Weld Containers
Affects Versions: weld_1.0.0.CR3
Reporter: Martin Kouba
Assignee: Martin Kouba
Fix For: weld_1.0.0.Final
I ran into this issue when working with *Arquillian* and *Weld EE 1.1 Embedded container*
(that uses ShrinkWrapClassLoader under the hood). ShrinkWrap correctly builds web archive
with CDI extension (using
org.jboss.shrinkwrap.api.container.ManifestContainer.addAsServiceProvider(Class<?>,
Class<?>...); this was also discussed in SHRINKWRAP-266).
Output:
{code}
test.war
/WEB-INF/
/WEB-INF/classes/
/WEB-INF/classes/META-INF/
/WEB-INF/classes/META-INF/services/
/WEB-INF/classes/META-INF/services/javax.enterprise.inject.spi.Extension
{code}
However no extensions are found.
*org.jboss.shrinkwrap.api.classloader.ShrinkWrapClassLoader* probably does not find any
resource when looking for
"META-INF/services/javax.enterprise.inject.spi.Extension".
Note that I'm not quite sure whether it's ShrinkWrapClassLoader or
WeldEEMockContainer issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: