Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5160

Support for static resources from /META-INF/resources from JBoss Module

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.1.Final
    • Class Loading
    • None

      It would be a nice extension to support loading Servlet 3.0 style fragements for static resources from JBoss modules. For example, for sharing static resources from Vaadin with multiple WAR files (2MB of static files) could be avoided:

      <jboss-deployment-structure>
        <deployment>
          <dependencies>
            <module name="vaadin.static">
              <imports>
                <include path="META-INF**" />
              </imports>            
            </module>
          </dependencies>
        </deployment>
      </jboss-deployment-structure>
      
      

      The module above would contain web static resources in /META-INF/resources/. This doesn't currently work unfortunately. When the JAR contained in the Module is embedded in the WAR file it works fine.

              dlloyd@redhat.com David Lloyd
              blackbeltdev Kirk Rasmussen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: