Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » What is the license of the generated code
What is the license of the generated code [message #1777708] Fri, 01 December 2017 22:37 Go to next message
Waqas Ilyas is currently offline Waqas IlyasFriend
Messages: 66
Registered: July 2009
Member
With Xtext, what is the license of the generated code?

Is there an exception in Xtext code's own license like bison skeleton code has? So that GPL isn't applied to the code that is generated by bison.
Re: What is the license of the generated code [message #1777714 is a reply to message #1777708] Sat, 02 December 2017 06:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29130
Registered: July 2009
Senior Member
This kind of thing was discussed when developing the new improved EPL 2.0 license, e.g., https://dev.eclipse.org/mhonarc/lists/epl-discuss/msg00131.html

Certainly with respect to EMF's generated code, my general position has always been that whatever license and copyright applies to the input to the generator, e.g., the Ecore model or the Xtext grammar, also applies to the output. While EMF's templates themselves are EPL (so if you modify them, the copyleft rules apply), when you use them to generate code from your input Ecore model, the result is yours to do with as you see fit. I expect this applies to all code generated by any Eclipse-hosted project, including, for example, any auto-generated methods that JDT generates. And of course a great many people and large corporations use EMF and Xtext based on this assumption.
Re: What is the license of the generated code [message #1777715 is a reply to message #1777714] Sat, 02 December 2017 06:59 Go to previous message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 11626
Registered: July 2009
Senior Member
https://www.eclipse.org/forums/index.php/m/1413716/

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Previous Topic:Type Resolving Error on Maven Build
Next Topic:Problem with OCL and Xtend code generator project
Goto Forum:
  


Current Time: Mon Jan 22 20:34:15 GMT 2018

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

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