Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[viatra-dev] copyright template in Oomph setup

Hi all,

some of the VIATRA projects had a project specific setting for automatically generating copyright headers in new files. However, the content of this setting is now outdated and should be different for contributors with different employers.

In https://git.eclipse.org/c/viatra/org.eclipse.viatra.git/commit/?id=eb5ccbcd605073254e0459545df8aee1a5ec7ecd I have removed the project specific settings and added the preference in the Oomph setup.
Note that Oomph will ask for the value of a new variable "Copyright owner (VIATRA)" and you should insert the text that you want to have in addition to your name in the first line of the copyright comment:
"Copyright (c) 2010-${year}, ${user}, ${viatra.copyright.owner}"

In the removed setting, it was "Istvan Rath and Daniel Varro" (without quotes) instead of ${viatra.copyright.owner}

I have also added a note for this at https://wiki.eclipse.org/VIATRA/DeveloperDocumentation/DevEnvironment#Automatic_.28Oomph.29

Cheers,
-----
Ábel Hegedüs

IncQuery Labs Ltd.

Back to the top