[
http://mifosforge.jira.com/browse/MIFOS-4557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=64821#action_64821
]
Stanley Kwok commented on MIFOS-4557:
-------------------------------------
Setting cacheSeconds to 0 without fudging basenames appears to be working. I
was able to change a message and see the new change after a page reload.
<!-- uncomment to enable automatic reloading of messages
<property name="cacheSeconds" value="0" />
-->
Is this viable? Asking developer to uncomment this line if they want instant
message loading to work? It would be nice if there is a way to hook this into
workspace jetty server.
> 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.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
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