| 
| Help required on org.eclipse.osgi [message #335836] | Mon, 04 May 2009 00:03  |  | 
| Eclipse User  |  |  |  |  | Hi, 
 
 
 I have written a plugin that uses some resources on runtime. These
 resources are bundled within the plugin jar itself.
 
 As some of these resources were missing at the actual runtime, I did some
 investigation and found that resources from my plugin jar has been copied
 to a RAD specific folder at location "C:Program
 FilesIBMSDPconfigurationorg.eclipse.osgibundles"
 Also, the resources are not complete. That is, this folder has copied only
 a few resources from my plugin, not all that I want.
 
 This causes an inconsistent behaviour of my plugin.
 
 Does anyone know what the underlying problem can be ??
 |  |  |  | 
| 
| Re: Help required on org.eclipse.osgi [message #335905 is a reply to message #335836] | Fri, 08 May 2009 09:54  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: jacek.pospychala.pl.ibm.com 
 Hi Shilpa,
 Eclipse uses the configuration\org.eclipse.osgi\bundles area to cache
 plug-in contents such as JARs or OS libraries, that normally cannot be
 accessed from JAR - e.g. JAR in JAR, or DLL in JAR. Only contents of
 Plug-in classpath are extracted and it's all up-to plug-in developer
 configuration.
 
 Eclipse also transparently handles access to resources in both locations.
 
 Similar problems are usually caused by incorrect access to resources in
 plug-in, for example using classloader instead of Bundle.getEntry() to
 load resources.
 
 shilpa pisze:
 > Hi,
 >
 >
 >
 > I have written a plugin that uses some resources on runtime. These
 > resources are bundled within the plugin jar itself.
 >
 > As some of these resources were missing at the actual runtime, I did
 > some investigation and found that resources from my plugin jar has been
 > copied to a RAD specific folder at location "C:Program
 > FilesIBMSDPconfigurationorg.eclipse.osgibundles"
 > Also, the resources are not complete. That is, this folder has copied
 > only a few resources from my plugin, not all that I want.
 >
 > This causes an inconsistent behaviour of my plugin.
 >
 > Does anyone know what the underlying problem can be ??
 >
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.02984 seconds