ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rees <>
Subject Re: [DISC] misc
Date Tue, 10 Apr 2001 03:14:03 GMT
On Mon, 2 Apr 2001 11:41:11 +1000 , Tim Vernum wrote:

>> >And I'd love to see things like <echo> and <fail> extended to support
>> >multiple messages, something like
>> >
>> ><fail>
>> >  <message lang="en">We need JMF to compile, please install 
>> it.</message>
>> >  <message lang="de">Bitte installieren Sie JMF.</message>
>> ></fail>
>> >
>> I would rather seen this done as the include of a sub-build file that
>> defines properties for the messages. For a given location they can
>> just swap messages.xml files. That is closer to how you would do it in
>> actual code as well.
>I would probably put them in a properties file, and it should be fairly
>simple to write a task that selects and loads the correct properties
>file based on the current locale.

I just figured staying in XML would be more consistent. Otherwise we
should use resources and the built-in Java i18n stuff.


View raw message