Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Development Resources/How to Use Eclipse Copyright Tool

< Development Resources
Revision as of 12:05, 30 September 2011 by Wayne.eclipse.org (Talk | contribs) (Install the org.eclipse.releng.tools plugin to Eclipse)

Install the org.eclipse.releng.tools plugin to Eclipse

You can use the standard software installer ("Help > Install New Software...") to add the Eclipse Project's Releng Tools to your Eclipse configuration.

InstallRelengTools.png

Configuration of Eclipse copyright tool

Copyrighttool.jpg

  • the listbox 'copyright template' takes a fix header for your java files
  • you can declare a creation and revision year
  • you can declare that existing header will be replaced
  • you can declare that properties files like build.properties will be skiped

Use Eclipse copyright tool

Copyrighttool2.jpg

  • change to Resource-view of Eclipse
  • deselect all working sets, if you have selected - you must see the project structure of your workspace
  • click right on your project and choose Advanced fix copyrights

The tool will:

  • insert a header
    • in java files
    • if configured, in *.properties files
    • if configured, with override existing header

The tool will NOT

  • insert a header in other files like plugin.xml

Back to the top