[jboss-dev-forums] [JBoss OSGi Development] - Re: Should BundleStructureDeployer add embedded archives ?

alesj do-not-reply at jboss.com
Thu Oct 8 05:17:05 EDT 2009


"thomas.diesler at jboss.com" wrote : 
  | Should the structure deployer also be Bundle-ClassPath aware or should it perhaps not handle embedded jars at all? 
  | 
Yes, it should be the structure deployer to handle this, not policy creation code.
See JARStructure and its addClassPath call, where includeRootManifestCP == true.


  |       // Add the manifest locations
  |       if (includeRootManifestCP && isLeaf(entry) == false)
  |       {
  |          try
  |          {
  |             VFSUtils.addManifestLocations(entry, paths);
  |          }
  |          catch(Exception e)
  |          {
  |             if (trace)
  |                log.trace("Failed to add manifest locations", e);
  |          }
  |       }
  | 
  |    ...
  | 


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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259304



More information about the jboss-dev-forums mailing list