Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 180767 - Cant run copyright tool more than once
Summary: Cant run copyright tool more than once
Status: RESOLVED DUPLICATE of bug 173364
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Kim Moir CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-03 14:04 EDT by Kim Horne CLA
Modified: 2009-05-22 15:19 EDT (History)
1 user (show)

See Also:


Attachments
Patch against org.eclipse.releng.tools (6.78 KB, patch)
2007-04-03 14:08 EDT, Kim Horne CLA
no flags Details | Diff
Patch against org.eclipse.releng.tools (6.75 KB, patch)
2007-04-10 14:45 EDT, Kim Horne CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Horne CLA 2007-04-03 14:04:28 EDT
In an effort to cut down on one huge copyright update at the end of the release I've been trying to run the copyright tool earlier.  Unfortunately, you cant run the current tool more than once without a lot of work.  When a file is updated and checked in the next time the copyright tool runs it will detect this change and update the copyright yet again.  It should be possible to prevent this.  I have a patch that will allow this.
Comment 1 Kim Horne CLA 2007-04-03 14:08:01 EDT
Created attachment 62809 [details]
Patch against org.eclipse.releng.tools

Patch that adds a dialog when the fix action is run.  This dialog will prompt the user for a string to match against the last checkin comment.  If this string is found (default "copyright") then the file is skipped.
Comment 2 Kim Moir CLA 2007-04-10 14:24:50 EDT
Kim thanks for the contribution,

I notice that the patch includes override annotations and this plugin is supposed to run in java 1.4 ee.

Could you submit a new patch that doesn't include these annotations :-)
Comment 3 Kim Horne CLA 2007-04-10 14:45:49 EDT
Created attachment 63407 [details]
Patch against org.eclipse.releng.tools

Replacement patch that accounts for the new execution environment.
Comment 4 Kim Moir CLA 2007-04-10 15:36:57 EDT
thanks patch applied
Comment 5 Tod Creasey CLA 2008-01-30 15:52:39 EST
This is happening with the copyright tool in HEAD and 3.3.2 again
Comment 6 Tod Creasey CLA 2008-01-31 08:23:56 EST
The problem is that there is an Advanced Fixed Copyrights that the wiki tells you to use an a Fix Copyrights which is the right one to use.

You need to update the wiki and maybe rename it to Eclipse Fix Copyrights
Comment 7 Kim Moir CLA 2009-05-22 15:19:31 EDT
It was renamed to Eclipse Fix copyrights in bug 173364

*** This bug has been marked as a duplicate of bug 173364 ***