I tried to build Apache Tika 0.6 yesterday and I couldn’t build it because the tests failed. The failing tests were
testExcelParserFormatting(org.apache.tika.parser.microsoft.ExcelParserTest)
testExcelFormats(org.apache.tika.parser.microsoft.ooxml.OOXMLParserTest)
and the failure had to to with the fact that the locale was “es_ES” and the numbering format differs (“1.599,99” and not “1,599.99“)
$ mvn -version
Apache Maven 2.2.0 (r788681; [...]
October 1, 2009 – 8:14 am
To add a XJC task to a Netbeans build.xml you need to add a -pre-compile target to your build.xml. If it’s a netbeans module build.xml then you need to make compile depend on -pre-compile and projectized-common.compile (see example below). For regular Java Applications just define the -pre-compile target as the standard build.xml will call [...]
By ruben.laguna
|
Posted in netbeans
|
Also tagged build.xml, classes, classpath, compile, jaxb, netbeans, project, schema, target, taskdef, xjc, xml
|
September 16, 2009 – 7:50 am
In the build.xml of the project (likely this will be a Java Class Library project), override -post-compile or -pre-jar and invoke <openjpac/>. You will need to add the build/classes and the openjpa jars to <taskdef/> and <openjpac/>. The <openjpac/> will enhance all classes mentioned in persistence.xml (which has to be in the classpath)
<?xml version="1.0" [...]