But then, I have a question: where is the .jar file that contain the plugin for the eclipse Run Time ?
Say if we use an initial Eclipse to work with xtext grammar in a workspace, say C:/ws, and if we choose to run the run time model by "Run as Eclipse Application", then the workspace of the run time will be C:/ws/runtime-EclipseApplication. The problem is: I cannot find the plugin .jar file inside any sub directory of C:/ws
On 2013-30-07 11:15, J A wrote:
> Henrik Lindberg wrote on Mon, 29 July 2013 22:32
>> On 2013-29-07 8:02, J A wrote:
>> That is not recommended.
>> Use the update site method.
>> - henrik
> Can you answer me in the case of "Run as Eclipse Application", where the
> .jar plugin file of the generating project is put in the workspace /
> source of the run time project ?
You mean when running self-hosted? Why do you need to know where the
files are? What are you trying to do? Just make sure you have the things
you need in your launch config and run it. What is it that is not
working for you?
now I have a plugin so I can use the editor.
But now I want to start the generator automatically when I save the file containing my DSL-Code(the same behaviour, when I use "Run As / Eclipse Application"). How can I achieve this?
I've analyzed the Problem.
I use my own BuilderParticipant. I registered the class in my UIModule-Class.
If I comment the registration the generator is called during build.
But I need my own BuilderParticipant-class to modify the logic for gathering my DSL-files. How can I use the export as a plugin (as described above) and my BuildParticipant at the same time (to use the DSL in my everyday Eclipse including the generator, who works with a modified set of DSL-files)?