Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Correct way to build with xtext?
Correct way to build with xtext? [message #1410376] Wed, 20 August 2014 15:30 Go to next message
Greg Watson is currently offline Greg WatsonFriend
Messages: 115
Registered: July 2009
Senior Member
I'm trying to build a product that includes a component with a dependency on xtext. I've included the org.eclipse.xtext.runtime and org.eclipse.xtext.ui features from the repository at http://download.eclipse.org/modeling/tmf/xtext/updates/releases, however the runtime feature complains about a missing dependency on org.eclipse.xtend. I've tried including the org.eclipse.xtend.sdk feature, but this has a dependency on the org.eclipse.xtext feature! If I try both the org.eclipse.xtend.sdk and org.eclipse.xtext.sdk features, there is still a missing dependency on org.eclipse.xtend.

Can someone please tell me or point me at a document that describes how to build with xtext!

Thanks,
Greg
Re: Correct way to build with xtext? [message #1410384 is a reply to message #1410376] Wed, 20 August 2014 16:05 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13278
Registered: July 2009
Senior Member
Hi,

org.eclipse.xtend is the old one. you should find it on the luna update site. it is e.g. in org.eclipse.xpand.sdk


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Correct way to build with xtext? [message #1410385 is a reply to message #1410376] Wed, 20 August 2014 16:05 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6538
Registered: July 2009
Senior Member
Hi

The default Xtext project pair is user-friendly and so includes the
build functionality in the parser plugin.

For Eclipse OCL, I use a separate build plugin for all the MWE scripts
so that the editor plugins are stripped down to the bare minimum that
actually does parsing/editing rather than editor development. I have no
significant dependency problems, apart from a minor ergonomic gripe that
the xtend plugin comes from the Xpand rather than the Xtext distribution
where the rest of xtend comes from.

Regards

Ed Willink

On 20/08/2014 16:30, Greg Watson wrote:
> I'm trying to build a product that includes a component with a
> dependency on xtext. I've included the org.eclipse.xtext.runtime and
> org.eclipse.xtext.ui features from the repository at
> http://download.eclipse.org/modeling/tmf/xtext/updates/releases, however
> the runtime feature complains about a missing dependency on
> org.eclipse.xtend. I've tried including the org.eclipse.xtend.sdk
> feature, but this has a dependency on the org.eclipse.xtext feature! If
> I try both the org.eclipse.xtend.sdk and org.eclipse.xtext.sdk features,
> there is still a missing dependency on org.eclipse.xtend.
>
> Can someone please tell me or point me at a document that describes how
> to build with xtext!
>
> Thanks,
> Greg
Re: Correct way to build with xtext? [message #1410451 is a reply to message #1410384] Wed, 20 August 2014 20:12 Go to previous message
Greg Watson is currently offline Greg WatsonFriend
Messages: 115
Registered: July 2009
Senior Member
The key was to get xtend from xpand rather than xtext. Seems a bit confusing.

Thanks,
Greg
Previous Topic:Parsing single line commands
Next Topic:Avoid outline refresh while editing file
Goto Forum:
  


Current Time: Sat Dec 14 12:54:47 GMT 2019

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

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

Back to the top