Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2012-04-25 13:59:35 +0000
committerPascal Rapicault2012-04-28 01:17:40 +0000
commitf4a5ebc89c81092790802d29141d5ccd80c72de5 (patch)
treea88fc41a2d6c5ca5c22a3c9005c90707dd583224
parent85f365d1c3e178bde1ae62dd343bf782edcd7264 (diff)
downloadrt.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.java1
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) {

Back to the top