I checked out the latest default.properties and see the following lines

AccountingRules.CurrencyCode=INR
AccountingRules.DigitsAfterDecimal=1
AccountingRules.DigitsBeforeDecimal=7
AccountingRules.DigitsAfterDecimalForInterest=5
AccountingRules.DigitsBeforeDecimalForInterest=10
AccountingRules.MaxInterest=999
AccountingRules.MinInterest=0 

However based on previous conversation I was expecting to see something like

AccountingRules.RoundingRule=CEILING
AccountingRules.DigitsAfterDecimal=0
AccountingRules.AmountToBeRoundedTo=1


Has something changed? Now when I created a custom.properties (and added to
the resource)  added the above lines it does not round as I would expect.

 

>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On 
>Behalf Of Adam Monsen
>Sent: Thursday, January 17, 2008 2:04 AM
>To: Mifos Developer Mailing List
>Subject: SPAM-LOW: Re: [Mifos-developer] Rounding Rules Questions
>
>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/


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