Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Macguire2002-06-01 03:25:57 +0000
committerKevin Macguire2002-06-01 03:25:57 +0000
commita4c94625e52b2a68a96fda5e62d2c558bdb3560a (patch)
tree64c37e612c6b271b7ac9dd74661743c3c6f74044 /bundles
parenta569fb45c3743fd2431de9395867eae9f3df436b (diff)
downloadeclipse.platform.team-a4c94625e52b2a68a96fda5e62d2c558bdb3560a.tar.gz
eclipse.platform.team-a4c94625e52b2a68a96fda5e62d2c558bdb3560a.tar.xz
eclipse.platform.team-a4c94625e52b2a68a96fda5e62d2c558bdb3560a.zip
removed validating using exists() since problems
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/target/ConfigureTargetWizard.java21
1 files changed, 11 insertions, 10 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/target/ConfigureTargetWizard.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/target/ConfigureTargetWizard.java
index 187f363e7..4b5191dd1 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/target/ConfigureTargetWizard.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/target/ConfigureTargetWizard.java
@@ -296,17 +296,18 @@ public class ConfigureTargetWizard extends Wizard implements IConfigurationWizar
container.run(true, false, new IRunnableWithProgress() {
public void run(IProgressMonitor monitor)
throws InvocationTargetException, InterruptedException {
- try {
- monitor.beginTask(Policy.bind("ConfigureTargetWizardValidating_connection_to_Site..._9"), monitor.UNKNOWN); //$NON-NLS-1$
- IRemoteTargetResource remote = site.getRemoteResource();
- valid[0] = remote.exists(monitor);
- } catch(TeamException e) {
- message[0] = e.getStatus().getMessage();
- code[0] = e.getStatus().getCode();
- valid[0] = false;
- } finally {
+// try {
+// monitor.beginTask(Policy.bind("ConfigureTargetWizardValidating_connection_to_Site..._9"), monitor.UNKNOWN); //$NON-NLS-1$
+// IRemoteTargetResource remote = site.getRemoteResource();
+// valid[0] = remote.canBeReached(monitor);
+ valid[0] = true;
+// } catch(TeamException e) {
+// message[0] = e.getStatus().getMessage();
+// code[0] = e.getStatus().getCode();
+// valid[0] = false;
+// } finally {
monitor.done();
- }
+// }
}
});
} catch (InvocationTargetException e) {

Back to the top