Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Creating RCP, no executable
Creating RCP, no executable [message #1007464] Wed, 06 February 2013 01:22 Go to next message
Phil H is currently offline Phil HFriend
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 10:17 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
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 17:01 Go to previous messageGo to next message
Phil H is currently offline Phil HFriend
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 17:13 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
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


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Creating RCP, no executable [message #1007634 is a reply to message #1007603] Wed, 06 February 2013 19:58 Go to previous message
Phil H is currently offline Phil HFriend
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:How do I make it so I can add decimals to the amount and quantity and also recieve a correct decimal
Goto Forum:
  


Current Time: Fri Apr 19 20:45:28 GMT 2024

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

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

Back to the top