Move file after textGen

I'm trying to move the xml file that is created after my project is mapped to a xml file. The desired output location is specified in the original model. I'm having trouble figuring out how to retain the output information as well as locate the generated file.
0
2 comments
Avatar
Permanently deleted user
Please take a look at `CopyPluginXml` in the language jetbrains.mps.make.facet. It does pretty much the same as you require.

The key to find the generated file is to use the 'delta' with a DeltaReconciler, accepting files written to disk in this make session.

The input to the make facet is a tuple containing, besides delta, the module and the input model. You can use a read action to read the original model.
0
Avatar
Permanently deleted user
The key to find the generated file is to use the 'delta' with a DeltaReconciler, accepting files written to disk in this make session.


Could you please elaborate on how to use the delta and DeltaReconciler to find the generated file
0

Please sign in to leave a comment.