ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Edson Alves Pereira)
Subject Default messages
Date Wed, 21 Nov 2001 19:57:45 GMT
  There´re some places in Ant´s source that frases are hardcoded, i think that is better
to create a main objeto to store messages to show to the user. Like:

if (srcFile.lastModified() > now)
  log("Warning: file modified in the future: " +
      files[i], Project.MSG_WARN);

to something like this:

if (srcFile.lastModified() > now)
  log( JSysMsg.getMsg( JSysMsg.MODIFIED_FUTURE ),
      files[i], Project.MSG_WARN );

  Maybe with that stuff we could make Ant multi language! Tell me what do you think!

  With best wishes,
  Edson Alves Pereira
Better well done than well said.
To follow the path:
look to the master,
follow the master,
walk with the master,
see through the master,
become the master.

Modern Zen poem

Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience
of buying online with Shop@Netscape!

Get your own FREE, personal Netscape Mail account today at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message