|Xtext in RCP Application [message #1117668]
||Thu, 26 September 2013 17:35
| Alan DW
Registered: March 2012
a while ago I was discussing an Xtext problem with Christian in this thread. In a nutshell, I want to gather all DSL files in a project and export their Ecore Model as XMI, but I had some problems with "xtextLink" instances showing up in the output XMI. Thanks to Christians help, I was able to sort that problem out and the plug-in works correctly now.
Now I am facing the same problem again in a sligthly different setting. I want to create a full Eclipse RCP application that uses my plugin. And the code which worked so well when executed directly via "Run As -> Eclipse Application" fails miserably (with "xtextLink" instances in the output XMI) when I include it in my *.product file and try to run it from there (the *very* same code, no changes involved at all!).
Is there a set of "essential must-have plug-ins" that are required for Xtext in RCP applications? I have eliminated all other sources of error, it must be the dependency management that is somehow erroneous and causes this behaviour. And yes, I did use "add required plug-ins". The Xtext-generated editor works perfectly in my RCP application, it is just the "xtextLink"s that give me headaches once again. My guess would be that some Xtext initialization is not done in the RCP application.
I have attached the *.product file to this post. My DSL in question is "at.qe.txture.archdsl". I also attached the platform target definition (if it is of any use here at all).
I'd be glad for any hints, also if there is some tutorial or "common pitfalls" blog somewhere about Xtext and Eclipse RCP that I missed in my Google search I'd be happy to read it! I've encountered a couple of threads in this forum, but they were rather old (about 2011)...
Powered by FUDForum
. Page generated in 0.03302 seconds