Author: jleroux
Date: Tue Nov 13 02:18:11 2007
New Revision: 594468
URL:
http://svn.apache.org/viewvc?rev=594468&view=revLog:
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"/>