On Feb 6, 2008 10:44 AM, Martin Desruisseaux <[EMAIL PROTECTED]> wrote: > Simone Giannecchini a écrit : > > 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.". > > Unfortunatly it is not yet part of any mvn build process, which is why the UTF > files are commited on SVN. I would have liked to get them generated by Maven > so > we could remove them from SVN, but never got the time...
Cool, I could probably help out with that once I finish this task. I just wanted to make sure that I was right on this since I was not able to find any ant task to create the files directly. > > We have to run it ourself, which is an other reason why I never made > IndexResourceBundle publicly visible - I though that it was too > inconvenient... You are too cautious :-) > > Before to run, we must "chdir" in the directory that contains > "render/src/main" > if you run from the command line. If you run from NetBeans, then make sure > that > the home directory in project properties (right click on the project, > "Properties", "Run") is the directory that contains "render/src/main". On > Eclipse I don't know... I fixed the thing for eclipse, so now resources are compiled. My question now is how to collect the messages from outside org.geotools.resources.i18n. The class Errors hardcodes the Class object it uses to load the resource bundle hence from wherever you call it it look into org.geotools.resources.i18n subdir. Am I right? My goal is to be able to load Errors from wherever I am... Ciao, Simone. > > 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
