I am currently trying to create a simple Entity-To-View converter. The idea is to have a custom object "Entity" and another custom object "View" and generate the JPA entity a view object and a converter between these two with MPS. So i have set up a generator which contains (among other things) two mappings:
One which converts the "View" into a java class (called "views") and another which converts the "View" into a converter java class (called "converters"). Now since the converter requires the view, i want the "converters" mapping to run after the "views" mapping so that I can use mapping labels to get the generated view class.
I tried to set this up in the "Generator Priorities" (as shown here: https://confluence.jetbrains.com/display/MPSD30/Generator+User+Guide+Demo6#GeneratorUserGuideDemo6-specifyingpriorities
) but once I set that priority, the "converters" mapping configuration is no longer executed anymore and therefore no converter is being generated.
I am probably setting something up the wrong way. Can someone help me in setting this dependency up correctly?