Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Problem generating RCP with Xtext(but works in debug)
Problem generating RCP with Xtext [message #1127932] Mon, 07 October 2013 06:47 Go to next message
Aurélien Lebeau is currently offline Aurélien LebeauFriend
Messages: 16
Registered: September 2013
Junior Member
Hello,

Thanks to Christian, I managed to get a nice and working xtext editor.

But here's another problem :
I have a rcp.product.
I have a debug configuration based on that rcp.product.
I want to export the RCP by "Eclipse product export wizard".

The editor works well when ran from the debug configuration but it's not working when the RCP is exported. When I want to open a file, I can see its tab, the dsl editor constructor is called but nothing. Nothing appears on the editor view. When I clic in the zone which should contain the editor, I can see that the editor constructor is called again on each clic.

I've checked the dependencies and all seems to be the same on the debug configuration or the rcp.product (I've done a "Add required plugins" to be sure).

Any idea where this problem can come from ?


Thanks !
Re: Problem generating RCP with Xtext [message #1127995 is a reply to message #1127932] Mon, 07 October 2013 08:14 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Du you have any warnings in Build.properties??? Are there any
messages in the log?

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Problem generating RCP with Xtext [message #1128005 is a reply to message #1127995] Mon, 07 October 2013 08:30 Go to previous message
Aurélien Lebeau is currently offline Aurélien LebeauFriend
Messages: 16
Registered: September 2013
Junior Member
I didn't have any warning in the build.properties but I had some in the plugin.xml (but it worked in debug mode).

In the meanwhile, I found this post : http://www.eclipse.org/forums/index.php/t/532149/ and I add xtext nature to the project containing the .product. Now, it seems to work !

Very Happy
Previous Topic:Problem with Enums in Xcore-XTEXT
Next Topic:[IJvmModelInferrer] Referencing not yet existing classes
Goto Forum:
  


Current Time: Thu Apr 25 18:48:58 GMT 2024

Powered by FUDForum. Page generated in 0.02424 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top