Feature request [message #64688] |
Thu, 06 April 2006 18:01  |
Eclipse User |
|
|
|
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 #64735 is a reply to message #64713] |
Fri, 07 April 2006 14:06  |
Eclipse User |
|
|
|
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,
|
|
|
Powered by
FUDForum. Page generated in 0.07066 seconds