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 ... Follow
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
Sort by
Date
Votes

Comment actions
Permalink
There is a JavaCompile facet.

Comment actions
Permalink
Right, I forgot about facets!

Comment actions
Permalink
You might find DebugJavaEvaluate facet relevant (it injects a code into a model to support ‘evaluate’ debugger functionality)

Comment actions
Permalink
Thanks, I will look at it!

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
Post is closed for comments.