Community
Participate
Working Groups
Build ID: I20081030-1917 In Eclipse 3.5 M3, the new Service Component Editor (For OSGi Declarative Services XML files) is introduced. This is great, but to use DS, the Equinox DS bundle is needed. It would be great if the DS bundle would be shipped with the Eclipse SDK.
*** Bug 261061 has been marked as a duplicate of this bug. ***
+1 for shipping
+1
+1!
So let's do this for M6 guys. I assume all that needs to be done is for Kim to update the map files and add DS to a feature. Which feature?
It has to go into org.eclipse.rcp, so that all bundles can use it. Most bundles that use services today are in org.eclipse.rcp.
Kim, do you want to update the map file and feature for: org.eclipse.equinox.ds org.eclipse.equinox.util I think that's it and we should see it in the next i-build.
Chris, please update the map files with the versions of org.eclipse.equinox.ds and org.eclipse.equinox.util that you'll be releasing. I'll update the rcp feature and run a test build with this fix and other bugs.
Someone with commit rights to Equinox DS should do the map file and tagging. Pavlin? Tom? John?
(In reply to comment #11) > Chris, please update the map files with the versions of org.eclipse.equinox.ds > and org.eclipse.equinox.util that you'll be releasing. I'll update the rcp > feature and run a test build with this fix and other bugs. > The core.map already has these two bundles tagged. They are already built as part of the Equinox SDK.
Created attachment 124598 [details] patch
Created attachment 124603 [details] patch John mentioned some other required changes.
Test build failed with this, /builds/N200902031636/org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/sdk/customTargets.xml:13: The following error occurred while executing this line: /builds/N200902031636/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.5.0.v20090129/scripts/genericTargets.xml:95: Bundle org.eclipse.equinox.ds_0.0.0 failed to resolve.: Unsatisfied import package org.eclipse.equinox.internal.util.event_1.0.0. Unsatisfied import package org.eclipse.equinox.internal.util.hash_1.0.0. Unsatisfied import package org.eclipse.equinox.internal.util.pool_1.0.0. Unsatisfied import package org.eclipse.equinox.internal.util.ref_1.0.0. Unsatisfied import package org.eclipse.equinox.internal.util.threadpool_1.0.0. Unsatisfied import package org.eclipse.equinox.internal.util.timer_1.0.0. I'll investigate tomorrow. Reverting patches.
The patch looks suspect... + <plugin + id="org.eclipse.equinox.ds" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="and org.eclipse.equinox.util" + download-size="0" + install-size="0" That's a bad id? and unpack should be false...
Created attachment 124673 [details] patch id was bogus in previous patch
That looks like the problem. The only other issue remaining is making sure equinox.util is set to lazy start.
Test build was successful. It's available here http://eclipsebuildserv.ottawa.ibm.com/downloads/bogus/downloads/drops/N20090205-1405/index.php or here (still replicating to eclipse.org) windows http://download.eclipse.org/eclipse/downloads/drops/N20090205-2000/eclipse-SDK-N20090205-1405-win32.zip linux http://download.eclipse.org/eclipse/downloads/drops/N20090205-2000/eclipse-SDK-N20090205-1405-linux-gtk.tar.gz mac http://download.eclipse.org/eclipse/downloads/drops/N20090205-2000/eclipse-SDK-N20090205-1405-macosx-cocoa.tar.gz
Looks great Kim! I confirmed running this build that the two new bundles are there, and org.eclipse.equinox.ds is auto-started at start level 2.
Thanks John, I've tagged the features for the I-build.
Done.