[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-514) Test class is prefixed with /WEB-INF/classes/ during packaging
Artur Polit (JIRA)
issues at jboss.org
Mon Jul 3 09:01:00 EDT 2017
Artur Polit created SHRINKWRAP-514:
--------------------------------------
Summary: Test class is prefixed with /WEB-INF/classes/ during packaging
Key: SHRINKWRAP-514
URL: https://issues.jboss.org/browse/SHRINKWRAP-514
Project: ShrinkWrap
Issue Type: Bug
Components: impl-base
Affects Versions: 1.2.6
Reporter: Artur Polit
Test class is prefixed with /WEB-INF/classes/ during packaging in line below:
{{ArchivePath location = new BasicPath(getClassesPath(), AssetUtil.getFullPathForClassResource(clazz));}}
In class ContainerBase on building deploy.
{code}
Using {{org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl#getClassesPath}}
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addClasses(ContainerBase.java:1345)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addClass(ContainerBase.java:1285)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.buildTestableDeployments(DeploymentGenerator.java:181)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.createTestableDeployments(DeploymentGenerator.java:148)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.java:85)
{code}
when in reality the class is in target/test-classes/, not in ${projectName}/classes/.
Then it is not found in ClassLoaderConstructor
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the shrinkwrap-issues
mailing list