Thanks to Marco Hunsicker, the author of Jalopy, I was able to work out the header replacement/insertion issues. The "key" for the new and old header has to be comprised of unique text contained in each. Given the correct keys, Jalopy does a most excellent job of replacing the old header and not re-inserting the new header over and over.
I have updated the Jalopy configuration file in log4j and log4-sandbox cvs. Let me know if you have any issues with it. Moving to the Jalopy tool is a great thing. -Mark > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, February 24, 2003 11:13 PM > To: Log4J Developers List > Subject: RE: Reproducing the Apache license > > > Enclosed is an attempt to configure Jalopy to insert the fulle Apache 1.1 > license at the top of the file. It inserts it at the top of the file, but > it does not remove the old header first. Plus, it seems to just keep > re-inserting the header everytime I run Jalopy. The Jalopy documentation > seems to suggest that it can handle deleting different headers and > recognizing the header it has already inserted, but heck if I can > figure out > how to configure it to actually do that stuff. > > Maybe someone with more Jalopy experience can modify this and > post it back? > > -Mark > > > -----Original Message----- > > From: Ceki Gulcu [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 20, 2003 6:16 AM > > To: [EMAIL PROTECTED] > > Subject: Reproducing the Apache license > > > > > > > > Hi all, > > > > It is the foundation's policy to reproduce the Apache license at the > > top of each and every source file. Instead, log4j has a copyright > > notice referencing the Apache license at the top of each source > > file. We should start obeying the Apache-wide policy. Thus, we should > > slowly start copying the license at the top of each file that does not > > already have it. There is no urgency as long as we eventually do > > change all files. > > > > > > -- > > Ceki > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
