I'm trying to put Java comments and I have used for that Java doc tamplate and STS tool : In STS I'm using that configuration in Java doc tamplate:-
/**
* Description:
* Name of Project: ${project_name}
* Created on: ${date} ${time}
* Modified on: ${date} ${time}
* @author ${user}
* Version: 1.0
* ${tags}
*/
Which displays the following on my Java file.
/**
* Description:
* Name of Project: CabFMS
* Created on: Oct 29, 2012 4:05:38 PM
* Modified on: Oct 29, 2012 4:05:38 PM
* @author tgupta1
* Version: 1.0
*/
Here, I want to update the version dynamically just like date
, time
, user
, project_name
etc.
Please suggest me, is there a way for that or we need to do it manually?