Peter,
   The code is in  serverImpl.java of  jboss-system.jar initBootLibraries() 
method which is private.

    /**
    * Initialize the boot libraries.
    */
   private RepositoryClassLoader initBootLibraries() throws Exception
   {
      // Build the list of URL for the spine to boot
      List list = new ArrayList();

      // Add the patch URL.  If the url protocol is file, then
      // add the contents of the directory it points to
      URL patchURL = config.getPatchURL();
      if (patchURL != null)
      {
         if (patchURL.getProtocol().equals("file"))
         {
            File dir = new File(patchURL.getFile());
            if (dir.exists())
            {
               // Add the local file patch directory
               list.add(dir.toURL());

               // Add the contents of the directory too
               File[] jars = dir.listFiles(new FileSuffixFilter(new String[] { 
".jar", ".zip" }, true));

               for (int j = 0; jars != null && j < jars.length; j++)
               {
                  list.add(jars[j].getCanonicalFile().toURL());
               }
            }
         }
         else
         {
            list.add(patchURL);
         }
      }

this code needs to chnage to accept multiple files.I am not sure whether it is 
good idea to modify as it will be very hard to maintain .Do you have any 
suggestion!!





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175710#4175710

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175710
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to