You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by Apache Hudson Server <hu...@hudson.apache.org> on 2010/11/01 02:03:43 UTC

Hudson build is still unstable: Tika-trunk #395

See <https://hudson.apache.org/hudson/job/Tika-trunk/changes>



Hudson build is back to stable : Tika-trunk #398

Posted by Apache Hudson Server <hu...@hudson.apache.org>.
See <https://hudson.apache.org/hudson/job/Tika-trunk/398/changes>



Hudson build is still unstable: Tika-trunk #397

Posted by Apache Hudson Server <hu...@hudson.apache.org>.
See <https://hudson.apache.org/hudson/job/Tika-trunk/changes>



Hudson build is still unstable: Tika-trunk #396

Posted by Apache Hudson Server <hu...@hudson.apache.org>.
See <https://hudson.apache.org/hudson/job/Tika-trunk/changes>



Java 6 (Was: Hudson build is still unstable: Tika-trunk #395)

Posted by Jukka Zitting <jz...@adobe.com>.
Hi,

From: Paul Jakubik: 
> On Sun, Oct 31, 2010 at 8:16 PM, Jukka Zitting wrote:
> > I don't think the time is right yet for upgrading Tika's platform
> > requirement from Java 5 to 6.
>
> Java 6 has been out for almost 4 years (
> http://en.wikipedia.org/wiki/Java_version_history). When will
> it be the right time to require Java 6?

Hmm, my comment above doesn't really reflect my thinking on this too well. I'll clarify.

Basically, Java 6 doesn't offer much new functionality to libraries like Tika (its main benefits are in things like performance and stability, which are more deployment than development concerns), so the benefits of upgrading from Java 5 to 6 are fairly low. Even this particular case with NetCDF is probably just due to a missing or misdefined -target option rather than a hard dependency to some new Java 6 feature that's not available in Java 5.

Thus even if I personally wouldn't recommend anyone to be running Java 5 in production anymore, given the low cost of Java 5 support and the fact that many deployments are very conservative when it comes to JVM upgrades, it's in our best interest to keep supporting Java 5 as the base platform for now.

It looks like Java 7 (which thanks to Oracle seems to be coming out of the vaporware category) will again be a more attractive version language-wise, so I'd be inclined to stick with Java 5 until at least about 2012 and consider an upgrade directly to Java 7 in something like Tika 2.0 or 3.0.

BR,

Jukka Zitting

Re: Hudson build is still unstable: Tika-trunk #395

Posted by Paul Jakubik <pa...@purediscovery.com>.
On Sun, Oct 31, 2010 at 8:16 PM, Jukka Zitting <ju...@gmail.com>wrote:

> I don't think the time is right yet for upgrading Tika's platform
> requirement from Java 5 to 6.
>
>
Java 6 has been out for almost 4 years (
http://en.wikipedia.org/wiki/Java_version_history). When will it be the
right time to require Java 6?

Paul

Re: Hudson build is still unstable: Tika-trunk #395

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
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)" <ch...@jpl.nasa.gov> 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)" <ch...@jpl.nasa.gov> 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" <ju...@gmail.com> wrote:

Hi,

On Mon, Nov 1, 2010 at 3:03 AM, Apache Hudson Server
<hu...@hudson.apache.org> 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: Chris.Mattmann@jpl.nasa.gov
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: Chris.Mattmann@jpl.nasa.gov
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: Chris.Mattmann@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Hudson build is still unstable: Tika-trunk #395

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
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)" <ch...@jpl.nasa.gov> 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" <ju...@gmail.com> wrote:

Hi,

On Mon, Nov 1, 2010 at 3:03 AM, Apache Hudson Server
<hu...@hudson.apache.org> 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: Chris.Mattmann@jpl.nasa.gov
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: Chris.Mattmann@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Hudson build is still unstable: Tika-trunk #395

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
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" <ju...@gmail.com> wrote:

Hi,

On Mon, Nov 1, 2010 at 3:03 AM, Apache Hudson Server
<hu...@hudson.apache.org> 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: Chris.Mattmann@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Hudson build is still unstable: Tika-trunk #395

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Mon, Nov 1, 2010 at 3:03 AM, Apache Hudson Server
<hu...@hudson.apache.org> 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