Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtend with Tycho ?
Xtend with Tycho ? [message #817699] Sat, 10 March 2012 13:49 Go to next message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
Hi,

I have created a ecore/xcore model that I would like to experiment with artifacts generation using xtend.

I would like to add this experiment project as a module in my RCP product that is being built by tycho.

could someone point me to any example that shows me how can I use xtend with tycho ?

thanks and regards,

Cristiano

Re: Xtend with Tycho ? [message #820160 is a reply to message #817699] Tue, 13 March 2012 20:07 Go to previous messageGo to next message
Zoltan Ujhelyi is currently offline Zoltan UjhelyiFriend
Messages: 365
Registered: July 2015
Senior Member
If your project has only a single source folder, then you can simply add the fragments for the xtend maven compiler as described in the Xtend manual: http://www.eclipse.org/xtend/documentation/index.html#MavenSupport.

However, if you have multiple source folders, then with the latest, 2.2.1 release it is not really possible to have both Tycho and Xtend-compiler together. It is already fixed in https://bugs.eclipse.org/bugs/show_bug.cgi?id=367914, but it is not available yet as a release (afaik).

UPDATE: I removed the ',' (comma) outside the bug url, as it resulted in an invalid url.

[Updated on: Tue, 13 March 2012 21:00] by Moderator

Report message to a moderator

Re: Xtend with Tycho ? [message #820192 is a reply to message #820160] Tue, 13 March 2012 20:57 Go to previous messageGo to next message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
Hi Zoltan,

thanks for the help.

I will take a look on the manual.

Unfortunately the bug number that you have provided is invalid. Wink

regards,

Cristiano
Re: Xtend with Tycho ? [message #820195 is a reply to message #820192] Tue, 13 March 2012 21:01 Go to previous message
Zoltan Ujhelyi is currently offline Zoltan UjhelyiFriend
Messages: 365
Registered: July 2015
Senior Member
Hi,

thanks for pointing out the error in the url. I updated the post, and of course I meant https://bugs.eclipse.org/bugs/show_bug.cgi?id=367914.

Zoltán
Previous Topic:Xtext/Xtend export issues.
Next Topic:DSL Generation and Validation
Goto Forum:
  


Current Time: Sun Mar 29 22:56:55 GMT 2020

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

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

Back to the top