Invoke index rebuild programmatically [message #1705866] |
Wed, 19 August 2015 15:19 |
Stephan Hildebrandt Messages: 25 Registered: July 2015 |
Junior Member |
|
|
Hi,
I have the following problem: I have a model transformation written in Xtend that outputs two kinds of model files, say A and B. There is an Xtext editor for both kinds of models. Elements in B models have references to elements in A models. Everything works perfectly when I create and edit the models using the editors. However, when my model transformation creates multiple A and B models with cross references, the Xtext serializer complains that no EObjectDescription could be found in the scope. I presume the reason is, that the Xtext index is not updated in the meantime and, thus, contains no information about the newly generated A models. How can I solve this problem? I tried explicitly invoking a full rebuild on the project that contains the models after the A models have been written so that the Xtext builder could update the index before writing the B models. However, that did not help.
Best regards,
Stephan
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02222 seconds