Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Starting Orsgi Bundle
Starting Orsgi Bundle [message #278980] Tue, 11 January 2005 12:04 Go to next message
Eclipse UserFriend
I created one OSGi bundle. I want to start that bundle automatically when
my bundle is installed.

I understand there is some StartLevel service which can be used. I can set
the StartLevel to 1.

I am not undrestanding where do I specify my initial startlevel so that if
I install my bundle it will automatically start.

Currently on installing my bundle it goes to Resolved state.

Is there some Header to be used to specify that my bundle should be
started automatically.

Any help appreciated.
Re: Starting Orsgi Bundle [message #279037 is a reply to message #278980] Tue, 11 January 2005 17:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.musta.nospam.com

Eclipse-AutoStart: true

in your manifest?


"S Dix" <siddhi1972@yahoo.com> wrote in message
news:cs10ul$f2a$1@www.eclipse.org...
> I created one OSGi bundle. I want to start that bundle automatically when
> my bundle is installed.
>
> I understand there is some StartLevel service which can be used. I can set
> the StartLevel to 1.
>
> I am not undrestanding where do I specify my initial startlevel so that if
> I install my bundle it will automatically start.
>
> Currently on installing my bundle it goes to Resolved state.
>
> Is there some Header to be used to specify that my bundle should be
> started automatically.
>
> Any help appreciated.
>
Re: Starting Orsgi Bundle [message #279125 is a reply to message #279037] Wed, 12 January 2005 09:34 Go to previous messageGo to next message
Eclipse UserFriend
Yes the Eclipse-AutoStart: true is present in the manifest. My bundle goes
in the Resolved state. I have to start it explicitly. I want my bundle to
startup when the framework startsup.

Tom Musta wrote:

> Eclipse-AutoStart: true

> in your manifest?


> "S Dix" <siddhi1972@yahoo.com> wrote in message
> news:cs10ul$f2a$1@www.eclipse.org...
>> I created one OSGi bundle. I want to start that bundle automatically when
>> my bundle is installed.
>>
>> I understand there is some StartLevel service which can be used. I can set
>> the StartLevel to 1.
>>
>> I am not undrestanding where do I specify my initial startlevel so that if
>> I install my bundle it will automatically start.
>>
>> Currently on installing my bundle it goes to Resolved state.
>>
>> Is there some Header to be used to specify that my bundle should be
>> started automatically.
>>
>> Any help appreciated.
>>
Re: Starting Orsgi Bundle [message #279148 is a reply to message #279125] Wed, 12 January 2005 11:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chaves.inf.no.ufsc.spam.br

See:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=50164

S Dik wrote:
> Yes the Eclipse-AutoStart: true is present in the manifest. My bundle
> goes in the Resolved state. I have to start it explicitly. I want my
> bundle to startup when the framework startsup.
>
> Tom Musta wrote:
>
>> Eclipse-AutoStart: true
>
>
>> in your manifest?
>
>
>
>> "S Dix" <siddhi1972@yahoo.com> wrote in message
>> news:cs10ul$f2a$1@www.eclipse.org...
>>
>>> I created one OSGi bundle. I want to start that bundle automatically
>>> when
>>> my bundle is installed.
>>>
>>> I understand there is some StartLevel service which can be used. I
>>> can set
>>> the StartLevel to 1.
>>>
>>> I am not undrestanding where do I specify my initial startlevel so
>>> that if
>>> I install my bundle it will automatically start.
>>>
>>> Currently on installing my bundle it goes to Resolved state.
>>>
>>> Is there some Header to be used to specify that my bundle should be
>>> started automatically.
>>>
>>> Any help appreciated.
>>>
>
>
Re: Starting Orsgi Bundle [message #296522 is a reply to message #279148] Fri, 23 December 2005 02:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.knube.org

You have to put your bundleid into the osgi startup list of
the config.ini but make sure your dependend bundles are loaded
before since the auto-loading is done by the
org.eclipse.update.configurator.

osgi.bundles=yourbundle@1:start,org.eclipse.core.runtime@2:start,
org.eclipse.update.configurator@3:start

The Eclipse-AutoStart: true is starting the bundle as I know when
a class is loaded form the plugin but this is all eclipse specific
stuff. You can specifiy the real osgi startlevel in the config.ini.
or another possibility would be to extend the Istartup extension Point
from Eclipse. So your Plugin get loaded during the workbench startup.





Rafael Chaves schrieb:
> See:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=50164
>
> S Dik wrote:
>
>> Yes the Eclipse-AutoStart: true is present in the manifest. My bundle
>> goes in the Resolved state. I have to start it explicitly. I want my
>> bundle to startup when the framework startsup.
>>
>> Tom Musta wrote:
>>
>>> Eclipse-AutoStart: true
>>
>>
>>
>>> in your manifest?
>>
>>
>>
>>
>>> "S Dix" <siddhi1972@yahoo.com> wrote in message
>>> news:cs10ul$f2a$1@www.eclipse.org...
>>>
>>>> I created one OSGi bundle. I want to start that bundle automatically
>>>> when
>>>> my bundle is installed.
>>>>
>>>> I understand there is some StartLevel service which can be used. I
>>>> can set
>>>> the StartLevel to 1.
>>>>
>>>> I am not undrestanding where do I specify my initial startlevel so
>>>> that if
>>>> I install my bundle it will automatically start.
>>>>
>>>> Currently on installing my bundle it goes to Resolved state.
>>>>
>>>> Is there some Header to be used to specify that my bundle should be
>>>> started automatically.
>>>>
>>>> Any help appreciated.
>>>>
>>
>>
Re: Starting Orsgi Bundle [message #296530 is a reply to message #296522] Fri, 23 December 2005 10:32 Go to previous message
Eclipse UserFriend
Originally posted by: tom.knube.org

This is a multi-part message in MIME format.
--------------010806060504020606080304
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

tom@knube.org schrieb:
> You have to put your bundleid into the osgi startup list of
> the config.ini but make sure your dependend bundles are loaded
> before since the auto-loading is done by the
> org.eclipse.update.configurator.
>
> osgi.bundles=yourbundle@1:start,org.eclipse.core.runtime@2:start,
> org.eclipse.update.configurator@3:start
>
> The Eclipse-AutoStart: true is starting the bundle as I know when
> a class is loaded form the plugin but this is all eclipse specific
> stuff. You can specifiy the real osgi startlevel in the config.ini.
> or another possibility would be to extend the Istartup extension Point
> from Eclipse. So your Plugin get loaded during the workbench startup.
>
>
>
>
>
> Rafael Chaves schrieb:
>
>> See:
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=50164
>>
>> S Dik wrote:
>>
>>> Yes the Eclipse-AutoStart: true is present in the manifest. My bundle
>>> goes in the Resolved state. I have to start it explicitly. I want my
>>> bundle to startup when the framework startsup.
>>>
>>> Tom Musta wrote:
>>>
>>>> Eclipse-AutoStart: true
>>>
>>>
>>>
>>>
>>>> in your manifest?
>>>
>>>
>>>
>>>
>>>
>>>> "S Dix" <siddhi1972@yahoo.com> wrote in message
>>>> news:cs10ul$f2a$1@www.eclipse.org...
>>>>
>>>>> I created one OSGi bundle. I want to start that bundle
>>>>> automatically when
>>>>> my bundle is installed.
>>>>>
>>>>> I understand there is some StartLevel service which can be used. I
>>>>> can set
>>>>> the StartLevel to 1.
>>>>>
>>>>> I am not undrestanding where do I specify my initial startlevel so
>>>>> that if
>>>>> I install my bundle it will automatically start.
>>>>>
>>>>> Currently on installing my bundle it goes to Resolved state.
>>>>>
>>>>> Is there some Header to be used to specify that my bundle should be
>>>>> started automatically.
>>>>>
>>>>> Any help appreciated.
>>>>>
>>>
>>>

HERE IS IT



--------------010806060504020606080304
Content-Type: image/png;
name="screen.png"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="screen.png"

iVBORw0KGgoAAAANSUhEUgAAAQIAAADCCAIAAAAtslsHAAAACXBIWXMAAA7E AAAOxAGVKw4b
AAAAB3RJTUUH1QwXDx8qm6QlbgAAAAd0RVh0QXV0aG9yAKmuzEgAAAAMdEVY dERlc2NyaXB0
aW9uABMJISMAAAAKdEVYdENvcHlyaWdodACsD8w6AAAADnRFWHRDcmVhdGlv biB0aW1lADX3
DwkAAAAJdEVYdFNvZnR3YXJlAF1w/zoAAAALdEVYdERpc2NsYWltZXIAt8C0 jwAAAAh0RVh0
V2FybmluZwDAG+aHAAAAB3RFWHRTb3VyY2UA9f+D6wAAAAh0RVh0Q29tbWVu dAD2zJa/AAAA
BnRFWHRUaXRsZQCo7tInAAABAElEQVR4nO3dPY7cNhTA8acgXc6Ryga8nY00 O3uRXCBdLjBS
mz5AkDqlC5fuVtM5nQM4VW6QPrVSyMvlih+iRImkqP8PxmJWliiKw0fq69nN Dz/+Jtv5/ee7
V2/e/v3Xn+Ovr9687brulz/+HX/9759f1Zrfff+TWjJ+VqwLrX+rF2hd6CnZ upqnhpMPnm09
pbn4W2ayx0l9rEcXvnBpO4itTfwVdi2c1M2zlXV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g
1nZR4Z7yrY1gaUTYFBAGZ8o3WFG4+S5GeCMQCYHIN3iWK99gkZCRnqlgKfIN Yksb+1xkvkEg
c/5x1WqnCtSKfIOZhbOFrMs3SDBaMyeEI98gT75BeOHWCwDPVUH44UAh36CI fIPAokIWiOkg
kAAAAQBJREFU0vVXIN+gfpwazSLfoPLCE5RfgQKeGwC5pZgNmJRP4rjTTqLZ QH/22XWd9WeD
I0vTkXaSMt+gvV6vTdOMl7yun8nqAyipL5H1F2YmP2+37R+hqdvn3EeP4W+9 Ck56i75TFMl8
GoV1/K3XHP81vgxhoNrU8yYCkFKGMJi87BC+sh4/k4WeZ2fqwiNkZVhNzi2V akaxDM8Nwm8y
qNbXm9u6UC9cHMFjLRPrVBMAo5yzwe12G4ZL0/QhW4X0Wnp2GvW1c7bZYIyB y0WG4VJfs+JY
ss0Gfd9cLtI0MgzyaPk3K+xbETDYQ8Zrg77vZRik7+XhwbmmxGUIzJYJSN5r g6aRx23LHVEA
AAD2SURBVEd5eFicT2gu1Jeoz9aF+mciIZC/SSu4XM75+Ozpzk+GnSqcZUES h8Eer0ssRb+H
KVEYBM6Yh55YcVwpwoABGIUj+wwgDADCABDCABDCABDCABDCABDCABDCABDC ABDCABDCABDC
ABDCABDCABDCABDCABDCABDCABDCABDCABDCABDCABDCABDCABDCABDCABDC ABDCABDCABDC
ABDCABDCABDCABDCABDCABDCABDCABDCABDCABDCABDCABDCABDCABiGgTAA mA0AwgAQwgAQ
wgAQwgAQwgAQwgAQwgAQwgAQwgAQwgAQwgBomoYwAOR/+rO6pZedw94AAAAA SUVORK5CYII=
--------------010806060504020606080304--
Previous Topic:Stale plugin.jar
Next Topic:Dock API for non-RCP apps
Goto Forum:
  


Current Time: Wed Jul 23 16:54:58 EDT 2025

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

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

Back to the top