Nick, have a look at
http://castor.exolab.org/conf-lib.html which essentially tells you that you can place a second castor.properties anywhere on your classpath to override any settings of the one stored within the JAR file. I hope this is what you've been looking for .. ;-9. Wernrer On Thu, 17 Jun 2004 08:36:34 -0400, Nick Stuart wrote: >I was just wondering if there would be an easier way to setup Castor so >that people could configure it from outside the jar. I find that it can >be a little annoying (all though not all that difficult) to open up the >jar file, edit the properties file, and then repackage it or update it. > >If there is a way to do this just yell at me. :) But my idea was to >possibly setup up an external properties file that would get read in >first. And any properties in it would override what ever is in the >internal one. (Kind of like how Ant does it currently). Currently I'm >not sure how castor reads the property file and uses it, i.e.. Does it >read it in all at once, or only when it needs to find out a setting when >running. Guess I'll have to take a look at this, if it's the first case >I would imagine this change wouldn't be all that difficult, if it's the >second I'm not sure what would be involved. > >-Nick > > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
