Just to be clear. JCS can also do this. You can also just override any property by defining the key in the system properties. This allows you to effect a change without manipulating the properties file.
So, there are 2 ways to get system properties into the configuration. 1. Put the name of the property inside the delimiters. jcs.default=indexedDiskCache jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttribut es jcs.default.cacheattributes.MaxObjects=${MY_SYSTEM_PROPERTY_MAX_SIZE} jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory .lru.LRUMemoryCache This will set the memory size to the value of the property MY_SYSTEM_PROPERTY_MAX_SIZE 2. Add the entire name value pair to as a system property. JCS will see if any key is also a system property. If so, it will use the value defined in the system property. "-Djcs.default.cacheattributes.MaxObjects=123456" > -----Original Message----- > From: Alistair Forbes [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 09, 2006 5:38 PM > To: JCS Users List > Subject: Re: Failed to delete IndexedDisk cache. > > In log4j the config file accept paths like /tmp/${PROCESS} or /tmp/${ > user.home} - basically any predefined variable (using -D or standard java > define) can be used. Not sure if this exists for JCS, but would be a nice > feature. > > If it does not exist, maybe we can add this to the TODO list. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]