Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Feature request
Feature request [message #64688] Thu, 06 April 2006 22:01 Go to next message
Eclipse UserFriend
Originally posted by: aantonau.exadel.com

Hello all!

I have some questions/requests regarding Equinox.
Working on prototype for ECP project we encountered some problems which
could be solved by adding the following features into Equinox:

1. Possibility to automatically unpack a bundle during installation.
I know there is plugin.unpack attribute but it would be useful to have a
special header in manifest. For example, Eclipse-Unpack which is false by
default. When bundle manifest contains Eclipse-Unpack: true Equinox should
unpack this bundle during installation.

2. Possibility to intercept resolving events in Equinox. In particular we
want to intercept event like "Unresolved Bundle" , "Unresolved Package"
and try to resolve it programmatically.

What do you think about it?
Is it possible or may be such features already exist or planned?

Thanks,
Alex
Re: Feature request [message #64713 is a reply to message #64688] Fri, 07 April 2006 11:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: neil.integility.com

Alex,

Have you looked at whether you can do what you need using framework hooks?

See the available hook types under baseAdapter in org.eclipse.osgi. Here's
a ViewCVS link:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.osgi/de faultAdaptor/src/org/eclipse/osgi/baseadaptor/hooks/

Regards
Neil
Re: Feature request [message #64735 is a reply to message #64713] Fri, 07 April 2006 18:06 Go to previous message
Eclipse UserFriend
Originally posted by: aantonau.exadel.com

Neil,

Yes, we have extended BaseAdaptor to unpack bundles.
There are drawbacks of that solution:
- command line options for adaptors seems like very temporary solution
- we use our own "proprietary" header name in the manifest
- name of BaseAdaptor class has been changed since we started use it. It's
internal Equinox API.

As for unresolved events, we are looking at
org.eclipse.osgi.service.resolver.State and
org.eclipse.osgi.service.resolver.StateChangeListener
Are we looking in right direction? We have not found documentation,
examples so we have to look into source code, experiment. We'll appreciate
any help that can save our time.

Thanks,
Alex

Neil Bartlett wrote:

> Alex,

> Have you looked at whether you can do what you need using framework hooks?

> See the available hook types under baseAdapter in org.eclipse.osgi. Here's
> a ViewCVS link:

>
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.osgi/de faultAdaptor/src/org/eclipse/osgi/baseadaptor/hooks/

> Regards
> NeilNeil,
Previous Topic:serverside OSGI build coming?
Next Topic:examples or unit tests for registry
Goto Forum:
  


Current Time: Fri Apr 26 18:40:15 GMT 2024

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

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

Back to the top