diff options
author | Pascal Rapicault | 2012-04-25 13:59:35 +0000 |
---|---|---|
committer | Pascal Rapicault | 2012-04-28 01:17:40 +0000 |
commit | f4a5ebc89c81092790802d29141d5ccd80c72de5 (patch) | |
tree | a88fc41a2d6c5ca5c22a3c9005c90707dd583224 | |
parent | 85f365d1c3e178bde1ae62dd343bf782edcd7264 (diff) | |
download | rt.equinox.p2-f4a5ebc89c81092790802d29141d5ccd80c72de5.tar.gz rt.equinox.p2-f4a5ebc89c81092790802d29141d5ccd80c72de5.tar.xz rt.equinox.p2-f4a5ebc89c81092790802d29141d5ccd80c72de5.zip |
Bug 377628 - [publisher] the launchers need to be looked for in the
context metadata repository
-rw-r--r-- | bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/ApplicationLauncherAction.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/ApplicationLauncherAction.java b/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/ApplicationLauncherAction.java index 9af22ce4d..3bb000f44 100644 --- a/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/ApplicationLauncherAction.java +++ b/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/ApplicationLauncherAction.java @@ -86,6 +86,7 @@ public class ApplicationLauncherAction extends AbstractPublisherAction { */ private void createLauncherAdvice(IPublisherInfo publisherInfo, IPublisherResult results) { Collection<IInstallableUnit> ius = getIUs(results.getIUs(null, null), EquinoxLauncherCUAction.ORG_ECLIPSE_EQUINOX_LAUNCHER); + ius.addAll(getIUs(publisherInfo.getContextMetadataRepository().query(QueryUtil.ALL_UNITS, null).toUnmodifiableSet(), EquinoxLauncherCUAction.ORG_ECLIPSE_EQUINOX_LAUNCHER)); VersionAdvice advice = new VersionAdvice(); boolean found = false; for (IInstallableUnit iu : ius) { |