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 02:47 Go to next message
Aurélien Lebeau is currently offline Aurélien Lebeau
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 04:14 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 5249
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
Re: Problem generating RCP with Xtext [message #1128005 is a reply to message #1127995] Mon, 07 October 2013 04:30 Go to previous message
Aurélien Lebeau is currently offline Aurélien Lebeau
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:XText based CoffeeScript Editor project is looking for new owner
Next Topic:[IJvmModelInferrer] Referencing not yet existing classes
Goto Forum:
  


Current Time: Tue Oct 08 07:39:09 EDT 2013

Powered by FUDForum. Page generated in 0.01490 seconds