Also, Jukka, if you know how to exclude the tests based on the JDK version, please let me know as I've never done that before. I found the codehaus animal sniffer plugin [1], which looks like it might do the trick, but not sure exactly how...
Cheers, Chris [1] http://mojo.codehaus.org/animal-sniffer-maven-plugin/ On 10/31/10 8:38 PM, "Mattmann, Chris A (388J)" <[email protected]> wrote: Sigh, I take that back. There is some existing jar file that the build for NetCDF includes that is pre-compiled to Java6. I think that's the class files that are giving us trouble since the output of the netcdf build is a JDK5 jar (generated from Ant with -target set to 1.5). Anyone know of a good way to retrotranslate a jar full of JDK6 and JDK5 classes to only be a jar full of JDK5 classes? Cheers, Chris On 10/31/10 7:38 PM, "Mattmann, Chris A (388J)" <[email protected]> wrote: Hey Jukka, NP, I'll fix this. I can push the Java5 version to replace the Java6 version at Maven Central. One sec, and I'll fix it. Cheers, Chris On 10/31/10 6:16 PM, "Jukka Zitting" <[email protected]> wrote: Hi, On Mon, Nov 1, 2010 at 3:03 AM, Apache Hudson Server <[email protected]> wrote: > See <https://hudson.apache.org/hudson/job/Tika-trunk/changes> That's a "java.lang.UnsupportedClassVersionError: Bad version number in .class file" error caused by the new NetCDF jar. It's apparently compiled for Java 6 or higher, which causes problems for our Java 5 CI build. As a quick fix I'd just make the NetCDF tests conditional on the JVM version, but a better solution would be to ask the NetCDF team to release a Java 5 version of the library. I don't think the time is right yet for upgrading Tika's platform requirement from Java 5 to 6. BR, Jukka Zitting ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
