2 Replies Latest reply on Dec 17, 2007 8:09 PM by alesj

    Multiple metadata locations

    alesj

      Looking at this case:
      - http://www.jboss.org/index.html?module=bb&op=viewtopic&t=123208&start=10
      wouldn't it be useful to have multiple metadata locations available?

      So that in the case of interceptors-xmbean.sar one could define:

      <structure>
       <context>
       <path>interceptors-xmbean.sar</path>
       <metaDataPath>META-INF</metaDataPath>
       <metaDataPath>jmx/interceptors</metaDataPath>
       <metaDataPath>jmx/interceptors/scripts</metaDataPath>
       <classpath>
       <path>/</path>
       </classpath>
       </context>
      </structure>
      


      Or how else can we achieve successful deployment, and not have to change the structure of interceptors-xmbean.sar?

        • 1. Re: Multiple metadata locations
          alesj

          OK, we agreed that this doesn't cover the .bsh use case.
          But is this something that is useful?
          Since I already changed it, and have the tests passing ...
          I can commit or revert? :-)

          The format would look like this:

          <structure>
           <context>
           <path name=""/>
           <metaDataPath>
           <path name="META-INF"/>
           </metaDataPath>
           <classpath>
           <path name="jar1.jar"/>
           <path name="lib-dir" suffixes=".jar"/>
           </classpath>
           </context>
           <context>
           <path name="sub.jar"/>
           <metaDataPath>
           <path name="META-INF"/>
           </metaDataPath>
           </context>
           <context>
           <path name="x.war"/>
           <metaDataPath>
           <path name="WEB-INF"/>
           </metaDataPath>
           <classpath>
           <path name="x.war/WEB-INF/classes"/>
           <path name="x.war/WEB-INF/lib" suffixes=".jar"/>
           </classpath>
           </context>
          </structure>
          


          • 2. Re: Multiple metadata locations
            alesj

             

            "alesj" wrote:

            Since I already changed it, and have the tests passing ...
            I can commit or revert? :-)

            Commited. ;-)