Written by Rudy D'hauwe on August 18, 2013.
The Eclipse copyright tool is part of the Eclipse Releng Tools plugin. It will sanity check the copyright notices in all the .java and .properties files. Copyrights will be automatically updated where the tool deems appropriate. Also a copyright.log file will be written to the workspace directory noting odd conflicts that need to be looked at. You need to commit the changes yourself to your source control repository.
This procedure installs the Eclipse Releng Tools plugin for Eclipse 4.3. Start Eclipse, then select Help > Install New Software… In the dialog that appears, enter the following update site URL into the “Work with” text box:
http://download.eclipse.org/eclipse/updates/4.3
After entering the update site URL for your version of Eclipse (in my case, that is Eclipse Kepler 4.3), click on the “Add” button and give the update repository a name.
Next, select the “Releng Tools” component to install.
Confirm the installation.
Review and accept the license agreement.
You need to restart Eclipse to complete the installation.
Go to Window > Preferences > Copyright Tool to setup the copyright tool.
Enter the copyright notice you want to use without the leading asterisks.
Copyright (c) 2013 Rudy D'hauwe @ Whizu Licensed under the EUPL V.1.1 This Software is provided to You under the terms of the European Union Public License (the "EUPL") version 1.1 as published by the European Union. Any use of this Software, other than as authorized under this License is strictly prohibited (to the extent such use is covered by a right of the copyright holder of this Software). This Software is provided under the License on an "AS IS" basis and without warranties of any kind concerning the Software, including without limitation merchantability, fitness for a particular purpose, absence of defects or errors, accuracy, and non-infringement of intellectual property rights other than copyright. This disclaimer of warranty is an essential part of the License and a condition for the grant of any rights to this Software. For more details, see http://joinup.ec.europa.eu/software/page/eupl. Contributors: 2013 - Rudy D'hauwe @ Whizu - initial API and implementation
To use the copyright tool and to add/update your copyright notice, right click on any project, package or class in the Eclipse Package Explorer view. By clicking on the Fix Copyrights option in the context menu, the copyright notice will be verified and updated if necessary on all the selected projects, packages or classes.