Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Help required on org.eclipse.osgi
Help required on org.eclipse.osgi [message #335836] Mon, 04 May 2009 04:03 Go to next message
shilpa is currently offline shilpaFriend
Messages: 24
Registered: July 2009
Junior Member
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 13:54 Go to previous message
Eclipse UserFriend
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 ??
>
>
Previous Topic:Eclipse project structure
Next Topic:Update-Site over https
Goto Forum:
  


Current Time: Sun Dec 22 06:32:21 GMT 2024

Powered by FUDForum. Page generated in 0.02812 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top