Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352069 - Add copyright notion to Java source files
Summary: Add copyright notion to Java source files
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Releng-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 07:05 EDT by Eugen Paraschiv CLA
Modified: 2014-10-23 11:43 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.