Обсуждение: messages_*.class in CVS

Поиск
Список
Период
Сортировка

messages_*.class in CVS

От
Euler Taveira de Oliveira
Дата:
Hi,

I'm thinking about the messages_*.class that gettext just build after
msgfmt. Is it necessary in CVS? Every rebuild will change it and I
think it's a waste of time and disk updating it every time.
Comments?



=====
Euler Taveira de Oliveira
euler[at]yahoo_com_br





_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/

Re: messages_*.class in CVS

От
Kris Jurka
Дата:

On Thu, 14 Oct 2004, Euler Taveira de Oliveira wrote:

> Hi,
>
> I'm thinking about the messages_*.class that gettext just build after
> msgfmt. Is it necessary in CVS? Every rebuild will change it and I
> think it's a waste of time and disk updating it every time.
> Comments?
>

The decision to put the .class files in cvs was made to not require
everyone to have the gettext tools available to build the driver. As a
Java project the only things we require are a JDK and Ant.  The server is
a little different in that a nls enabled build has a runtime requirement
of the gettext library so it's reasonable to expect the gettext tools to
be available at build time.  For us, the produced .class files have no
runtime dependecies, so we don't want to add any build dependencies.
Also, the current translation updating script is a shell script which is
not exactly portable either.

Kris Jurka