Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » RCP product for Xtext
RCP product for Xtext [message #759116] Sat, 26 November 2011 14:12 Go to next message
Alice  is currently offline Alice Friend
Messages: 2
Registered: November 2011
Junior Member
Hi,

I've created a RCP product for Xtext DSL following the tutorial in Karsten's blog. However, this way the result contains some extra features (e.g. perspectives Java, Debug, etc.) which are not required for my application. My application needs to include only a DSl editor, navigation and outline view, and also some standard menus like File, Edit, Help.

To have the RCP with the above requirements I tried to create a minimal RCP from scratch by adding only the extensions needed. But I always get some dependency problems and it might take me too long to get a working result.

Would you have any suggestion what would be the correct path here?
Or maybe you know any other resource that could help me on this?

Thanks!
Re: RCP product for Xtext [message #759120 is a reply to message #759116] Sat, 26 November 2011 14:41 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13424
Registered: July 2009
Senior Member
Hi,

the same question was asked here too http://www.eclipse.org/forums/index.php/mv/msg/261320/754491/#msg_754491

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: RCP product for Xtext [message #759122 is a reply to message #759120] Sat, 26 November 2011 15:13 Go to previous messageGo to next message
Alice  is currently offline Alice Friend
Messages: 2
Registered: November 2011
Junior Member
Hi,

Thanks for a prompt reply. Actually I've read that post earlier and used exactly the same tutorial to create the RCP. But now I'm looking for a way to have even "more minimal" IDE (if it could described like that) which will inlcude features needed only for DSL editor and all additional features will be removed. Because the current RCP still includes additional perspectives like Java, Debug, Team Synchronizing, etc. and corresponding menues and views.

Alice
Re: RCP product for Xtext [message #759124 is a reply to message #759122] Sat, 26 November 2011 15:49 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13424
Registered: July 2009
Senior Member
Hi,

it contains java since your dsl depends on it - so make your dsl java free and you wont need it.
and dont include jdt as a feature but only the required plugins - just make use of the validate button.
since this is a very boring work a made the easy solution to add the whole jdt feature
for you you could try to only and the jdt.core plugins and not the jdt ui plugins.
but this is a not of manual work noone can make for you (unless you play for it of course Wink)

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: RCP product for Xtext [message #759127 is a reply to message #759124] Sat, 26 November 2011 16:04 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
If you want something to look at, Cloudsmith/Geppetto at github packages
a DSL in a minimum RCP packaging. Geppetto does not use JDT. Could be
slimmed down further but we want certain views (like log view, and some
preference panes).

- henrik

On 2011-26-11 16:49, Christian Dietrich wrote:
> Hi,
>
> it contains java since your dsl depends on it - so make your dsl java
> free and you wont need it.
> and dont include jdt as a feature but only the required plugins - just
> make use of the validate button.
> since this is a very boring work a made the easy solution to add the
> whole jdt feature
> for you you could try to only and the jdt.core plugins and not the jdt
> ui plugins.
> but this is a not of manual work noone can make for you (unless you play
> for it of course ;))
>
> ~Christian
Re: RCP product for Xtext [message #759623 is a reply to message #759127] Tue, 29 November 2011 11:51 Go to previous message
Federico Sellanes is currently offline Federico SellanesFriend
Messages: 71
Registered: November 2011
Member
Maybe this can help you

http://www.eclipse.org/forums/index.php/t/262556/

It's the same question I asked. I have no knowledge to get it, not yet. ^^)
Previous Topic:Xtend2 working with org.eclipse.xtend.XtendComponent
Next Topic:content assist
Goto Forum:
  


Current Time: Mon Apr 06 19:09:44 GMT 2020

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

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

Back to the top