Skip to main content



      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 17:37 Go to next message
Eclipse UserFriend
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 01:55 Go to previous messageGo to next message
Eclipse UserFriend
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 01:59 Go to previous message
Eclipse UserFriend
https://www.eclipse.org/forums/index.php/m/1413716/
Previous Topic:Type Resolving Error on Maven Build
Next Topic:Problem with OCL and Xtend code generator project
Goto Forum:
  


Current Time: Fri Jul 25 11:20:09 EDT 2025

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

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

Back to the top