tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Mattmann <chris.mattm...@jpl.nasa.gov>
Subject Re: Parser Class Packages
Date Wed, 12 Sep 2007 17:11:15 GMT
+1


On 9/12/07 9:55 AM, "Rida Benjelloun" <rida.benjelloun@doculibre.com> wrote:

> 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
>> .
>> 
>> 
> 

______________________________________________
Chris Mattmann, Ph.D.
Chris.Mattmann@jpl.nasa.gov
Key Staff Member
Modeling and Data Management Systems Section (387)
Data Management Systems and Technologies Group

_________________________________________________
Jet Propulsion Laboratory            Pasadena, CA
Office: 171-266B                        Mailstop:  171-246
_______________________________________________________

Disclaimer:  The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.



Mime
View raw message