Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2008-05-09 18:45:06 +0000
committerDJ Houghton2008-05-09 18:45:06 +0000
commit66ad929ddb811dc34a0c14f95a67318e464e6def (patch)
tree0de6f875317877d6b9989bfacaac33a4962edad1 /bundles/org.eclipse.equinox.p2.extensionlocation
parent709cd8b920747566c42c6c5c8f558097744240c4 (diff)
downloadrt.equinox.p2-66ad929ddb811dc34a0c14f95a67318e464e6def.tar.gz
rt.equinox.p2-66ad929ddb811dc34a0c14f95a67318e464e6def.tar.xz
rt.equinox.p2-66ad929ddb811dc34a0c14f95a67318e464e6def.zip
Bug 229801 - Remove .pooled references from extension location repositories
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.extensionlocation')
-rw-r--r--bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationArtifactRepository.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationArtifactRepository.java b/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationArtifactRepository.java
index 70591a0e5..1a5e0ad8d 100644
--- a/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationArtifactRepository.java
+++ b/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationArtifactRepository.java
@@ -28,7 +28,6 @@ public class ExtensionLocationArtifactRepository extends AbstractRepository impl
public static final String TYPE = "org.eclipse.equinox.p2.extensionlocation.artifactRepository"; //$NON-NLS-1$
public static final Integer VERSION = new Integer(1);
- private static final String POOLED = ".pooled"; //$NON-NLS-1$
private final IFileArtifactRepository artifactRepository;
private boolean initialized = false;
private File base;
@@ -67,8 +66,6 @@ public class ExtensionLocationArtifactRepository extends AbstractRepository impl
File features = new File(base, FEATURES);
DirectoryWatcher watcher = new DirectoryWatcher(new File[] {plugins, features});
DirectoryChangeListener listener = new RepositoryListener(Activator.getContext(), null, artifactRepository);
- if (location.getPath().endsWith(POOLED))
- listener = new BundlePoolFilteredListener(listener);
watcher.addListener(listener);
watcher.poll();
initialized = true;
@@ -101,9 +98,6 @@ public class ExtensionLocationArtifactRepository extends AbstractRepository impl
String path = url.getPath();
File base = new File(path);
- if (path.endsWith(POOLED)) {
- base = base.getParentFile();
- }
if (!base.isDirectory())
throw new ProvisionException(new Status(IStatus.ERROR, Activator.ID, ProvisionException.REPOSITORY_NOT_FOUND, NLS.bind(Messages.not_directory, url.toExternalForm()), null));

Back to the top