Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2011-06-01 13:12:59 -0400
committerPascal Rapicault2011-06-01 13:12:59 -0400
commite10e254c90ad6f685900d8bbb89f01e92f188ed7 (patch)
treef3a53a490cb98788669137575423ecb9093dd884 /bundles/org.eclipse.equinox.p2.repository
parentc47300b83b050961bce7ffd706f6af99ee374a8d (diff)
downloadrt.equinox.p2-e10e254c90ad6f685900d8bbb89f01e92f188ed7.tar.gz
rt.equinox.p2-e10e254c90ad6f685900d8bbb89f01e92f188ed7.tar.xz
rt.equinox.p2-e10e254c90ad6f685900d8bbb89f01e92f188ed7.zip
[repository] MalformedURLException using p2.index for in-memory composite reposv20110601
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java
index 2e1f20cb5..01b260288 100644
--- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java
+++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java
@@ -690,6 +690,9 @@ public abstract class AbstractRepositoryManager<T> implements IRepositoryManager
private LocationProperties loadIndexFile(URI location, IProgressMonitor monitor) {
LocationProperties locationProperties = LocationProperties.createEmptyIndexFile();
//Handle the case of local repos
+ if ("memory".equals(location.getScheme())) //$NON-NLS-1$
+ return locationProperties;
+
if ("file".equals(location.getScheme())) { //$NON-NLS-1$
InputStream localStream = null;
try {

Back to the top