You can do something similar.  You can just define the entire disk cache
property as a system property.  

For example, if your disk cache was called DC, you could do this:

"-Djcs.auxiliary.DC.attributes.DiskPath=target/myspecialdir"

Or

"-Djcs.auxiliary.DC.attributes.DiskPath=${MYDIRVARIABLE}"



> -----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]

Reply via email to