Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2010-06-03 21:08:19 +0000
committerrelves2010-06-03 21:08:19 +0000
commitd90351e014fde1d896fde19d5cf30dba1fe85bd6 (patch)
tree723bb028ba78aef17de7fddf9d551ae83cb6b3b3 /org.eclipse.mylyn.oslc.ui
parent8749c11e9bf9fc4600f1d6cfb0b553f766c66a80 (diff)
downloadorg.eclipse.mylyn.tasks-d90351e014fde1d896fde19d5cf30dba1fe85bd6.tar.gz
org.eclipse.mylyn.tasks-d90351e014fde1d896fde19d5cf30dba1fe85bd6.tar.xz
org.eclipse.mylyn.tasks-d90351e014fde1d896fde19d5cf30dba1fe85bd6.zip
5348: [oslc] contribute boiler plate OSLC connector to Mylyn
https://live.tasktop.com/dev/bugs/show_bug.cgi?id=5348
Diffstat (limited to 'org.eclipse.mylyn.oslc.ui')
-rw-r--r--org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java
index f0998dbd0..39f6fbb19 100644
--- a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java
+++ b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java
@@ -174,6 +174,7 @@ public abstract class OslcRepositorySettingsPage extends AbstractRepositorySetti
new URL(getBaseUrl());
// TODO: if only one ServiceProviderCatalog/ServiceProvider found, use it
+
List<OslcServiceProvider> serviceProviders = ((IOslcConnector) connector).getAvailableServices(
repository, getBaseUrl(), monitor);
setProviders(serviceProviders);
@@ -183,6 +184,7 @@ public abstract class OslcRepositorySettingsPage extends AbstractRepositorySetti
} catch (CoreException e) {
StatusHandler.log(new Status(IStatus.ERROR, IOslcCoreConstants.ID_PLUGIN,
"Error occurred during service discovery", e)); //$NON-NLS-1$
+ throw e;
}
}

Back to the top