[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] msgfmt and Java Compiler on Windows

From: Daiki Ueno
Subject: Re: [bug-gettext] msgfmt and Java Compiler on Windows
Date: Fri, 20 Sep 2013 08:42:34 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Simon Martinelli <address@hidden> writes:

> With verbose:
> c:\workspaces\proshop\ProShopTranslation>msgfmt --verbose --java2 -d generated
> -r Messages -l fr po/fr/LC_MESSAGES/messages.po
> msgfmt: Java compiler not found, try installing gcj or set $JAVAC
> msgfmt: compilation of Java class failed, please try to set $JAVAC
> 1193 translated messages, 1 fuzzy translation, 63 untranslated messages.
> That's strange because javac is on the PATH.

It looks even more strange that no error message sent to stderr nor
command-line is shown.  On GNU/Linux, I get:

  $ msgfmt --verbose --java2 -d . -l fr gettext-runtime/po/fr.po
  CLASSPATH= gcj -C '-fsource=1.3' '-ftarget=1.1' -O -d . 
  38 translated messages, 3 fuzzy translations.

But I could reproduced the problem on wine.  Maybe it is failing during
the compatibility check of javac, not at the stage of generating Java
source files.  I'll look into it, but any help from Windows experts
would be appreciated.

> One thing that I don't get with gettext and Java is why are there no
> Java source files generated? It would be much more handy to have the
> source files instead of the compiled code because I have to put the
> class files in a special place that the build or Eclipse does not
> delete them.

Sounds like a good idea.

Daiki Ueno

reply via email to

[Prev in Thread] Current Thread [Next in Thread]