Skip to main content



      Home
Home » Eclipse Projects » Equinox » Visibility into why bundles are not loading under P2
Visibility into why bundles are not loading under P2 [message #534911] Thu, 20 May 2010 11:42 Go to next message
Eclipse UserFriend
Hello everyone,

I'm currently encountering a situation in which many bundles in my
configuration are not loading at all (I'm running under Eclipse 3.5.1). A
lengthy session of searching yeilds quite a bit of discussion about the fact
that, under P2, when bundles can not be installed due to missing/mis-aligned
dependencies, the omission is made silently - no information is conveyed to
the user as to why this has happed (i.e., an itemization of the dependency
problems).

I am not finding any final answer or resolution to this... do I have no
recourse other than to manually pick through bundle manifests and try to
trace the problem? I have seen references to the use of "P2 UI" and "P2
director", however these seem to require the existence of an update
repository of some kind, which I certainly don't have...

Is there any way to manually direct P2 to simply try to install/resolve a
bundle from the eclipse/plugins folder so that such an operation can me
monitored?

Any additional insights would be most helpful! Many thanks,
-Pete
Re: Visibility into why bundles are not loading under P2 [message #535139 is a reply to message #534911] Fri, 21 May 2010 08:29 Go to previous messageGo to next message
Eclipse UserFriend
As far as I know there is no possibility to install bundle from file.

Installation via "install" command is not an option since P2 will remove the bundle on next start.

You may however use the dropins folder to install your bundle or the Feature and Bundles Publisher as described in this thread

I'm currently implementing prototype of extended provinstall command that will allow such installation.

[Updated on: Fri, 21 May 2010 08:39] by Moderator

Re: Visibility into why bundles are not loading under P2 [message #535159 is a reply to message #535139] Fri, 21 May 2010 08:46 Go to previous messageGo to next message
Eclipse UserFriend
Thank you Hristo - it turns out that even using the ropins folder the bundle
does not install. I'm fairly sure that this is because of a missing
dependency... however, there is no message or log entry describing the
missing dependency.

Does anyone know how to gain such visibiliy? Otherwise, what is the
recommended technique for discovering bundle install problems?

Thanks, -Pete
Re: Visibility into why bundles are not loading under P2 [message #535471 is a reply to message #534911] Sun, 23 May 2010 18:26 Go to previous messageGo to next message
Eclipse UserFriend
"Pete Ellis" <pellis@wwtechgroup.com> wrote in message
news:ht3l8d$vdd$1@build.eclipse.org...
> Hello everyone,
[SNIP]
>
> Is there any way to manually direct P2 to simply try to install/resolve a
> bundle from the eclipse/plugins folder so that such an operation can me
> monitored?
>
> Any additional insights would be most helpful! Many thanks,
> -Pete
>
>

You could try creating a p2 repository by using the
org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher application.

You create a folder with subfolders for the features and plugins and then
run the application pointing to the directory and telling the application to
publish them "inplace".

Search for FeaturesAndBundlesPublisher in Eclipse help.

Once you have the repository you can use p2 to install bundles from it by
making the site available via the Preferences > Install/Update > Available
Software Sites page.

Namaste, Bruce
Re: Visibility into why bundles are not loading under P2 [message #535794 is a reply to message #535471] Tue, 25 May 2010 12:37 Go to previous message
Eclipse UserFriend
Bruce,

Many thanks for this tip, and the details to get it going. I was successful
with this approach in gaining much more visibility into missing dependency
issues in my install configuration.

-Pete
Previous Topic:Run an eclipse birt equinox into a felix container
Next Topic:P2 flags a missing dependency that doesn't seem to be missing
Goto Forum:
  


Current Time: Sun Jul 06 05:34:37 EDT 2025

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

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

Back to the top