Thx Martin,
it is the same approach that I quickly tried but what was not clear to
me, is if I have to run this myself or if the class is run by the mvn
build process. In case I run it myself as it stands I get the
following error "render\src\main not found or is not a directory.".

Hoping on some more input prior to dig again...


Ciao,
Simone.

On Feb 5, 2008 9:44 PM, Martin Desruisseaux
<[EMAIL PROTECTED]> wrote:
> Simone Giannecchini a écrit :
> > I am playig around with the internationalization classes in geotools.
> > I have a few quick questions for you :-)
> >
> > is there any doc available on thir internal machinery
>
> I never documented GeoTools IndexResourceBundle because I though that it would
> be temporary. This class lives in org.geotools.resources (our non-commited
> package for internal stuff) on purpose. In the Java 2 days, the javadoc in
> java.util.ResourceBundle said that they would improve resources bundles, so I
> waited. In Java 6 it appears that an improvement landed in the form of
> ResourceBundle.Control:
>
> http://java.sun.com/javase/6/docs/api/java/util/ResourceBundle.Control.html
>
> Unfortunatly we are not yet allowed to use Java 6 in GeoTools...
>
>
> > would it be possible to have the message files distributed on a per
> > module base instead of the actual centralized approach? I have managed
> > to do something like it but I am having troubles with the utf files
> > generation.
>
> You can duplicate what is done there (for UTF generation, look at 
> Compiler.java.
> It is small).
>
> https://seagis.svn.sourceforge.net/svnroot/seagis/trunk/postgrid/src/main/java/net/seagis/resources/i18n
>
> But all this stuff is bad, uncommited API. I just never had the time to do
> something better, was waiting for Sun improvement in ResourceBundle and now
> waiting for authorisation to target Java 6 in GeoTools...
>
>        Martin
>
>



-- 
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041  Camaiore (LU)
Italy

phone: +39 0584983027
fax:      +39 0584983027
mob:    +39 333 8128928


http://www.geo-solutions.it

-------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to