summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2012-04-25 09:59:35 (EDT)
committerPascal Rapicault2012-04-27 21:17:40 (EDT)
commitf4a5ebc89c81092790802d29141d5ccd80c72de5 (patch)
treea88fc41a2d6c5ca5c22a3c9005c90707dd583224
parent85f365d1c3e178bde1ae62dd343bf782edcd7264 (diff)
downloadrt.equinox.p2-f4a5ebc89c81092790802d29141d5ccd80c72de5.zip
rt.equinox.p2-f4a5ebc89c81092790802d29141d5ccd80c72de5.tar.gz
rt.equinox.p2-f4a5ebc89c81092790802d29141d5ccd80c72de5.tar.bz2
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 9af22ce..3bb000f 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) {