I have some scripts to help converting the source code to Apache headers.

One script simple looks for copyright statements so we can list the contributors and identify files that have notes about contributors other than the ICLAs.

The second changes the source code by removing and starting /**/ comment and any trailing /**/ and inseting the AL text (it removes only the first /**/ comment even if there are two or more the package declaration, ditto trailibng /**/ comments).

http://incubator.apache.org/guides/mentor.html#initial-clean-up

Is this good enough?

Our standard copyright header is:
/*
 * (c) Copyright XXXXXXXXX
 * All rights reserved.
 * [See end of file]
 */

and a large copyright notice on the end of the file. These get removed and the AL text goes at the head of file.


Ian, Dave - I know you used different headers on some of your code e.g.:

/******************************************************************
 * File:        BaseInfGraph.java
 * Created by:  Dave Reynolds
 * Created on:  18-Jan-03
 *
* (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP
 * [See end of file]
 * $Id: BaseInfGraph.java,v 1.1 2009-06-29 08:55:50 castagna Exp $
 *****************************************************************/

/*****************************************************************************
 * Source code information
 * -----------------------
 * Original author    Ian Dickinson, HP Labs Bristol
 * Author email       [email protected]
 * Package            Jena 2
 * Web                http://sourceforge.net/projects/jena/
 * Created            01-Apr-2003
 * Filename           $RCSfile: AnnotationProperty.java,v $
 * Revision           $Revision: 1.2 $
 * Release status     $State: Exp $
 *
 * Last modified on   $Date: 2009-10-06 13:04:34 $
 *               by   $Author: ian_dickinson $
 *
* (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP
 * (see footer for full conditions)

*****************************************************************************/

Do you want to keep this information? (Some of it looks rather old - and some of it is CVS related).

If you do want to keep it, could you indicate which packages contain material that has such files in and what you want to do with it.


Chris - anything in your code areas that will get lost you want to keep by top-and-tailing the source files?


Paolo - you've converted LARQ. How did it go? What can we learn from the process?


        Andy

(disclosure: I have stopped putting any authorship indication on my own code - it's the project's, not mime)

Reply via email to