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

[soham] Kim had mentioned to put this file in src\mifos\config ... Which I
am assuming is actually src\mifos\config\resources .. (And shouldn't the
current one checked in have the proper values)... But I am getting errors
launching mifos in tomcat. I will send details of this once I look more into
(need to verify if something I am doing is causing it). 


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

[soham] This worked!! 

Which is the better option? I am assuming the second one because it makes it
easier for MFIs to change the properties and they could just get the war
file and change the values they need. 




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


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

Reply via email to