[jboss-jira] [JBoss JIRA] (WFLY-1527) Adding context root to classpath as a resource-root doesn't work
James Livingston (JIRA)
jira-events at lists.jboss.org
Wed Sep 25 01:39:45 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12807112#comment-12807112 ]
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
More information about the jboss-jira
mailing list