[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[pde-dev] Controlling the pde build to change the content of bundles.info
|
Hello,
I've been working on producing a PDE build of the eclipse 3.4.1 sources
for some time, and although it mostly works, one that that still eludes
me is that the bundles.info file generated by the build process contains
the following line:
org.eclipse.equinox.p2.reconciler.dropins,1.0.2.R34x_v20080909,file:plugins/org.eclipse.equinox.p2.reconciler.dropins_1.0.2.R34x_v20080909.jar,4,false
instead of the following in an official Eclipse build:
org.eclipse.equinox.p2.reconciler.dropins,1.0.2.R34x_v20080909,file:plugins/org.eclipse.equinox.p2.reconciler.dropins_1.0.2.R34x_v20080909.jar,4,true
(noticed the "false" as the auto start flag instead of the "true").
This obviously cause adverse effects, since not having the
p2.reconciler.dropins started automatically prevents all additional
plugins to be started as well.
I've looked at changing the content of writeBundlesTxt() in
org.eclipse.pde.internal.core.P2Utils and
org.eclipse.pde.internal.build.site.P2Utils so that there's a special
case for the p2.reconciler.dropins plugins, as follows:
if
("org.eclipse.equinox.simpleconfigurator".equals(modelName)) { //$NON-NLS-1$
bundleMap.put(desc, "1:true"); //$NON-NLS-1$
// those 2 lines below added:
} else if
("org.eclipse.equinox.p2.reconciler.dropins".equals(modelName)) {
//$NON-NLS-1$
bundleMap.put(desc, "4:true"); //$NON-NLS-1$
} else if
("org.eclipse.equinox.common".equals(modelName)) { //$NON-NLS-1$
bundleMap.put(desc, "2:true"); //$NON-NLS-1$
But that code path doesn't even seems to be called.
Does anyone has some leads about where should I investigate to be sure
that the p2.reconciler.dropins gets the proper "true" auto start flag in
the bundles.info file?
Thanks!
Serge Beauchamp
Software Engineer
Freescale Semiconductor