[
http://mifosforge.jira.com/browse/MIFOS-4557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=65091#comment-65091
]
Mifos Hudson Jira Plugin User commented on MIFOS-4557:
------------------------------------------------------
Integrated in !http://ci.mifos.org/hudson/images/16x16/blue.png! [head-master
#2894|http://ci.mifos.org/hudson/job/head-master/2894/]
MIFOS-4557: enable instant reloading of messages in resource bundles.
Simply define a new property "i18.messages.cacheSeconds" in local.properties
with a value of 0. The default value (-1) will cache messages forever.
MIFOS-4557: fixed broken test. messageSourceBean.xml has a placeholder for
cacheSeconds which is defined in propertyConfigurer.xml
Stanley Kwok :
[97440632438dab87151b3312f608f42e075e852c|http://mifos.git.sourceforge.net/git/gitweb.cgi?p=mifos/head&a=commit&h=97440632438dab87151b3312f608f42e075e852c]
Files :
* appdomain/src/main/resources/org/mifos/config/resources/messageSourceBean.xml
* appdomain/src/main/resources/org/mifos/config/resources/i18n.properties
* appdomain/src/main/resources/org/mifos/config/resources/propertyConfigurer.xml
Stanley Kwok :
[232719a3a10e9a5935b2c7a20a64b08361c512f7|http://mifos.git.sourceforge.net/git/gitweb.cgi?p=mifos/head&a=commit&h=232719a3a10e9a5935b2c7a20a64b08361c512f7]
Files :
*
application/src/test/java/org/mifos/application/master/business/CustomFieldDefinitionEntityTest.java
> Enable instant reloading of messages in resource bundles
> --------------------------------------------------------
>
> Key: MIFOS-4557
> URL: http://mifosforge.jira.com/browse/MIFOS-4557
> Project: mifos
> Issue Type: Dev Task
> Reporter: Adam Monsen
> Assignee: Stanley Kwok
> Fix For: Release G - Iteration 1, Release G
>
> Attachments: instant_bundle_reloads.patch
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> I was able to get on-the-fly reloading of messages in resource bundles
> working by applying the attached hack. It's not fit for prod (since it uses
> an absolute path) but we might be able to get reloading working during
> development.
> We're already using
> [ReloadableResourceBundleMessageSource|http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/context/support/ReloadableResourceBundleMessageSource.html]
> (we need to because we have UTF-8 Java properties resource bundles), so by
> changing the configuration for this class, i18n work is easier and faster.
> Maybe we could parameterize the message bundle basenames, and only have
> cacheSeconds=0 during development (-1 otherwise).
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues