First thing you could doing is added keyword to every file which you want:

for java or javascript you can added some script like this:

/**
* CLASS DESCRIPTION
*
*
* @version
*
* $Date: 2011-12-22 16:21:18 +0700 (Thu, 22 Dec 2011) $
* $Revision: 24 $
* $Author: user1 $
*/

and for file jsp you can added script like:

<%–
Revision Information:
$Date: 2011-12-21 16:21:04 +0700 (Wed, 21 Dec 2011) $
$Revision: 38622 $
$Author: user1   $
–%>

 

  1. Right-click on the source folder (src/main/java, for instance –> this is for default set all file under folder) or you can set file one by one. Choose Team -> Set Property
  2. In the “Enter a text property” box, enter (in my case) --> Revision Date Author
  3. Click OK.
  4. After doing this try to commit, and then you will find your file which using keywords will be filled by data from subversion.

 

Advertisements