Author: jleroux
Date: Fri Feb 6 10:33:22 2009 New Revision: 741514 URL: http://svn.apache.org/viewvc?rev=741514&view=rev Log: (empty) Modified: ofbiz/trunk/build.xml ofbiz/trunk/framework/common/webcommon/includes/footer.ftl ofbiz/trunk/runtime/ (props changed) Modified: ofbiz/trunk/build.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=741514&r1=741513&r2=741514&view=diff ============================================================================== --- ofbiz/trunk/build.xml (original) +++ ofbiz/trunk/build.xml Fri Feb 6 10:33:22 2009 @@ -116,6 +116,26 @@ <echo message="[clean] ========== Done Cleaning =========="/> </target> + <target name="svninfo"> + <echo message="Creating svninfo..."/> + <exec executable="svn" dir="." output="runtime/svninfo_tmp.xml"> + <arg value="info"/> + <arg value="--xml"/> + </exec> + <xmlproperty file="runtime/svninfo_tmp.xml"/> + <echo message="Rev:${info.entry(revision)}"/> + <basename property="releasePath" file="${info.entry.url}"/> + <echo message="Rev: - ${releasePath} ${info.entry(revision)}" file="runtime/svninfo.ftl"/> + <delete file="runtime/svninfo_tmp.xml"/> + <echo message="Done!"/> + </target> + + <target name="svninfo-clean"> + <echo message="Deleting svninfo..."/> + <echo message="" file="runtime/svninfo.ftl"/> + <echo message="Done!"/> + </target> + <!-- ================================================================== --> <!-- Build Components --> <!-- ================================================================== --> @@ -138,6 +158,7 @@ <include name="**/build.xml"/> </fileset> </subant> + <antcall target="svninfo-clean"></antcall> <echo message="[build] ========== Done Building (Compile) =========="/> </target> Modified: ofbiz/trunk/framework/common/webcommon/includes/footer.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/footer.ftl?rev=741514&r1=741513&r2=741514&view=diff ============================================================================== --- ofbiz/trunk/framework/common/webcommon/includes/footer.ftl (original) +++ ofbiz/trunk/framework/common/webcommon/includes/footer.ftl Fri Feb 6 10:33:22 2009 @@ -61,7 +61,7 @@ <p><a href="http://jigsaw.w3.org/css-validator/"><img src="<@ofbizContentUrl>/images/vcss.gif</@ofbizContentUrl>" alt="Valid CSS!"/></a> <a href="http://validator.w3.org/check?uri=referer"><img src="<@ofbizContentUrl>/images/valid-xhtml10.png</@ofbizContentUrl>" alt="Valid XHTML 1.0!"/></a></p> <p>Copyright (c) 2001-${nowTimestamp?string("yyyy")} The Apache Software Foundation - <a href="http://www.apache.org" target="_blank">www.apache.org</a><br /> - Powered by <a href="http://ofbiz.apache.org" target="_blank">Apache OFBiz</a></p> + Powered by <a href="http://ofbiz.apache.org" target="_blank">Apache OFBiz</a> <#include "../../../../runtime/svninfo.ftl" /></p> </div> <#if layoutSettings.VT_FTR_JAVASCRIPT?has_content> <#list layoutSettings.VT_FTR_JAVASCRIPT as javaScript> Propchange: ofbiz/trunk/runtime/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Fri Feb 6 10:33:22 2009 @@ -1 +1,2 @@ jetty +svninfo.ftl |
Free forum by Nabble | Edit this page |