I have a Java project in an SVN repository with a bunch of .java files, each of these files has a license agreement checkbox at the top of the file (I have clients that have licensed the source and also launched the product).
Is there a good way to change / save the license text in one place, and not update all the source files manually if it changes?
Looking at some similar (but not identical) questions, it seems that SVN does not have this functionality out of the box - what other approaches would be most suitable?
Edit: Ideally, the solution will act as SVN keywords (Id, Author, etc.), and not as a solution for building time. The client also has access to the SVN repository, so it would be ideal if the license text was present in the version of the SVN file. I know SVN has commit triggers - what is an easy way to implement this?
Edit 2: Looking at the SVN hooks, it seems that what I would like to do is possible. I think the build process that can be started when the text changes is in order - because it will not change too often.
source
share