linking run configuration to generated files

I am trying to make a run configuration to allow users to execute generated DSL files with the provided interpreter without leaving the IDE. After some tinkering I have most of it running, but I can't get the paths right. The executor gets a project parameter from which I can extract the path to the project entrance, but I am missing the path from there to wherever the text-gen stores its output files. If it cannot be extracted from the project variable, I thought I could extract if from a root node using a Producer, and then store it in the configuration, but I also cant find it there. I assume this is stored somewhere, but I have no idea where.

As a related question, I would also like the run configuration to emit some sort of warning/error when it is being run on a node/module that still has the "generation required" marker on it. Is there some way to accomplish this?

Please sign in to leave a comment.