[ 
https://issues.apache.org/jira/browse/OFBIZ-1700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670818#action_12670818
 ] 

Jacques Le Roux commented on OFBIZ-1700:
----------------------------------------

There is a problem with this approach : if the svninfo.ftl does not exist you 
get

Error rendering included template at location 
[component://bluelight/includes/footer.ftl]: 
java.lang.IllegalArgumentException: FreeMarker file not found at location: 
component://common/webcommon/includes/../../../../runtime/svninfo.ftl

Not sure how to test the file existence in footer.ftl ([I checked : no option 
in include|http://freemarker.org/docs/ref_directive_include.html])

> To show Current Revision number of OFBiz on its home site that will facilate 
> in testing and comparing things with a local copy of OFBiz 
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1700
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1700
>             Project: OFBiz
>          Issue Type: New Feature
>            Reporter: Vikas Mayur
>            Assignee: Jacques Le Roux
>         Attachments: about_app.zip, about_ss.JPG, screenshot1.png, 
> screenshot2.png, svninfo.patch, svninfo.patch, svninfo.patch, svninfo.patch, 
> svninfo.patch, svninfo_ss1.gif, svninfo_ss2.gif
>
>
>  We can put OFBiz Revision Number :
> 1) along with the Trunk and Release labels under Demo Sites section in OFBiz 
> home site (http://ofbiz.apache.org) . Refer to screenshot1
> 2) In the footer file. Refer to screenshot2 & a discussion started by Jacques 
> at http://www.nabble.com/Mention-of-version---in-release-to13078575.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to