[
http://mifosforge.jira.com/browse/MIFOS-4557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Monsen updated MIFOS-4557:
-------------------------------
Description:
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).
Attachment: instant_bundle_reloads.patch
> 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: Adam Monsen
> Fix For: Elsie F
>
> 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
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues