ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Vernum <Tim.Ver...@macquarie.com.au>
Subject RE: [DISC] misc
Date Mon, 02 Apr 2001 01:41:11 GMT
> >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.


Mime
View raw message