Author: jleroux
Date: Wed Jan 3 22:05:44 2007
New Revision: 492418
URL:
http://svn.apache.org/viewvc?view=rev&rev=492418Log:
A patch from Scott Gray "UtilCache - fileStore location incorrect" (
https://issues.apache.org/jira/browse/OFBIZ-590).
It was so obvious that in spite in framework I decided to commit it
Modified:
ofbiz/trunk/framework/base/config/cache.properties
ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/cache/UtilCache.java
Modified: ofbiz/trunk/framework/base/config/cache.properties
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/config/cache.properties?view=diff&rev=492418&r1=492417&r2=492418==============================================================================
--- ofbiz/trunk/framework/base/config/cache.properties (original)
+++ ofbiz/trunk/framework/base/config/cache.properties Wed Jan 3 22:05:44 2007
@@ -19,7 +19,7 @@
####
# Default Settings
-cache.file.store=data/utilcache
+cache.file.store=framework/data/utilcache
default.maxSize=0
default.expireTime=0
default.useSoftReference=false
@@ -86,4 +86,5 @@
template.ftl.location.expireTime=10000
ModelDataFile.expireTime=10000
+
Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/cache/UtilCache.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/cache/UtilCache.java?view=diff&rev=492418&r1=492417&r2=492418==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/cache/UtilCache.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/cache/UtilCache.java Wed Jan 3 22:05:44 2007
@@ -91,7 +91,7 @@
/** Specifies whether or not to use file base stored for this cache, defautls to false */
protected boolean useFileSystemStore = false;
- private String fileStore = "data/utilcache";
+ private String fileStore = "framework/data/utilcache";
/** The set of listeners to receive notifcations when items are modidfied(either delibrately or because they were expired). */
protected Set listeners = FastSet.newInstance();