[jboss-jira] [JBoss JIRA] (WFLY-1527) Adding context root to classpath as a resource-root doesn't work

Brad Maxwell (JIRA) jira-events at lists.jboss.org
Thu Jul 11 11:31:21 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789171#comment-12789171 ] 

Brad Maxwell commented on WFLY-1527:
------------------------------------

Note this also does NOT work for an ear, you cannot get the root of the ear in the classpath, some users put config files in the root of the ear and try to load them.
                
> 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