org.eclipse.osgi.framework.console not accessible + order of starting bundles [message #50638] |
Sun, 16 October 2005 11:06  |
Eclipse User |
|
|
|
Originally posted by: mslocins.gmail.com
Hi,
in
http://www.eclipse.org/newsportal/article.php?id=1045&gr oup=eclipse.technology.equinox#1045
I found that org.eclipse.osgi.framework.console.CommandProvider can be
implemented and registered as a service in order to extend console with
additional commands. There is a discussion if
org.eclipse.osgi.framework.console should be exported or not - however in
Eclipse 3.2 I noticed it is exported already. I added such dependency to
org.eclipse.osgi.framework.console in my plugin, however I'm getting
ClassNotFoundException when I try to register my service implementing that
interface. My manifest file contains:
Import-Package: org.eclipse.osgi.framework.console,
org.osgi.framework;version="1.3.0"
Do you know solution for that issue?
Other question is order of installing and starting bundles. On
http://eclipse.org/equinox/quickstart.html there is following information:
"Where config.ini is a Java properties file that contains the following
line. Note that the osgi.bundles property is quite powerful. See the doc
for details.
osgi.bundles=B1:start, B2:start
"
It doesn't work for me - I had to browse through Eclipse installation
folder and add such line in my config.ini:
osgi.bundles=B1@2:start, B2@3:start
I thought @2, @3 describes order of installing/starting of bundles, but
unfortunatelly it doesn't work as I expected. Could someone tell me what
is role of those numbers? Additional question is - how to define order of
starting bundles?
Michal
|
|
|
|
Re: org.eclipse.osgi.framework.console not accessible + order of starting bundles [message #50919 is a reply to message #50638] |
Wed, 19 October 2005 21:10  |
Eclipse User |
|
|
|
Originally posted by: jeff_nospam_mcaffer.ca.ibm.com
the numbers are start levels. Bundles are installed optionally marked as
"startable" in hte order they are listed. Note that they are not acutally
started (i.e., their start methods called) until the system's start level
reaches the level at which they reside. See
http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/reference/misc/runtime-options.html
Jeff
"Michal" <mslocins@gmail.com> wrote in message
news:4600a4ff974c63c439e62dfc484c90c5$1@www.eclipse.org...
> Hi,
>
> in
>
http://www.eclipse.org/newsportal/article.php?id=1045&gr oup=eclipse.technology.equinox#1045
> I found that org.eclipse.osgi.framework.console.CommandProvider can be
> implemented and registered as a service in order to extend console with
> additional commands. There is a discussion if
> org.eclipse.osgi.framework.console should be exported or not - however in
> Eclipse 3.2 I noticed it is exported already. I added such dependency to
> org.eclipse.osgi.framework.console in my plugin, however I'm getting
> ClassNotFoundException when I try to register my service implementing that
> interface. My manifest file contains:
>
> Import-Package: org.eclipse.osgi.framework.console,
> org.osgi.framework;version="1.3.0"
>
> Do you know solution for that issue?
>
> Other question is order of installing and starting bundles. On
> http://eclipse.org/equinox/quickstart.html there is following information:
>
> "Where config.ini is a Java properties file that contains the following
> line. Note that the osgi.bundles property is quite powerful. See the doc
> for details.
>
> osgi.bundles=B1:start, B2:start
> "
>
> It doesn't work for me - I had to browse through Eclipse installation
> folder and add such line in my config.ini:
>
> osgi.bundles=B1@2:start, B2@3:start
>
> I thought @2, @3 describes order of installing/starting of bundles, but
> unfortunatelly it doesn't work as I expected. Could someone tell me what
> is role of those numbers? Additional question is - how to define order of
> starting bundles?
>
> Michal
>
|
|
|
Powered by
FUDForum. Page generated in 0.03981 seconds