Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [] opinion wanted: check in generated code ornot vs.copyright notice

Hi Thomas,
I don't see anything wrong at all with filing bugs. Compared to the
mailing list, bugzilla is searchable and much more flexible at
restricting / enabling discussion with the right parties.
I have therefore opened a bug against EAC for your request:
I think that typically, you'd want to ask questions such as this
one your PMC, and/or your assigned mentor, and/or the EAC.
In this case, I believe that the answer is simple:
No generated source code bears any _expression_ of creativity
or art whatsoever, and is therefore not subject to Copyright law.
Therefore, just leave the source as it is (without any copyright
header), and check it in.
If there is any copyrightable material in the generated code,
then it's the template from which it was generated. Therefore,
that very template is responsible for adding a copyright header
or not.
Also, note that the absence or presence of a Copyright Header
does not change the legal status of any material in any way --
its copyright owner, or license information exist or do not exist
regardless of whether that information is in the source file or not.
Having it in the source file is just a matter of making it easier for
adopters to find the relevant information.
I've copied the very same answer to bugzilla. Additional discussions
on bugzilla please.
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member

From: [] On Behalf Of Thomas Menzel
Sent: Tuesday, October 07, 2008 3:37 PM
Subject: [] opinion wanted: check in generated code ornot vs.copyright notice



I just wanted to get your opinion on this subject:


we have some generated code (JAXB) that we use in the SMILA project.


in the past we have just checked in these source files in our non-eclipse projects as they change infrequently and are needed for the developers to write their code.

now, at eclipse we need to provide a proper copyright notice but unfortunately the code generator  wont let us add a custom jdoc where we could place that.

modifying the generated source files to add the notice is cumbersome and probably tends to get forgotten.


generating during build is technically feasible but from the developers point of view not an ideal situation as the code would be cleaned on every build and u would have to make at least a partial build to start developing.             


so, have anybody of u crossed this issue as well?

how have u dealt with it in regard  to IP cleanliness?


bearing the discussion in the use of this in mind but also seeing eclipse’s warning to be frugal with opening bugs I didn’t want to open one just yet, but will in case the discussion gets lively.


Kind regards

Thomas Menzel @ brox IT-Solutions GmbH



Back to the top