Hello,
I need to put versions of my software in my jsp pages. Can I do it trough XML files? Can Subversion record this in files that has been versioned?
thankful
Daniel Alves da Fonseca Maciel
Hello,
I need to put versions of my software in my jsp pages. Can I do it trough XML files? Can Subversion record this in files that has been versioned?
thankful
Daniel Alves da Fonseca Maciel
Subversion keyword substitution might do the trick, for example, add something similar to in each of your jsps:
<!--
$LastChangedDate$
$Rev$
-->
Then everytime you commit, svn should replace the $keywords$ with the appropriate value. See the svnbook for more details.
Thanks Dave.
I´ll do the tests. This value will show through comments or at page?
To create version number that is same across all the JSP pages.
svnversion -c trunk > version.txt
version.txt
with your web application (inside .war file).version.txt
file