Community
Participate
Working Groups
Build Identifier: M20110909-1335 We are currently storing the files generated by the grammar in source control because calling the MWE2 code generated from our build system is not simple or reliable. The issue is that generated code does not have any copyright notice. It would be really helpful if generated files had something like Generated by Xtext ${version} ${date} in the <copyright> element at the top of each file. Many thanks in advance. Reproducible: Always Steps to Reproduce: N/A
In Xtext 2.8.x the fileHeader attribute can be used to add a copyright header to generated Java files. However, this does not work for code generated from the generated ecore editor. There needs to be a way to fill the "copyright text" property in the genmodel file.
GitHub Pull Request 796 created by [svenefftinge] https://github.com/eclipse/xtext/pull/796
merged
Requested via bug 522520. -M.