Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2009-03-30 14:30:50 -0400
committerSusan Franklin2009-03-30 14:30:50 -0400
commit3f8eaec8f58cc9ee1b6274998203923b73853635 (patch)
tree66651a76106de2c67acd726e6d7bf642c3890a63 /examples
parent5be83ddb09f383508f0ddcb75fd3149985d31550 (diff)
downloadrt.equinox.p2-3f8eaec8f58cc9ee1b6274998203923b73853635.tar.gz
rt.equinox.p2-3f8eaec8f58cc9ee1b6274998203923b73853635.tar.xz
rt.equinox.p2-3f8eaec8f58cc9ee1b6274998203923b73853635.zip
adjust for new p2.repository bundle
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java
index b9c37eb15..81ee3e9f0 100644
--- a/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java
@@ -13,18 +13,15 @@ package org.eclipse.equinox.p2.examples.rcp.prestartupdate;
import java.lang.reflect.InvocationTargetException;
import java.net.URI;
-import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Iterator;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.SubMonitor;
-import org.eclipse.core.runtime.URIUtil;
import org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper;
import org.eclipse.equinox.internal.provisional.p2.artifact.repository.IArtifactRepositoryManager;
import org.eclipse.equinox.internal.provisional.p2.core.ProvisionException;
-import org.eclipse.equinox.internal.provisional.p2.core.repository.IRepositoryManager;
import org.eclipse.equinox.internal.provisional.p2.director.IPlanner;
import org.eclipse.equinox.internal.provisional.p2.director.ProfileChangeRequest;
import org.eclipse.equinox.internal.provisional.p2.director.ProvisioningPlan;
@@ -37,6 +34,7 @@ import org.eclipse.equinox.internal.provisional.p2.metadata.IInstallableUnit;
import org.eclipse.equinox.internal.provisional.p2.metadata.query.InstallableUnitQuery;
import org.eclipse.equinox.internal.provisional.p2.metadata.repository.IMetadataRepositoryManager;
import org.eclipse.equinox.internal.provisional.p2.query.Collector;
+import org.eclipse.equinox.internal.provisional.p2.repository.IRepositoryManager;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
@@ -72,7 +70,7 @@ public class P2Util {
if (manager == null)
return false;
final URI[] reposToSearch = manager
- .getKnownRepositories(IMetadataRepositoryManager.REPOSITORIES_ALL);
+ .getKnownRepositories(IRepositoryManager.REPOSITORIES_ALL);
if (reposToSearch.length == 0)
return false;
final IPlanner planner = (IPlanner) ServiceHelper.getService(

Back to the top