tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rida Benjelloun" <rida.benjell...@doculibre.com>
Subject Re: Parser Class Packages
Date Wed, 12 Sep 2007 16:55:32 GMT
Hi Keith,
Thanks for your comment. You have to modify the package name in the
config.xml.
<parser name="parse-pdf" class="org.apache.tika.parser.pdf.PDFParser">

Regards.

On 9/12/07, kbennett <kbennett@bbsinc.biz> wrote:
>
>
> All -
>
> I am trying to get the Tika unit tests to work.  One of the issues is that
> the packages of the fully qualified class names specified in config.xmlare
> different from the packages in which they are located on the source tree
> of
> the code itself.
>
> For example, the config.xml file contains:
>
> <parser name="parse-pdf" class="liuslite.parser.pdf.PDFParser">
>
> whereas the class itself is at:
>
> src/main/java/org/apache/tika/parser/pdf/PDFParser.java
>
> How should this be resolved?  Should I edit the config.xml file to match
> the
> code, or use an external jar file for these classes, or modify the source
> code directory structure to match the "liuslite.parser.pdf" location
> specified in the XML file?
>
> - Keith
>
> --
> View this message in context:
> http://www.nabble.com/Parser-Class-Packages-tf4430639.html#a12639642
> Sent from the Apache Tika - Development mailing list archive at Nabble.com
> .
>
>


-- 
---------------------------------------------------------
Rida Benjelloun
Doculibre inc.
ridabenjelloun@apache.org
rida.benjelloun@doculibre.com
Cel: 418-262-3222
Tel: 418-353-3390
Site Web : http://www.doculibre.com
---------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message