How To Manage Copyright Licenses In Eclipse

It comes a time in every project’s life when the owner decides that he needs to copyright his work. This time came to me a while ago and to implement my wish I searched for some tool to help me update my code files without having to do it manually. Thankfully the guys at eclipse have already provided such a feature, which is bundled in the eclipse releng tools. After installing it from the eclipse update site, a new element is added to the preference dialog:

And after setting your preferred license or inventing one yourself (there are lots of licenses, so why not create one more? :-)), you can select a number of files, right-click and select “Fix Copyrights”, as shown below:

Enjoy.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.