Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2012-04-30 20:44:39 +0000
committerPascal Rapicault2012-04-30 20:44:39 +0000
commitcbf14048c0741b8fb2fabf0eb8574deabe8d5062 (patch)
tree6e37619542dce6217a0fdef41e6e24f194bbac8e /bundles/org.eclipse.equinox.p2.ui
parentbfb61cce27c4a783924cf196073ebd82129bef8a (diff)
downloadrt.equinox.p2-cbf14048c0741b8fb2fabf0eb8574deabe8d5062.tar.gz
rt.equinox.p2-cbf14048c0741b8fb2fabf0eb8574deabe8d5062.tar.xz
rt.equinox.p2-cbf14048c0741b8fb2fabf0eb8574deabe8d5062.zip
Bug 338495 - [ui] composite children prevent explicit repo additionv20120430-2044I20120430-2000I20120430-1800
("Duplicate location" when adding update site)
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ColocatedRepositoryTracker.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ColocatedRepositoryTracker.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ColocatedRepositoryTracker.java
index 6ae05efbc..2e910458b 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ColocatedRepositoryTracker.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ColocatedRepositoryTracker.java
@@ -62,6 +62,8 @@ public class ColocatedRepositoryTracker extends RepositoryTracker {
try {
getMetadataRepositoryManager().addRepository(repoLocation);
getArtifactRepositoryManager().addRepository(repoLocation);
+ getMetadataRepositoryManager().setRepositoryProperty(repoLocation, IRepository.PROP_SYSTEM, Boolean.FALSE.toString());
+ getArtifactRepositoryManager().setRepositoryProperty(repoLocation, IRepository.PROP_SYSTEM, Boolean.FALSE.toString());
if (nickname != null) {
getMetadataRepositoryManager().setRepositoryProperty(repoLocation, IRepository.PROP_NICKNAME, nickname);
getArtifactRepositoryManager().setRepositoryProperty(repoLocation, IRepository.PROP_NICKNAME, nickname);

Back to the top