[jboss-cvs] JBossAS SVN: r92947 - projects/jboss-osgi/projects/runtime/deployers/trunk/src/main/java/org/jboss/osgi/deployer.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 28 07:48:52 EDT 2009
Author: thomas.diesler at jboss.com
Date: 2009-08-28 07:48:52 -0400 (Fri, 28 Aug 2009)
New Revision: 92947
Modified:
projects/jboss-osgi/projects/runtime/deployers/trunk/src/main/java/org/jboss/osgi/deployer/BundleStructureDeployer.java
Log:
Add archive children to the classpath
Modified: projects/jboss-osgi/projects/runtime/deployers/trunk/src/main/java/org/jboss/osgi/deployer/BundleStructureDeployer.java
===================================================================
--- projects/jboss-osgi/projects/runtime/deployers/trunk/src/main/java/org/jboss/osgi/deployer/BundleStructureDeployer.java 2009-08-28 11:46:15 UTC (rev 92946)
+++ projects/jboss-osgi/projects/runtime/deployers/trunk/src/main/java/org/jboss/osgi/deployer/BundleStructureDeployer.java 2009-08-28 11:48:52 UTC (rev 92947)
@@ -83,6 +83,13 @@
// 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);
+ }
+
// We don't process children as potential subdeployments
return true;
More information about the jboss-cvs-commits
mailing list