ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doo...@apache.org
Subject svn commit: r585267 - in /ofbiz/trunk/framework: base/build.xml build.xml
Date Tue, 16 Oct 2007 21:31:21 GMT
Author: doogie
Date: Tue Oct 16 14:31:21 2007
New Revision: 585267

URL: http://svn.apache.org/viewvc?rev=585267&view=rev
Log:
Update ofbiz.jar at the top-level whenever framework/base is built.
Also, clean said file at the same time.  Based on patch from
https://issues.apache.org/jira/browse/OFBIZ-1283.

Modified:
    ofbiz/trunk/framework/base/build.xml
    ofbiz/trunk/framework/build.xml

Modified: ofbiz/trunk/framework/base/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/build.xml?rev=585267&r1=585266&r2=585267&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/build.xml (original)
+++ ofbiz/trunk/framework/base/build.xml Tue Oct 16 14:31:21 2007
@@ -49,6 +49,7 @@
 
     <target name="clean" depends="clean-lib">
         <delete dir="${build.dir}"/>
+        <delete file="../../ofbiz.jar"/>
     </target>
 
     <target name="clean-lib" depends="init">
@@ -117,6 +118,10 @@
     
     <target name="jar" depends="classes">
         <jar jarfile="${build.dir}/lib/ofbiz.jar" basedir="${build.dir}/classes/start"
manifest="${src.dir}/start/org/ofbiz/base/start/Start.mf"/>
+        <!-- copy the ofbiz.jar file -->
+        <copy todir="${basedir}/../..">
+            <fileset dir="${build.dir}/lib" includes="ofbiz.jar"/>
+        </copy>
         <jar jarfile="${build.dir}/lib/ofbiz-base.jar" basedir="${build.dir}/classes/base"/>
        
     </target>    
     

Modified: ofbiz/trunk/framework/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/build.xml?rev=585267&r1=585266&r2=585267&view=diff
==============================================================================
--- ofbiz/trunk/framework/build.xml (original)
+++ ofbiz/trunk/framework/build.xml Tue Oct 16 14:31:21 2007
@@ -115,7 +115,6 @@
         <subant target="clean">
             <filelist refid="framework-builds"/>
         </subant>
-        <delete file="ofbiz.jar"/>
         <echo message="[clean] ========== Done Cleaning Framework =========="/>
     </target>
 
@@ -133,11 +132,6 @@
         <subant inheritall="false">
             <filelist refid="framework-builds"/>
         </subant>
-
-        <!-- copy the ofbiz.jar file -->
-        <copy todir="${basedir}/..">
-            <fileset dir="base/build/lib" includes="ofbiz.jar"/>
-        </copy>
         
         <echo message="[build] ========== Done Building Framework (Compile) =========="/>
     </target>



Mime
View raw message