svn commit: r744841 - /ofbiz/trunk/build.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r744841 - /ofbiz/trunk/build.xml

jleroux@apache.org
Author: jleroux
Date: Mon Feb 16 07:49:40 2009
New Revision: 744841

URL: http://svn.apache.org/viewvc?rev=744841&view=rev
Log:
A slightly patch from Bruno Busco "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." (https://issues.apache.org/jira/browse/OFBIZ-1700) - OFBIZ-1700
I changed the label from Release and revision to Release.revision (no translation needed)
I removed also depends on build from run-pos

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=744841&r1=744840&r2=744841&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Mon Feb 16 07:49:40 2009
@@ -125,14 +125,14 @@
         <xmlproperty file="runtime/svninfo_tmp.xml"/>
         <echo message="Rev:${info.entry(revision)}"/>
         <basename property="releasePath" file="${info.entry.url}"/>
-        <echo message=" - Release and revision : ${releasePath} ${info.entry(revision)}" file="runtime/svninfo.ftl"/>
+        <echo message=" - Release.revision : ${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"/>
+    <target name="clean-svninfo">
+        <echo message="Resetting svninfo..."/>
+        <echo message=" " file="runtime/svninfo.ftl"/>
         <echo message="Done!"/>
     </target>
     
@@ -158,7 +158,7 @@
                 <include name="**/build.xml"/>
             </fileset>
         </subant>
-        <antcall target="svninfo-clean"></antcall>      
+        <antcall target="clean-svninfo"></antcall>      
         
         <echo message="[build] ========== Done Building (Compile) =========="/>
     </target>
@@ -276,13 +276,13 @@
     <!-- Start OFBiz                                                        -->
     <!-- ================================================================== -->
 
-    <target name="run" depends="build">
+    <target name="run">
         <java jar="ofbiz.jar" fork="true">
             <jvmarg value="${memory.initial.param}"/>
             <jvmarg value="${memory.max.param}"/>
         </java>
     </target>
-    <target name="run-pos" depends="build">
+    <target name="run-pos">
         <java jar="ofbiz.jar" fork="true">
             <jvmarg value="${memory.initial.param}"/>
             <jvmarg value="${memory.max.param}"/>