is there any way to modify Javadocs @version value and add revision number of the file automaticly on SVN repository?
example template
@version $v rev. $rev
and output
@version v2.1 rev. 74321
update:
i want to add revision numbers and “maybe” if it would be possible, tag-names as versions
You can use Subversion keyword substitution to substitute the revision number. For instance:
However, you’ll need to set the
svn:keywordsproperty on each of the files for which you want to do that expansion. e.g.: