>The default way forces you to >embed your config files inside your jars, and we want to be able to >configure our software without bing forced to recompile it to do so.
you don't need to have your config in a jar the file just needs to be on the path. >but there is no clear way from there to arrive at a JCS object. you use the JCS object as you would normally do post config of the composite cache manager you will still need to know the region name to get your instance -----Original Message----- From: Graham Leggett [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 11:23 AM To: jcs-users@jakarta.apache.org Subject: Configuring JCS with your own properties Hi all, I have been trying to find a way to convince JCS v1.3 to initialise the JCS object using user provided properties. The default way forces you to embed your config files inside your jars, and we want to be able to configure our software without bing forced to recompile it to do so. So far we have found this entry in the FAQ: http://jakarta.apache.org/jcs/faq.html#manual-configuration The trouble is this faq entry only answers half the question. It shows you how to create a CompositeCacheManager object, but there is no clear way from there to arrive at a JCS object. Does anyone have a quick piece of code to explain how this might be done? Regards, Graham -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]