How the compilation of Java files is triggered after textgen is ran? I would like to execute some code after I complete generate something into text. I see there are post-processing scripts which ran ...

This is an auto-generated question from the MPS Slack community: How the compilation of Java files is triggered after textgen is ran? I would like to execute some code after I complete generate something into text. I see there are post-processing scripts which ran after the model-to-model transformations are finished, and I guess I could add random code in the textgen elements, but at that point the code is not yet saved on file, I think
5 comments
Comment actions Permalink
There is a JavaCompile facet.
0
Comment actions Permalink
Right, I forgot about facets!
0
Comment actions Permalink
You might find DebugJavaEvaluate facet relevant (it injects a code into a model to support ‘evaluate’ debugger functionality)
0
Comment actions Permalink
Thanks, I will look at it!
0
Comment actions Permalink
This is auto-generated question from the MPS Community Slack Workspace. If you want to comment on the question, do it from the Slack workspace
0

Post is closed for comments.