Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Bundle install/provisioning
Bundle install/provisioning [message #110411] Wed, 21 May 2008 01:25 Go to next message
Eclipse UserFriend
Originally posted by: techi_amol.yahoo.com

Hi All,

I have some basic knowledge of OSGI and i have a quick question. When we
install a bundle, the framework copies the jar file to its internal
directory structure. (org.eclipse.osgi\bundles).

is their any way to avoid this? By avoiding I mean the following

1) When the framework comes up, instead to checking
org.eclipse.osgi\bundles dir it should check some user defined/configured
directory.
2) Behave somewhat similar to a Web server, in the sense that when the
server come up, it reads the .war files afresh and deploys them instead of
loading the existing classes.

Does this violate the OSGI spec in anyways?
Is is possible to make minor changes in the equinox fwk to achieve this?
If yes some pointers to where to make the changes will be appreciated.
thanks in advance,
amol.
Re: Bundle install/provisioning [message #110474 is a reply to message #110411] Thu, 22 May 2008 03:09 Go to previous message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
If the bundles are installed by reference then the copy behavior will not
happen. To do so prefix your URL with "reference:" (e.g.
reference:file:d:/foo/bar/)

As for discovering hte bundles, this is not part of OSGi/Equinox but can be
implemented on top.
Update manager had this with the update.configurator bundle and with p2,
this behavior os provided by the org.eclipse.equinox.dropins.reconciler
bundle.

PaScaL

"Amol Mathur" <techi_amol@yahoo.com> wrote in message
news:574b40bfbde92e7299b3be680dc62401$1@www.eclipse.org...
> Hi All,
>
> I have some basic knowledge of OSGI and i have a quick question. When we
> install a bundle, the framework copies the jar file to its internal
> directory structure. (org.eclipse.osgi\bundles).
> is their any way to avoid this? By avoiding I mean the following
>
> 1) When the framework comes up, instead to checking
> org.eclipse.osgi\bundles dir it should check some user defined/configured
> directory.
> 2) Behave somewhat similar to a Web server, in the sense that when the
> server come up, it reads the .war files afresh and deploys them instead of
> loading the existing classes.
>
> Does this violate the OSGI spec in anyways? Is is possible to make minor
> changes in the equinox fwk to achieve this? If yes some pointers to where
> to make the changes will be appreciated.
> thanks in advance,
> amol.
>
>
Previous Topic:[p2] Bundle Pooling
Next Topic:Starting exploded fragment bundles...
Goto Forum:
  


Current Time: Thu Apr 25 19:53:20 GMT 2024

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

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

Back to the top