On Wed, 2008-01-16 at 11:56 -0800, Kimloan Ho wrote: > Hi Soham, > I would like to correct the error I made when I sent > you the file, which is the > application.default.properties should never be changed > and if you want to set new values you should do it in > the application.custom.properties. Thank you, Van and > Adam, for reminding me of this. Sorry about that, > Soham. > So depends on what revision of the source code you > have you should get the application.default.properties > that goes with it and you can make a copy of it, > rename it to application.custom.properties and put > your new values in. We will look into what you report > and see why that happens. Thank you.
Just wanted to make a clarification... The application-wide configuration file is called applicationConfiguration.default.properties. The copy for custom settings should be called applicationConfiguration.custom.properties. applicationConfiguration.custom.properties need only contain the particular key/value pairs you wish to override in the default config. I believe applicationConfiguration.custom.properties can be placed anywhere in your classpath. If you normally build from source, placing this file in the same directory as applicationConfiguration.default.properties will cause the built war to include the file, which works. However, a better option (for Tomcat users) is simply to place the file in CATALINA_HOME/shared/classes/. I haven't tried this but it should work (Soham or Kim, would you mind trying this?). I'm not sure where it should be placed for other application servers. -- Adam Monsen ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
