+ getPBootClasspath().add(asResource(location));
+
+ if (location.startsWith("file:")) {
+ File file = new File(location.substring("file:".length()));
+ if (osgiLocations.length() != 0)
+ osgiLocations.append(File.pathSeparatorChar);
+ osgiLocations.append(file.getPath().replace('/',
+ File.separatorChar));
+ } else {
+ if (osgiBundles.length() != 0)
+ osgiBundles.append(',');
+ osgiBundles.append(location.replace('/', File.separatorChar));
+ }
+ }