SVN and Eclipse - Keyword Substitution
Setting up keyword substitution in Eclipse:
Prerequisite: Subclipse or Subversive is installed
Configuring in Eclipse:
Adding svn tags to your source file:
Source file before check-in:
Source file after SVN commit
SVN keywords are now substituted when you commit your file(s).
References:
Prerequisite: Subclipse or Subversive is installed
Configuring in Eclipse:
- Right-click on your project
- Choose Team -> Set Property
- Enter the property name: svn:keywords
- Enter the text: Id Author Date Revision
- Check Set property recursively
- Click Ok
Adding svn tags to your source file:
Source file before check-in:
Source file after SVN commit
SVN keywords are now substituted when you commit your file(s).
References:
- http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.tour.revs.keywords
- http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html
- http://johnbokma.com/mexit/2008/09/30/subversion-svn-keywords-property.html
- http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/176
Comments
Post a Comment