svn commit: r594050 - /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: r594050 - /ofbiz/trunk/build.xml

jleroux@apache.org
Author: jleroux
Date: Mon Nov 12 00:41:21 2007
New Revision: 594050

URL: http://svn.apache.org/viewvc?rev=594050&view=rev
Log:
Clean the utilcache file else POS shows errors, more a hack than a definitive solution

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=594050&r1=594049&r2=594050&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Mon Nov 12 00:41:21 2007
@@ -110,6 +110,18 @@
     <target name="build">
         <echo message="[build] ========== Start Building (Compile) =========="/>
 
+        <!-- ================================================================== -->
+        <!-- Clean the utilcache file else POS shows errors like                -->
+        <!-- org.ofbiz.base.util.cache.CacheLine; local class incompatible:     -->
+        <!-- stream classdesc serialVersionUID = -1660410335854090898,          -->
+        <!-- local class serialVersionUID = -7035478304991053884                -->
+        <!--           More a hack than a definitive solution                   -->
+        <!-- ================================================================== -->
+        
+        <property file="framework/base/config/cache.properties"/>
+        <echo message="NOTICE: deleting ${cache.file.store}.db"/>
+        <delete file="${cache.file.store}.db" verbose="true"/>
+
         <subant inheritall="false">
             <filelist dir="." files="framework/build.xml"/>
         </subant>