On 2017-09-06 10:52 AM, Alois Z. wrote:
In Eclipse 4diac
we have a library of model elements and application examples to
help our users getting started with 4diac. The models are stored
in a dedicated XML format. This would allow to just add the
classic Eclipse copyright header as XML comment.
The problem that
I now see is that when the model is loaded in 4diac and stored
again this header is currently not preserved. So using that
approach for the copyright header is quite cumbersome. Adding
code to handle this would be quite challenging I think.
The model we are
using has dedicated fields for comments, which are intended for
describing the model and also a version entry. These could be
used to add copyright notices. Especially the latter seams
suitable.
Is there a best
practice for such a use case? What are experiences of other
projects?
Alois,
Probably not the answer that you are looking for, but are you
aware that you are allowed to license your build scripts and
examples under the BSD (also known as the Eclipse Distribution
License 1.0) without requiring any further approvals? I would
consider that a best practice, as it makes it clear that your
examples could be used as the starting point for a product or
application without any copyleft implications from the EPL.
See https://www.eclipse.org/legal/noncodelicenses.php