How to configure your subversion client
In order to have keyword substitution work correctly for new Java files added to subversion, you need to follow these steps:
- Open your subversion configuration file in a text editor
- On windows the file is found here: %APPDATA%/Subversion/config
- On unix/mac/linux you will find it here: ~/.subversion/config
- Remove the comment (#) in front of: enable-auto-props = yes
- Add the following line in the [auto-props] section
*.java = svn:keywords=LastChangedDate !LastChangedRevision !LastChangedBy !HeadURL Id
This means that all new Java files, that are added to Subversion will have the
svn:keywords property set correctly.
If these keywords (e.g.
$!LastChangedBy:$) are used in JavaDoc, they will get substituted by subversion when committed.
Topic revision: r4 - 2007-07-22 - 13:56:24 -
TWikiGuest