[JBoss JIRA] Created: (ARQ-118) DeploymentAnnotationArchiveGenerator makes incorrect assumptions
by Jesper Pedersen (JIRA)
DeploymentAnnotationArchiveGenerator makes incorrect assumptions
----------------------------------------------------------------
Key: ARQ-118
URL: https://jira.jboss.org/jira/browse/ARQ-118
Project: Arquillian
Issue Type: Bug
Components: Deployable Containers SPI
Affects Versions: 1.0.0.Alpha1
Reporter: Jesper Pedersen
Priority: Critical
DeploymentAnnotationArchiveGenerator tries to operate on classes, but a resource adapter archive doesn't support that - correctly so.
Testcase: org.jboss.jca.embedded.unit.ArquillianTestCase took 0 sec
Caused an ERROR
Could not get Deployment
java.lang.RuntimeException: Could not get Deployment
at org.jboss.arquillian.impl.DeploymentAnnotationArchiveGenerator.generateApplicationArchive(DeploymentAnnotationArchiveGenerator.java:58)
at org.jboss.arquillian.impl.ClientDeploymentGenerator.generate(ClientDeploymentGenerator.java:58)
at org.jboss.arquillian.impl.DeployableTest.generateArchive(DeployableTest.java:72)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:97)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:115)
Caused by: java.lang.UnsupportedOperationException: ResourceAdapterArchive does not support classes
at org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl.getClassesPath(ResourceAdapterArchiveImpl.java:111)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addClasses(ContainerBase.java:854)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addClass(ContainerBase.java:799)
at org.jboss.arquillian.impl.DeploymentAnnotationArchiveGenerator.generateApplicationArchive(DeploymentAnnotationArchiveGenerator.java:51)
In this case the DeploymentPackager will just return the applicationArchive parameter directly.
--
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