We could implement the decoder without distributing tnef.jar, using 
Class.forName() and simply disabling the decoder if the jar is not on 
classpath? Then it is up to the user to download the jar and thereby accept the 
GPL license.

OR we could ask the copyright-holder to explicitly license the package to the 
ASF for use in Tika only. He says in README: "For non-GPL commercial licensing 
please contact the address below."

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

On 30. sep. 2010, at 21.14, Nick Burch wrote:

> On Thu, 30 Sep 2010, Jan Høydahl / Cominvent wrote:
>> Here's an open source Java implementation of a decompressor:
>> http://www.freeutils.net/source/jtnef/rtfcompressed.jsp
> 
> Alas that's under the GPL, so can't be used in an official distribution of 
> Tika. (You can use it yourself if you want though, but that would mean that 
> your resultant program would be GPL'd too due to the viral nature of the 
> license)
> 
> However, it looks from a quick glance at the docs on that site that it's very 
> similar to visio compression.
> 
> If you're interested in working on this, I'd suggest we switch over to the 
> POI dev list. I suspect that with the HDGF decompression code, and the 
> documentation on the compression on freeutils, it shouldn't be too much work 
> to implement a decoder.
> 
> Nick

Reply via email to