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

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

XMLWordPrintable

      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>
      

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

                Created:
                Updated:
                Resolved: