[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Suggestion for copyright file header.

From: McClain Looney <mlooney_at_gmail.com>
Date: 2004-09-25 02:03:31 CEST

I recall reading somewhere that it's acceptable to place a single copy
of the license along with the code, instead of spamming every file
with ridiculous lawyer jargon. If that's the case, I'd _much_ rather
do it that way.

----- Original Message -----
From: Robert Simmons <kraythe@arcor.de>
Date: Sat, 25 Sep 2004 01:49:02 +0200
Subject: Suggestion for copyright file header.
To: dev@subclipse.tigris.org

 

 

The current copyright header indicates that the product was developed
by IBM. =)

  

Can we use this one instead:

  

/*

 * file: SVNDecoratorConfiguration.java

 * package: org.tigris.subversion.subclipse.ui.decorator

 *

 * This program and the accompanying materials are made available under

 * the terms of the Common Public License v1.0 which accompanies this

 * distribution, and is available at the following URL:

 * http://www.eclipse.org/legal/cpl-v10.html

 *

 * Copyright(c) 2003-2005 by the authors indicated in the @author tags.

 * All Rights are Reserved by the various authors.

 *

 ########## DO NOT EDIT ABOVE THIS LINE ########## */

  

This can be easily done with an editor template. Map "header" to the following:

  

/*

 * file: ${file}

 * package: ${enclosing_package}

 *

 * This program and the accompanying materials are made available under

 * the terms of the Common Public License v1.0 which accompanies this

 * distribution, and is available at the following URL:

 * http://www.eclipse.org/legal/cpl-v10.html

 *

 * Copyright(c) 2003-2005 by the authors indicated in the @author tags.

 * All Rights are Reserved by the various authors.

 *

########## DO NOT EDIT ABOVE THIS LINE ########## */

  

Then all you have to do is type "header" and hit ctrl-space.

  

  

  

-- Robert Simmons Jr.

-- Senior Software Architect, Consultant

  

Author of "Hardcore Java", Published by O'Reilly, ISBN: 0-596-00568-7,
http://www.oreilly.com/catalog/hardcorejv

  

 

-- 
McClain Looney
m@loonsoft.com
Received on Sat Sep 25 10:03:31 2004

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.