Specify DSL files to build [message #871470] |
Sun, 13 May 2012 22:14 |
Eclipse User |
|
|
|
Hi,
In the workflow for Eclipse projects in our DSL, users mark a file as "active". Any files included by the active file (or by files included by the active file) should be built. Any DSL files not included in this way should not be built.
However, by default Xtext appears to build all DSL files. Does anyone have a suggestion for filtering the files built by the Xtext builder? I've considered the following:
IXtextBuilderParticipant
-this seems to allow additional capability when building, but doesn't allow control over which resources are built
ToBeBuiltComputer
-this seems like the right place to insert my logic, but extending it is "discouraged access" and I can't seem to bind my implementation. Other posts imply this is a global (all languages) binding for Xtext, so maybe it is not an option.
Other options would be to write my own Problems view, etc. to present the IDE to the user in a way that hides information about files that are outside of the "active" DSL file and its included files. But that will still cost users the performance of building/indexing all files in their project.
Any thoughts would be appreciated!
|
|
|
Powered by
FUDForum. Page generated in 0.06485 seconds