Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoribull2010-02-15 14:41:08 -0500
committeribull2010-02-15 14:41:08 -0500
commit70db6354a2932c8993e47a8cab2cadf8871f7759 (patch)
treec76a2db7b87df4d1e91ce98fce87571594048da5 /bundles/org.eclipse.equinox.p2.artifact.repository
parent1bedd453542f0c8171ad816e02276d13f0b5c47d (diff)
downloadrt.equinox.p2-70db6354a2932c8993e47a8cab2cadf8871f7759.tar.gz
rt.equinox.p2-70db6354a2932c8993e47a8cab2cadf8871f7759.tar.xz
rt.equinox.p2-70db6354a2932c8993e47a8cab2cadf8871f7759.zip
bug 177231: [repository] Need richer mechanism for plugging in artifact/metadata reposv20100216
https://bugs.eclipse.org/bugs/show_bug.cgi?id=177231 This adds the support for an index.p2 file.
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.artifact.repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/ArtifactRepositoryManager.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/ArtifactRepositoryManager.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/ArtifactRepositoryManager.java
index 9b6cfdb01..155f09f15 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/ArtifactRepositoryManager.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/ArtifactRepositoryManager.java
@@ -17,6 +17,7 @@ import java.util.Map;
import org.eclipse.core.runtime.*;
import org.eclipse.equinox.internal.p2.core.helpers.LogHelper;
import org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager;
+import org.eclipse.equinox.internal.p2.repository.helpers.LocationProperties;
import org.eclipse.equinox.p2.core.*;
import org.eclipse.equinox.p2.metadata.IArtifactKey;
import org.eclipse.equinox.p2.repository.IRepository;
@@ -102,6 +103,10 @@ public class ArtifactRepositoryManager extends AbstractRepositoryManager<IArtifa
return (IArtifactRepository) basicRefreshRepository(location, monitor);
}
+ protected String[] getPreferredRepositorySearchOrder(LocationProperties properties) {
+ return properties.getArtifactFactorySearchOrder();
+ }
+
/**
* Restore the download cache
*/

Back to the top