Bundle install/provisioning [message #110411] |
Tue, 20 May 2008 21:25  |
Eclipse User |
|
|
|
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] |
Wed, 21 May 2008 23:09  |
Eclipse User |
|
|
|
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.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04770 seconds