[Contrib: Evaluation System] EVALSYS APP VERSION in admin page footer

Jim Eng jimeng at umich.edu
Thu Jun 2 10:14:45 PDT 2011


GB2 uses an ant-task in their build process to move a file containing the version info into a place where it can be accessed by the class loader.  

Jim

 
On Jun 2, 2011, at 12:57 PM, Jim Eng wrote:

> Three items are shown in the footer: EvalConstants.APP_VERSION, EvalConstants.SVN_REVISION and EvalConstants.SVN_LAST_UPDATE.  
> 
> The values of EvalConstants.SVN_REVISION and EvalConstants.SVN_LAST_UPDATE come from the svn metadata.  The value of EvalConstants.APP_VERSION is hard-coded.  We could change EvalConstants.APP_VERSION to show the svn URL, which includes the "version number" if it's a tag or branch, and the word "trunk" if it's trunk. Or the value could be set dynamically by parsing it out of that URL.  I will look to see if there's some other way of getting the app version from some reliable source.     
> 
> Jim
>  
> _______________________________________________
> evaluation mailing list
> evaluation at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/evaluation
> 
> TO UNSUBSCRIBE: send email to evaluation-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/evaluation/attachments/20110602/b1308fb8/attachment.html 


More information about the evaluation mailing list