Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Creating RCP, no executable
Creating RCP, no executable [message #1007464] Tue, 05 February 2013 20:22 Go to next message
Phil H is currently offline Phil H
Messages: 267
Registered: November 2012
Senior Member
Hi,

I followed this tutorial (http://kthoms.wordpress.com/2010/11/12/setting-up-a-rcp-product-for-a-dsl/) to create a rcp application for my xtext editor. Everything works so far - the plugin validation is correct and I could launch and run it as an eclipse application.

But when I make a Product export, there will be no exe generated. I've not so much knowledge about RCP, but normally there should be an executable?
Has anyone noticed the same behaviour? Google didn't give me the right hint

I'm using Eclipse Version: 4.2.1 and Xtext 2.3.1
Re: Creating RCP, no executable [message #1007520 is a reply to message #1007464] Wed, 06 February 2013 05:17 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1324
Registered: July 2009
Senior Member
On 02/06/2013 02:22 AM, Phil H wrote:
> Hi,
>
> I followed this tutorial
> (http://kthoms.wordpress.com/2010/11/12/setting-up-a-rcp-product-for-a-dsl/)
> to create a rcp application for my xtext editor. Everything works so far
> - the plugin validation is correct and I could launch and run it as an
> eclipse application.
>
> But when I make a Product export, there will be no exe generated. I've
> not so much knowledge about RCP, but normally there should be an
> executable?
> Has anyone noticed the same behaviour? Google didn't give me the right hint
>
> I'm using Eclipse Version: 4.2.1 and Xtext 2.3.1

Hi

usually (at least in my experience) when the executable is not generated
is because

- org.eclipse.rcp feature is not part of your product's features
- org.eclipse.equinox.executable is not part of your target platform

I'm working on an example of "building an RCP for an Xtext DSL", (using
Buckminster, NOT the PDE product export), but I still haven't finished
it and I still haven't had time to document it... I hope it's going to
be ready soon.

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Re: Creating RCP, no executable [message #1007599 is a reply to message #1007464] Wed, 06 February 2013 12:01 Go to previous messageGo to next message
Phil H is currently offline Phil H
Messages: 267
Registered: November 2012
Senior Member
Thx, an exe is now created and everything works fine except the image which I've provied via the labelprovider are not shown in the outlineview.
Maybe there ist something else missing, which is special for the images?
Re: Creating RCP, no executable [message #1007603 is a reply to message #1007599] Wed, 06 February 2013 12:13 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6230
Registered: July 2009
Senior Member
Did you include The icons in the projects build.properties

--
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: Creating RCP, no executable [message #1007634 is a reply to message #1007603] Wed, 06 February 2013 14:58 Go to previous message
Phil H is currently offline Phil H
Messages: 267
Registered: November 2012
Senior Member
Oh, I forgot to change this. Now it's also working in the RPC. Thank you!!
Previous Topic:Customizing Syntax Highlighting
Next Topic:Kepler TypeNotFoundException
Goto Forum:
  


Current Time: Fri Aug 29 06:12:41 EDT 2014

Powered by FUDForum. Page generated in 0.02201 seconds