Hi,
I'm trying to figure out how to trigger a LilyPond Compilation from the Eclipse API.
I have a plugin that generates a .ly file in an eclipse project and want to invoke the compilation process.
To achieve this, I have tried the following:
- Refresh all resources recursively, tried the parent folder and the whole project
- I tried to run IProject.build()
Both did not work for me. I noticed that although my project has a LilyPond nature, it has no "Lily Pond Builder", so I suppose the compilation is triggered by another mechanism.
Right now I can only let my plugin generate the .ly file, then open it in an editor, make some random change and save the file again. Then it is compiled.
How can I invoke the compilation for a file in a project using the Eclipse API?
Thanks in advance for any hints!
Best,
Dave