Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1527

Adding context root to classpath as a resource-root doesn't work

    XMLWordPrintable

Details

    Description

      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.

      <jboss-deployment-structure>
           <deployment>
               <resources>
                   <resource-root path="/"/>
               </resources>
           </deployment>
      </jboss-deployment-structure>
      

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            josef.cacek@gmail.com Josef Cacek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: