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

jleroux@apache.org
Author: jleroux
Date: Tue Nov 13 02:18:11 2007
New Revision: 594468

URL: http://svn.apache.org/viewvc?rev=594468&view=rev
Log:
Remove the utilcache file else POS shows errors, more a hack than a definitive solution
Used in clean task only

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=594468&r1=594467&r2=594468&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Tue Nov 13 02:18:11 2007
@@ -85,6 +85,19 @@
     </target>
 
     <target name="clean">
+    
+        <!-- ================================================================== -->
+        <!-- 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 target="clean">
             <fileset dir="${basedir}/hot-deploy" casesensitive="no">
                 <include name="**/build.xml"/>