Undo of StandaloneSetup ..? [message #1730746] |
Thu, 28 April 2016 04:37  |
Eclipse User |
|
|
|
Hi,
I have a case where I need to load my DSL model from within Eclipse, but as the dsl files are not located in an open Eclipse project I use the StandaloneSetup which works. BUT - as expected - if I thereafter (without Eclipse restart) loads the Eclipse project in which the DSL files are located, the editor support is broken .. see description why StandaloneSetup should not be used within Eclipse in e.g. http://koehnlein.blogspot.de/2012/11/xtext-tip-how-do-i-get-guice-injector.html.
Any suggestions for a solution that allows me to effectively "undo" StandaloneSetup ..? Given the way non-standalone setup is initialized as described in blog, trying to undo seems like a bit hard to accomplish ..
Is the scenario very uncommon?
An obvious solution would be to require that the project containing the dsl files is loaded before accessing the DSL model, but would like to avoid this if possible.
Rgs,
/Nils K
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04446 seconds