(Some?) pages of the treebase-dev site should contain a timestamp of the build (ex. Version: 2.2.1 Built: 03/26/2010 12:43 PM ), as an indication what version is being run on a given instance. Ideally, this should include source code version from SVN.
To make the timestamp invisible on production, there are a couple options:
- Put it inside an <!-- --> HTML comment.
- Make it's JSP rendering conditional depending on the value of the parameter like amIProduction that comes from Tomcat via JNDI.
From: rutgeraldo@gmail.com
Subject: Re: [Treebase-devel] Is TreeBASE down?
Date: March 29, 2010 6:00:48 PM EDT
To: vladimir.gapeyev@duke.edu
Cc: treebase-devel@lists.sourceforge.net
If you look in the html source of any page and you scroll all the way
down to 'p class="footerLogo"' it will show the SVN revision of that
deployment. At least, this used to work back when MJD and I were using
the 'publish' script, which used
${TREEBASE_HOME}/treebase-core/src/main/java/org/cipres/treebase/Version.java
as a little servlet to embed the SVN revision in the footer.jsp (this
is done by deleting and then updating this version file). Perhaps this
can be re-instated?