dukeboard / kevoree-modeling-framework

Kevoree Modeling Framework
http://kevoree.org/kmf
GNU Lesser General Public License v3.0
37 stars 7 forks source link

Generation of headers #14

Closed brice-morin closed 11 years ago

brice-morin commented 11 years ago

It would be good if we could generate headers (for license, etc) in the generated Kotlin files, according to a specified template. I guess there should be complete freedom on the license of the generated Kotlin files, right?

gnain commented 11 years ago

I'm not sure that the management of licence headers on the generated code has to be handled by our code generator. I guess that you wont only have generated code, but also some hand made, and all would have the same licence header. Since Maven plugins specialized for this header management task exist, I suggest you simply add one of these plugin to your POM. This is how it is done for the Kevoree source files. You can have a look on https://github.com/dukeboard/kevoree/blob/master/kevoree-core/org.kevoree.root/pom.xml to see how it is activated. Is that ok for you ?

brice-morin commented 11 years ago

That's a good point