[ 
https://issues.apache.org/jira/browse/OFBIZ-1700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Busco updated OFBIZ-1700:
-------------------------------

    Attachment: svninfo.patch

A very simple solution could be the following: (implemented in the attached 
"svninfo.patch")

The footer.ftl includes a link to an external file (/images/svninfo.txt).
This file is generated with a new ant task that can be run with "ant svninfo". 
The ant task uses the "svn info" command and captures the output.

In the patch there is a default svninfo.txt file that should be committed that 
contains the following:
-----------------------
**** SVN info not present !!! ****
**** Please run "ant svninfo" ****
-----------------------

When the ant task is run it is overwritten and the correct svn information are 
displayed as follows:
-----------------------
Percorso: .
URL: http://svn.apache.org/repos/asf/ofbiz/trunk
Repository: http://svn.apache.org/repos/asf
UUID del Repository: 13f79535-47bb-0310-9956-ffa450edef68
Revisione: 634426
Tipo di Nodo: directory
Azione: normale
Autore dell'Ultimo Cambiamento: chrisg
Revisione dell'Ultimo Cambiamento: 634226
Data dell'Ultimo Cambiamento: 2008-03-06 12:33:26 +0100 (gio, 06 mar 2008)
-----------------------

The best would be IMHO to have the additional link in the footer only if a 
configuration property is set so that could be disabled for production 
installations.

> 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
>         Attachments: screenshot1.png, screenshot2.png, svninfo.patch
>
>
>  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