eclipse-qvto / org.eclipse.qvto

Eclipse Public License 2.0
0 stars 1 forks source link

MetamodelProvider be populated using the PDE target platform if available #973

Open eclipse-qvt-oml-bot opened 4 days ago

eclipse-qvt-oml-bot commented 4 days ago

| --- | --- | | Bugzilla Link | 495357 | | Status | UNCONFIRMED | | Importance | P3 normal | | Reported | Jun 03, 2016 03:13 EDT | | Modified | Mar 10, 2017 10:21 EDT | | Version | 3.4.0 | | Reporter | Rolf Theunissen |

Description

Currently the MetamodelProvider (and thus the QVTo-editor) is always populated using the installed environment. However, when a PDE target platform is used, the MetamodelProvider should be populated using the PDE target platform instead of the installed environment.

For reference, look at: org.eclipse.emf.ecore.plugin.EcorePlugin.computePlatformURIMap(boolean targetPlatform)

eclipse-qvt-oml-bot commented 4 days ago

By Rolf Theunissen on Mar 10, 2017 10:21

Created attachment 267212 Plugin to use the targetplatform for meta-model resolving

When you install the attached plugin. The EcorePlugin is used to look for meta-models. As a result, the meta-models from the target platform are resolved, even if "http"-URI's are used. Therefore, it is not needed to install the meta-models in the IDE as well.

Also meta-model mappings are not needed.

Locally tested the plugin, it seems to work well.

:compression: org_eclipse_m2m_qvt_oml_pde.tar.gz