diff options
author | Benoit Maggi | 2017-03-07 14:46:00 +0000 |
---|---|---|
committer | Benoit Maggi | 2017-03-07 14:46:00 +0000 |
commit | f58fbe50dd27d1d05e65ef32be3e6459b3430590 (patch) | |
tree | 68053f880a6a37510db492ac14e27eb93474b586 /plugins/infra | |
parent | 4e92c0a656195412b843db016bc8fcb6e00a0e50 (diff) | |
download | org.eclipse.papyrus-f58fbe50dd27d1d05e65ef32be3e6459b3430590.tar.gz org.eclipse.papyrus-f58fbe50dd27d1d05e65ef32be3e6459b3430590.tar.xz org.eclipse.papyrus-f58fbe50dd27d1d05e65ef32be3e6459b3430590.zip |
Bug 513244 - [Discovery Site] Update the discovery to oxygen
- update url for the discovery site
Change-Id: Ie443884e7e10a50f9cb4bc52e848618fd441a841
Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
Diffstat (limited to 'plugins/infra')
-rw-r--r-- | plugins/infra/discovery/org.eclipse.papyrus.infra.discovery.ui/src/org/eclipse/papyrus/infra/discovery/ui/wizards/DiscoveryComponent.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/infra/discovery/org.eclipse.papyrus.infra.discovery.ui/src/org/eclipse/papyrus/infra/discovery/ui/wizards/DiscoveryComponent.java b/plugins/infra/discovery/org.eclipse.papyrus.infra.discovery.ui/src/org/eclipse/papyrus/infra/discovery/ui/wizards/DiscoveryComponent.java index 9f0e3647880..c006e5ceb27 100644 --- a/plugins/infra/discovery/org.eclipse.papyrus.infra.discovery.ui/src/org/eclipse/papyrus/infra/discovery/ui/wizards/DiscoveryComponent.java +++ b/plugins/infra/discovery/org.eclipse.papyrus.infra.discovery.ui/src/org/eclipse/papyrus/infra/discovery/ui/wizards/DiscoveryComponent.java @@ -35,7 +35,7 @@ public class DiscoveryComponent { /** * URI of the model where all extra component features to be installed are referenced. Can be set via the system property 'papyrus.discovery.uri'. */ - public static final String DISCOVERY_PAPYRUS_URI = System.getProperty("papyrus.discovery.uri", "http://www.eclipse.org/modeling/mdt/papyrus/downloads/discovery/neon/papyrus-extra.xmi"); //$NON-NLS-1$ //$NON-NLS-2$ + public static final String DISCOVERY_PAPYRUS_URI = System.getProperty("papyrus.discovery.uri", "http://www.eclipse.org/modeling/mdt/papyrus/downloads/discovery/oxygen/papyrus-extra.xmi"); //$NON-NLS-1$ //$NON-NLS-2$ public static final Object execute() { final IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); @@ -49,7 +49,7 @@ public class DiscoveryComponent { protected DiscoveryDefinition load() { Resource res = new XMIResourceImpl(URI.createURI(DISCOVERY_PAPYRUS_URI)); try { - res.load(Collections.EMPTY_MAP); + res.load(Collections.emptyMap()); } catch (IOException e) { MessageDialog.openError(window.getShell(), Messages.DiscoveryComponent_CannotConnectToSource_title, Messages.DiscoveryComponent_CannotConnectToSource_label); throw new RuntimeException(e); |