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

Difference between revisions of "Development Resources/How to Use Eclipse Copyright Tool"

(Install the org.eclipse.releng.tools plugin to Eclipse)
(Configuration of Eclipse copyright tool)
Line 6: Line 6:
  
 
====Configuration of Eclipse copyright tool ====
 
====Configuration of Eclipse copyright tool ====
 +
 +
The Copyright Tool is configured using the preferences.
 +
 +
 
[[Image:Copyrighttool.jpg]]
 
[[Image:Copyrighttool.jpg]]
  
* the listbox 'copyright template' takes a fix header for your java files
+
 
* you can declare a creation and revision year
+
If you're not sure what to put here, please see the [http://eclipse.org/legal/copyrightandlicensenotice.php Default Copyright and License Notice].
* 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 ====
 
====Use Eclipse copyright tool ====

Revision as of 12:20, 30 September 2011

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

The Copyright Tool is configured using the preferences.


Copyrighttool.jpg


If you're not sure what to put here, please see the Default Copyright and License Notice.

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