Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Is there a set of osgi.bundles ?
Is there a set of osgi.bundles ? [message #485071] Thu, 10 September 2009 09:18 Go to next message
Eclipse UserFriend
Is there a set of osgi.bundles that load all the plugins needed to run an
RCP. In the past we have used a config.ini that was created by the .product
file that hard-coded a very long list of plugins. But is there a way to have
a much smaller list that loads them on demand like the full-blown eclipse?
Re: Is there a set of osgi.bundles ? [message #485089 is a reply to message #485071] Thu, 10 September 2009 10:03 Go to previous messageGo to next message
Eclipse UserFriend
Something like:

osgi.bundles=reference\:file\: org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-190 5.jar @1\:start

will do the right thing for an RCP product that includes the correct p2 bundles.

My own product config contains the following (which I assume helps it generate the correct config.ini):

<configurations>
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" />
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
<plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="3" />
<property name="eclipse.buildId" value="@qualifier@"/>
</configurations>
Re: Is there a set of osgi.bundles ? [message #485323 is a reply to message #485089] Fri, 11 September 2009 07:31 Go to previous messageGo to next message
Eclipse UserFriend
Do you have a complete config.ini that you could post , that did not work
for me . Also are the addtions to the manifest that need to be made inorder
for this to work?

"Paul Webster" <pwebster@ca.ibm.com> wrote in message
news:h8b0vb$2bd$1@build.eclipse.org...
> Something like:
>
> osgi.bundles=reference\:file\:mailto: org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-190 5.jar @1\:start
>
> will do the right thing for an RCP product that includes the correct p2
> bundles.
>
> My own product config contains the following (which I assume helps it
> generate the correct config.ini):
>
> <configurations>
> <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4"
> />
> <plugin id="org.eclipse.equinox.common" autoStart="true"
> startLevel="2" />
> <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2"
> />
> <plugin id="org.eclipse.equinox.p2.reconciler.dropins"
> autoStart="true" startLevel="4" />
> <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true"
> startLevel="1" />
> <plugin id="org.eclipse.update.configurator" autoStart="true"
> startLevel="3" />
> <property name="eclipse.buildId" value="@qualifier@"/>
> </configurations>
>
> --
> Paul Webster
> http://wiki.eclipse.org/Platform_Command_Framework
> http://wiki.eclipse.org/Command_Core_Expressions
> http://wiki.eclipse.org/Menu_Contributions
Re: Is there a set of osgi.bundles ? [message #485370 is a reply to message #485323] Fri, 11 September 2009 10:01 Go to previous messageGo to next message
Eclipse UserFriend
What kind of config.ini did that generate? Did you make sure that bundles not included in your product are not listed?

PW
Re: Is there a set of osgi.bundles ? [message #485444 is a reply to message #485370] Fri, 11 September 2009 13:59 Go to previous messageGo to next message
Eclipse UserFriend
I am not generatring a config.ini (nor am I exactly sure how to do that
anyway) I just want a config.ini that I can check into our source repository
that has the correct osgi.bundles so I do not have to muck with them.


"Paul Webster" <pwebster@ca.ibm.com> wrote in message
news:h8dl8n$ccs$1@build.eclipse.org...
> What kind of config.ini did that generate? Did you make sure that bundles
> not included in your product are not listed?
>
> PW
>
> --
> Paul Webster
> http://wiki.eclipse.org/Platform_Command_Framework
> http://wiki.eclipse.org/Command_Core_Expressions
> http://wiki.eclipse.org/Menu_Contributions
Re: Is there a set of osgi.bundles ? [message #485586 is a reply to message #485444] Sun, 13 September 2009 19:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi Drew,

That cannot be supplied by others because we don't know which bundles you
have. The simpleconfigurator will install all bundles in the bundle directory
when the framework starts. Apart from that you need to supply and @start your
own bundles. Look into any generated product to get an example.

HTH

Wim Jongman


> I am not generatring a config.ini (nor am I exactly sure how to do that
> anyway) I just want a config.ini that I can check into our source
repository
> that has the correct osgi.bundles so I do not have to muck with them.
>
>
> "Paul Webster" <pwebster@ca.ibm.com> wrote in message
> news:h8dl8n$ccs$1@build.eclipse.org...
>> What kind of config.ini did that generate? Did you make sure that bundles
>> not included in your product are not listed?
>>
>> PW
>>
>> --
>> Paul Webster
>> http://wiki.eclipse.org/Platform_Command_Framework
>> http://wiki.eclipse.org/Command_Core_Expressions
>> http://wiki.eclipse.org/Menu_Contributions
Re: Is there a set of osgi.bundles ? [message #487533 is a reply to message #485586] Wed, 23 September 2009 10:29 Go to previous message
Eclipse UserFriend
Wim Jongman wrote:
> Hi Drew,
>
> That cannot be supplied by others because we don't know which bundles you
> have. The simpleconfigurator will install all bundles in the bundle directory
> when the framework starts. Apart from that you need to supply and @start your
> own bundles. Look into any generated product to get an example.
>
> HTH
>
> Wim Jongman

This is not quite correct.

org.eclipse.equinox.simpleconfigurator installs the bundles that are
listed in the bundles.info file, normally located under
configuration\org.eclipse.equinox.simpleconfigurator (as specified by
org.eclipse.equinox.simpleconfigurator.configUrl in the config.ini)

This might be somewhat useful:
http://aniefer.blogspot.com/2009/02/installing-and-running-p lugins-in.html


>
>
>> I am not generatring a config.ini (nor am I exactly sure how to do that
>> anyway) I just want a config.ini that I can check into our source
> repository
>> that has the correct osgi.bundles so I do not have to muck with them.
>>
>>
>> "Paul Webster" <pwebster@ca.ibm.com> wrote in message
>> news:h8dl8n$ccs$1@build.eclipse.org...
>>> What kind of config.ini did that generate? Did you make sure that bundles
>>> not included in your product are not listed?
>>>
>>> PW
>>>
>>> --
>>> Paul Webster
>>> http://wiki.eclipse.org/Platform_Command_Framework
>>> http://wiki.eclipse.org/Command_Core_Expressions
>>> http://wiki.eclipse.org/Menu_Contributions
Previous Topic:Dynamically change the menu label.
Next Topic:PROBLEM LAUNCHING RCP ... IN LINUX!!
Goto Forum:
  


Current Time: Mon Jul 07 15:26:23 EDT 2025

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

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

Back to the top