dev@glassfish.java.net

Re: message catalog synchronization

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Wed, 15 Jul 2009 20:32:04 -0700

Frank,

I like your approach. I think it's similar to Ken's approach, but was
simpler to understand.

What are the maven artifact details for this functionality in case we want
to try it out? Or do we have to use maven-ant-plugin?

-Kedar

PS - Bill it was a good requirement to think about!

Frank Kieviet wrote:
> Hi Bill,
>
> In most of the components in OpenESB we use a tool that reads the strings
> from the Java files and puts them in resource bundles. This avoids
> synchronization issues automatically. It also makes reading the sources
> easier and while reading the sources, it's easier to detect problems where
> the arguments don't match the messages.
>
> We've integrated this tool into our Maven builds.
>
> See <
> http://blogs.sun.com/fkieviet/entry/server_side_internationaliation_made_eas
> y> for more info.
>
> HTH,
> Frank
>
>
>> -----Original Message-----
>> From: dev-return-13444-frank.kieviet=sun.com_at_glassfish.dev.java.net
>> [mailto:dev-return-13444-frank.kieviet=sun.com_at_glassfish.dev.java.net] On
>> Behalf Of Bill Shannon
>> Sent: Wednesday, July 15, 2009 14:53
>> To: dev_at_glassfish.dev.java.net
>> Subject: message catalog synchronization
>>
>> Does anyone have any tools or techniques for keeping message catalogs
>> (LocalStrings.properties) synchronized with the code that uses them?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>