}  if (bundlefile == null) { BundleException be = new BundleException(Msg.formatter.getString("BUNDLE_CLASSPATH_ENTRY_NOT_FOUND_EXCEPTION", cp)); bundledata.adaptor.getEventPublisher().publishFrameworkEvent( FrameworkEvent.ERROR,bundledata.getBundle(),be); }
}
	protected BundleFile getClasspath(String cp, DefaultBundleData bundledata){		BundleFile bundlefile = null;		File file = bundledata.bundleFile.getFile(cp);		if (file != null && file.exists()) {			try			{				bundlefile = BundleFile.createBundleFile(file, bundledata);			}			catch (IOException e)			{				bundledata.adaptor.getEventPublisher().publishFrameworkEvent(					FrameworkEvent.ERROR,bundledata.getBundle(),e);			}		}		else {			if (bundledata.bundleFile instanceof BundleFile.ZipBundleFile)			{				// the classpath entry may be a directory in the bundle jar file.				Enumeration entries = bundledata.bundleFile.getEntryPaths(cp);				if (entries.hasMoreElements())				{					bundlefile = BundleFile.createBundleFile(							(BundleFile.ZipBundleFile)bundledata.bundleFile, cp);				}			}			if (bundlefile == null)			{				BundleException be = new BundleException(Msg.formatter.getString("BUNDLE_CLASSPATH_ENTRY_NOT_FOUND_EXCEPTION", cp));				bundledata.adaptor.getEventPublisher().publishFrameworkEvent(						FrameworkEvent.ERROR,bundledata.getBundle(),be);			}					}		return bundlefile;	}