You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by Timo Boehme <ti...@ontochem.com> on 2010/02/11 11:44:13 UTC

maven build depends on en locale

Building tika 0.6 with "mvn install" failed for test cases
org.apache.tika.parser.microsoft.ExcelParserTest and
org.apache.tika.parser.microsoft.ooxml.OOXMLParserTest.
Thus tika-parsers-06.jar etc. were not build.

The reason is the system locale which in my case was not explicitly set
and defaults to "de" (',' instead of '.' in Excel spreadsheet etc.).
Setting locale to en_EN resolves the issue.

Until JIRA TIKA-371 is resolved (which would allow to set locale
explicitly in test cases) at least a hint should be written on
http://lucene.apache.org/tika/0.6/gettingstarted.html (and in README.txt).


-- Timo

 Timo Boehme
 OntoChem GmbH
 H.-Damerow-Str. 4
 06120 Halle/Saale
 T: +49 345 4780472
 F: +49 345 4780471
 timo.boehme@ontochem.com

_____________________________________________________________________

 OntoChem GmbH
 Geschäftsführer: Dr. Lutz Weber
 Sitz: Halle / Saale
 Registergericht: Stendal
 Registernummer: HRB 215461
_____________________________________________________________________