This is a work in progress. BE CAREFUL WHEN USING THESE SCRIPTS! Please enhance these tools. See also some other tools in ../tools/ For more information, see: http://www.apache.org/dev/apply-license.html ------------------------------------------------------------------------ Notes: * This is a growing set of tools, developed as each project ensures that we have proper licenses. * The tools address various purposes. Some tools only replace existing licenses, some only do *.java files, some do *.xml as well, some only insert a new license, some report statistics about all files. * See the particular notes in the head portion of each script. * Please enhance these tools and add new ones. The job is not complete. ------------------------------------------------------------------------ Java: ReplaceLicense.java Python: relicense.py Perl: insert_license.pl update-AL20.pl ------------------------------------------------------------------------ The following notes are from previous versions of this README. (FIXME: Not sure if the notes are only relevant to ReplaceLicense.java or relicense.py as well. Perhaps should move to their script header.) ------------------------------------------------------------------------ --- It'll do a decent enough job of preserving the original copyright dates. The biggest current flaw is that it is overaggressive in three ways: - It will relicense files not under the old ASL 1.1 license - It will relicense files under the old ASL 1.1 license, but have an addendum after the ==== block that needs to be preserved. - It will change an existing: Copyright 2004 The Apache Software Foundation. Into: Copyright 2004-2004 The Apache Software Foundation. YOU MUST USE THE FULL license.txt IN THIS DIRECTORY. For more information, see: http://www.apache.org/dev/apply-license.html --- 2004.02.16 Added a Java version of a program to replace the license from 1.1 to 2.0 (sorry could not hack the python version). 2004.02.18 - Gary Gregory Created src directory tree and packaged ReplaceLicense.java to org.apache.committers.