Navigation

About ICU
· ICU Home
· Download ICU
Demos & Tools
· ICU4C Demos
· ICU4J Demos
· Data Customizer
Documents
· User Guide
· ICU FAQ
· ICU4J FAQ
· Docs & Papers
API References
Official Release
· ICU4C (49.1.1)
· ICU4J (49.1)
Latest Milestone
· N/A
Data & Charts
· Conversion Tables
· Feature Comparisons
· Performance & Size
Development
· Project Information
· Design Docs
· Source Repository
· Processes
· Members-Only Area
Bugs & Contacts
· Bugs
· Feature Requests
· Mailing Lists

· Feedback
Sitemap

ICU Copyright Scanner

What is the copyright scanner?


ICU requires all files checked in to have a current copyright with the current year. Usually this is in a comment at the top of the file. The scanner is looking for "Copyright" and the current year (such as 2009) on the same line, within the first few lines of file data.

A command-line version of the copyright scanner can also be run manually, from http://source.icu-project.org/repos/icu/tools/trunk/scripts/cpysearch/

Exclusion list

If a file can not contain a copyright, like a binary file, simply add the file's path to the file svn+ssh://source.icu-project.org/repos/icustuff/trunk/src/svnhooks/cpyskip.txt, and check in the file. Changes to this file take effect every 15 minutes, on the quarter hour. You may have to wait for the changes to take effect. After updating cpyskip.txt, you will be able to check in your new file.

The latest copy that the server is using is viewable as http://source.icu-project.org/cpyskip.txt

Exclusion list syntax

The following are some example formats that can be used in cpyskip.txt

Comment

# This is a comment. I love comments.

Path

icu/source/extra/uconv/samples/utf8/chinese-ulysses.txt

Suffix match

A full file path, starting with the module (icu). It will match files which end with ".jar". (Note, it is not a full regular expression.)

*.jar

Prefix match

icu4j/eclipseProjectMisc/*

It will exclude all files under icu4j/eclipseProjectMisc.