Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoribull2010-01-23 22:30:40 +0000
committeribull2010-01-23 22:30:40 +0000
commit44d1af2f0c9eed9c2b4a5c1025d2263d22d7d58d (patch)
tree2f39f4007840282bdbcb36862a7342c3ee043482 /bundles/org.eclipse.equinox.p2.director.app
parentabef88b09f0d12a1761b33475eeb48e7e16a8c8e (diff)
downloadrt.equinox.p2-44d1af2f0c9eed9c2b4a5c1025d2263d22d7d58d.tar.gz
rt.equinox.p2-44d1af2f0c9eed9c2b4a5c1025d2263d22d7d58d.tar.xz
rt.equinox.p2-44d1af2f0c9eed9c2b4a5c1025d2263d22d7d58d.zip
300599 - NPE in p2 directory -list command
Removed the optimization that we did not initializing the repos if we are not installing things.
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.director.app')
-rw-r--r--bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java b/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java
index 992aa1ef0..c8c50d406 100644
--- a/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java
+++ b/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java
@@ -326,9 +326,6 @@ public class DirectorApplication implements IApplication {
}
private void initializeRepositories() throws CoreException {
- if (rootsToInstall.isEmpty() && revertToPreviousState == -1)
- // Not much point initializing repositories if we have nothing to install
- return;
if (artifactRepositoryLocations == null)
missingArgument("-artifactRepository"); //$NON-NLS-1$

Back to the top