Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » UI product build creating bundles.info
UI product build creating bundles.info [message #514852] Tue, 16 February 2010 21:04 Go to next message
BytesTheDust is currently offline BytesTheDustFriend
Messages: 9
Registered: February 2010
Junior Member
I have a product that I build using the PDE UI from a .product file.

The build is creating a bundles.info for me, but all of the auto-start fields are set to false. For most of the bundles, this does not seem to be a problem as they seem to be started anyway, except for:
org.eclipse.equinox.p2.reconciler.dropins,1.0.100.v20090520- 1905,plugins/org.eclipse.equinox.p2.reconciler.dropins_1.0.1 00.v20090520-1905.jar,4,false

The problem is that without this being set to true, no dropins are recognised.

How can I influence what is put into bundles.info? I have tried to add this plugin into the Plugins section of the product configuration, but it is not listed in when I press the Add... button.

Help!
Re: UI product build creating bundles.info [message #515027 is a reply to message #514852] Wed, 17 February 2010 14:00 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

I have this section in my .product file:
<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>

That (+ a p2 publish call from my customTargets.xml) creates the correct
config.ini for me.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: UI product build creating bundles.info [message #515286 is a reply to message #515027] Thu, 18 February 2010 11:12 Go to previous message
BytesTheDust is currently offline BytesTheDustFriend
Messages: 9
Registered: February 2010
Junior Member
Paul.

That works for the dropins, but for some reason, I can't get org.eclipse.update.configurator
to take the start value provided in the <configuration> It is always being set to 4,false.

I have tried the value you supplied, I have tried setting it to 4,true and I have tried not having it there at all - and nothing affects the value placed in bindles.info

Curiously, before I added any <configuration> entries, the value was being set to 4,true.

Any Ideas?

My configuration is:
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
<plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" />
<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="1" />
<plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="4" />

Previous Topic:Secure Storage and Password Recovery
Next Topic:CXF D-OSGI, ServletBridge and Equinox...
Goto Forum:
  


Current Time: Tue Apr 16 05:12:27 GMT 2024

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

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

Back to the top