Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352069

Summary: Add copyright notion to Java source files
Product: [Eclipse Project] Platform Reporter: Eugen Paraschiv <hanriseldon>
Component: RelengAssignee: Platform-Releng-Inbox <platform-releng-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, david_williams, hanriseldon, lufimtse, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Eugen Paraschiv CLA 2011-07-14 07:05:59 EDT
Build Identifier: 201107091000

The notion of copyright headers is pretty much the standard across a variety of different projects. 
Eclipse should support this notion and be able to change it across all files of a project consistently. 
This would enable a refactoring of the copyright across all the files that have copyright defined. 

Reproducible: Always
Comment 1 Dani Megert CLA 2011-07-14 07:10:10 EDT
This is not just Java but files in general. The Releng tool already deals with copyrights. Moving there for consideration, though I think a simple regex search/replace would also do the trick in most cases.
Comment 2 Leo Ufimtsev CLA 2014-07-17 09:39:45 EDT
Can you elaborate? 

In the mean time, the copyright tool works in the following way:

- right click a project:
- click "Fix copyright" 

And it goes through the whole project to fix the copy rights on various file formats. 

I'm also working on adding save actions:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=369992

Would that fulfill your request?
Comment 3 David Williams CLA 2014-10-23 11:43:04 EDT
This bug is so old, that I think it should be closed. 

Seems to me the "Releng tool" provides the basic functionality requested. 

Please re-open if I am missing the point and something other than "Releng tool" was intended.