[
https://issues.jboss.org/browse/WFLY-1527?page=com.atlassian.jira.plugin....
]
James Livingston commented on WFLY-1527:
----------------------------------------
This can be worked around by adding it to a module that then gets added as a dependency:
<?xml version="1.0"?>
<jboss-deployment-structure >
<deployment>
<dependencies>
<module name="deployment.ear-root"
export="true" />
</dependencies>
</deployment>
<module name="deployment.ear-root">
<resources>
<resource-root path="."/>
</resources>
</module>
</jboss-deployment-structure>
Adding context root to classpath as a resource-root doesn't work
----------------------------------------------------------------
Key: WFLY-1527
URL:
https://issues.jboss.org/browse/WFLY-1527
Project: WildFly
Issue Type: Bug
Components: Web (JBoss Web), Web (Undertow)
Reporter: Josef Cacek
Assignee: Remy Maucherat
Attachments: test.war
It's not possible to include root of a war in the classpath (using resource-root in
jboss-deployment-structure.xml). None of "/", ".", "" values
used as resource-root works to solve this.
{code:xml}
<jboss-deployment-structure>
<deployment>
<resources>
<resource-root path="/"/>
</resources>
</deployment>
</jboss-deployment-structure>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira