Currently BundleStructureDeployer adds embedded archives like this
| // Create a context for this jar file with META-INF as the location for
metadata
| context = createContext(structureContext, "META-INF");
|
| // The classpath is the root
| addClassPath(structureContext, file, true, true, context);
|
| // Add archive children to the classpath
| for (VirtualFile child : root.getChildren())
| {
| if (child.isArchive())
| addClassPath(structureContext, child, true, true, context);
| }
|
In this post
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162196
I describe how Bundle-ClassPath entries cause root files in the classloading policy.
Should the structure deployer also be Bundle-ClassPath aware or should it perhaps not
handle embedded jars at all?
Please advice.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259295#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...