Daniel Leidert wrote:
> Nicolas Vervelle wrote:
>
>
>> Does someone know how to generate Java 1.1 classes when using the
>> gettext tools ?
>> I have JDK 1.5 installed, and every generated class is tagged as version
>> 5 (major 49) even if I specify --java on msgfmt command line.
>>
>
> Could you quote the exact command line(s) you used? And a maybe stupid
> question: But you really did check the _generated_ Java class? I mean,
> you checked, that the location where you searched for the generated
> classes is the location, where you put the Java 1.1 classes and not the
> location of maybe old Java 2 classes from an earlier msgfmt run?
>
The command line is in Ant (build-i18n.xml in Jmol/), it looks like this:
<exec executable="${gettext.msgfmt}" dir="${basedir}/${Jmol.po.dir}">
<arg value="--statistics"/>
<arg value="--java2"/>
<arg value="-l"/>
<arg value="${Jmol_lang_value}"/>
<arg value="-d"/>
<arg value="${basedir}/${classes.dir}"/>
<arg value="-r"/>
<arg value="org.jmol.translation.Jmol.Messages"/>
<arg value="${Jmol_lang_value}.po"/>
</exec>
I deleted the old classes and regenerated them.
I even changed "--java2" to "--java" and regenerated them: the classes
were completely different but still for JDK 1.5
Apparently, they were using only JDK 1.1 classes but the header says JDK
1.5 (major = 49).
Nico
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers