Hi Miran, did you get any response on this yet?
 MartiNG

On 17/01/14 10:57, Miroslav Kos wrote:
Hi Steve and Alan,
I just reminding this issue - I have no response from anybody yet and it would really simplify our integration if I could handle copyright years inconsistencies this way - I see this issue in many jdk branches and these "each-branch-different" changes make each integration much more pain.

Thanks for any idea on this.

Miran


On 10/01/14 18:05, Miroslav Kos wrote:
Hi,
this is about fixing copyright years for jdk8 (!); the incorrect years found for both 2012 and 2013, so not to confuse script
jdk8/make/scripts/update_copyright_year.sh
it is necessary to use option -d "<date>" for commit. I tested that and it seems to work perfect.
I used following:

[2012 modifications]
hg commit -u mkos -l ../2012-msg.txt -d "2012-12-30"

[2013 modifications]
hg commit -u mkos -l ../2013-msg.txt -d "2013-12-30"

When commits performed with past date, update_copyright_year.sh script finds those in proper years. Since I am not familiar with using webrev for pushing changes, I exported both revisions into separate patches:

2012: http://cr.openjdk.java.net/~mkos/8029237/copyrights-2012.patch
2013: http://cr.openjdk.java.net/~mkos/8029237/copyrights-2013.patch
all changes webrev: http://cr.openjdk.java.net/~mkos/8029237/webrev-all.00/ (upload still in progress, I hope it doesn't take more than 30 mins)
bug: https://bugs.openjdk.java.net/browse/JDK-8029237

Regards
Miran




--
Martin Grebac, SW Engineering Manager
Oracle Czech, Prague

Reply via email to