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

Re: Adding license text to files

From: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Thu, 11 Aug 2011 09:34:13 +0200

Guten Tag Jason Aubrey,
am Mittwoch, 10. August 2011 um 18:06 schrieben Sie:

> I'd like to use keyword substitution or something like it to
> automatically append/update license information in a large collection
> of files. In other words, I'd like the licensing information to be a
> property of the file, but also appear as text in the file. I can do
> the former with properties, but can't see how to do the latter in some
> automatic easy way. (Also, ideally, the license text in the file would
> come from the property on the file. )

As already said, this is not possible without doing on your own, but
besides that, what's the benefit of having the license text as a
property on each file, which gets substituted into the file, over
having the text directly versioned in the file? If I understand you
right, you would have to change the property of each file for changing
the license text which doesn't seem easier that replacing the text
directly in the file with some text replacement tool. In my opinion
the property approach is even less handy because you don't have things
like blame and diffs where you can see who changed what line of the
license and why.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoening_at_am-soft.de
Web:     http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
Received on 2011-08-11 09:34:59 CEST

This is an archived mail posted to the Subversion Users mailing list.

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