eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[editors] Isolate build dependencies #1596

Open eclipse-ocl-bot opened 3 days ago

eclipse-ocl-bot commented 3 days ago

| --- | --- | | Bugzilla Link | 474492 | | Status | NEW | | Importance | P3 normal | | Reported | Aug 07, 2015 07:15 EDT | | Modified | Aug 07, 2015 07:19 EDT | | Reporter | Ed Willink |

Description

Derived editors such as QVTr are very tightly coupled to the OCL grammars so that the slightest grammar change causes numerous fatal inherited API errors.

Suggest adding a pre-processing step so that the derived grammar is flattened and consequently does not depend on the generated inherited grammars.

Need to investigate how much bloat this causes. Perhaps very little.

Need to see how to re-use some shared support to reduce bloat.

This done we may have a better chance of fudging CS/AS model compatibility.

?? go a stage further and clone the AS/CS models into the derived plugins. QVTd would then have no dependency on OCL at all.

eclipse-ocl-bot commented 3 days ago

By Ed Willink on Aug 07, 2015 07:19

(In reply to Ed Willink from comment #0)

QVTd would then have no dependency on OCL at all.

A bit unrealistic to clone the entire AS support. But eliminating all CS dependencies seems doable.