How to automatically add SVN commit messages and revision numbering to java file?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-04-04T00:17:01Z Indexed on 2010/04/04 0:23 UTC
Read the original article Hit count: 591

Filed under:
|
|
|
|

I'm working on an Apache Wicket project in Eclipse with Maven2 -- my SCM is Subversion. I've got Subclipse set up which I use to commit changes to the repository.

I've seen several projects with nice headers containing the current revision number and at the bottom of the java source file there's a list of all the changes that have been committed to the file including the comments that were passed.

Is there any way of achieving this sort of behaviour automatically? At work I'm using MKS which does this automatically but I am yet to figure out how to achieve this with SVN and Eclipse.

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse