Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Why would a plugin end up as [Installed] and not [Resolved] or [Active]?
Why would a plugin end up as [Installed] and not [Resolved] or [Active]? [message #66419] Fri, 12 May 2006 04:27 Go to next message
Geoff Longman is currently offline Geoff LongmanFriend
Messages: 49
Registered: July 2009
Member
I have an issue in bugzilla and a post on the platform newsgroup about
this (links at the end). I'm seeing the plugins in my feature end up in
different "states" according to Help->About->Configuration Details.

One plugin ends up as state [Installed] when installed via online update
and the same plugin shows up as state [Active] when I do the same from an
achived update site.

As I said there is an issue in bugzilla.

My question for this newsgroup is what is the significance of [Installed]
vs [Resolved] vs [Active] (I think I can guess) and how are these states
achieved, or changed?

TIA

Geoff

Plaform newsgroup:
http://www.eclipse.org/newsportal/article.php?id=54287&g roup=eclipse.platform#54287

Bugzilla:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=139967
Re: Why would a plugin end up as [Installed] and not [Resolved] or [Active]? [message #66482 is a reply to message #66419] Fri, 12 May 2006 07:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bettsockentraeger.de

Installed - the plugins code is available in the platform.
Resolved - The plugin and all its plugins are available and the plugin
is ready to be activated.
Active - The plugin has been activated through a user action. E.g. code
from the plugin has been run. (See also Eclipse-LazyStart or
Eclipse-AutoStart in manifest.mf in the help)

Hope that clears some stuff up

Stefan

Geoff Longman wrote:
> I have an issue in bugzilla and a post on the platform newsgroup about
> this (links at the end). I'm seeing the plugins in my feature end up in
> different "states" according to Help->About->Configuration Details.
>
> One plugin ends up as state [Installed] when installed via online update
> and the same plugin shows up as state [Active] when I do the same from
> an achived update site.
>
> As I said there is an issue in bugzilla.
>
> My question for this newsgroup is what is the significance of
> [Installed] vs [Resolved] vs [Active] (I think I can guess) and how are
> these states achieved, or changed?
> TIA
>
> Geoff
>
> Plaform newsgroup:
> http://www.eclipse.org/newsportal/article.php?id=54287&g roup=eclipse.platform#54287
>
>
> Bugzilla:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=139967
>
Re: Why would a plugin end up as [Installed] and not [Resolved] or [Active]? [message #66562 is a reply to message #66482] Fri, 12 May 2006 08:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: neil.integility.com

Just to add a little to what Stefan said: under Equinox, if a bundle is
stuck in INSTALLED state it generally means that its dependencies could
not be resolved. By adding the -console switch when you launch, you can
use the OSGi console to diagnose the missing dependencies using the "diag"
command. For example:

osgi> ss

Framework is launched.

id State Bundle
0 ACTIVE system.bundle_3.2.0.v20060328
1 ACTIVE org.eclipse.equinox.common_3.2.0.v20060329
2 INSTALLED org.eclipse.equinox.http_1.0.0.v20060317

osgi> diag 2
initial@reference:file:plugins/org.eclipse.equinox.http_1.0.0.v20060317.jar/
[2]
Missing imported package javax.servlet_0.0.0.
Missing imported package javax.servlet.http_0.0.0.
Missing imported package org.osgi.service.cm_1.0.0.
Missing imported package org.osgi.service.http_1.1.0.
Missing imported package org.osgi.service.log_1.0.0.

Regards,
Neil
Re: Why would a plugin end up as [Installed] and not [Resolved] or [Active]? [message #67403 is a reply to message #66562] Mon, 15 May 2006 13:20 Go to previous message
Geoff Longman is currently offline Geoff LongmanFriend
Messages: 49
Registered: July 2009
Member
Hey that's useful!

Thanks!

Geoff

Neil Bartlett wrote:

> Just to add a little to what Stefan said: under Equinox, if a bundle is
> stuck in INSTALLED state it generally means that its dependencies could
> not be resolved. By adding the -console switch when you launch, you can
> use the OSGi console to diagnose the missing dependencies using the "diag"
> command. For example:

> osgi> ss

> Framework is launched.

> id State Bundle
> 0 ACTIVE system.bundle_3.2.0.v20060328
> 1 ACTIVE org.eclipse.equinox.common_3.2.0.v20060329
> 2 INSTALLED org.eclipse.equinox.http_1.0.0.v20060317

> osgi> diag 2
> initial@reference:file:plugins/org.eclipse.equinox.http_1.0.0.v20060317.jar/
> [2]
> Missing imported package javax.servlet_0.0.0.
> Missing imported package javax.servlet.http_0.0.0.
> Missing imported package org.osgi.service.cm_1.0.0.
> Missing imported package org.osgi.service.http_1.1.0.
> Missing imported package org.osgi.service.log_1.0.0.

> Regards,
> Neil
Previous Topic:Best practices for class loading issues
Next Topic:shutdown framework -> relaunch framework
Goto Forum:
  


Current Time: Sat May 11 00:19:11 GMT 2024

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

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

Back to the top