tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Tikhonov <olegtikho...@gmail.com>
Subject Re: location of pdfbox in sources of Tika
Date Tue, 01 Nov 2011 11:05:37 GMT
You do not only change dependencies in the pom, you also rebuild the Tika.
In your case:
1. After changing the pdfbox, rebuild it
2. Change dependencies in the pom.xml
3. Rebuild the Tika

If there wasn't API changes in pdfbox, should work.


On Tue, Nov 1, 2011 at 12:32 PM, Ahmad Ajiloo <ahmad.ajiloo@gmail.com>wrote:

> thanks.
> But I think the problem is not dissolved by change the version of pdfbox in
> dependencies, If I want to change a solitary java file in pdfbox. Is there
> any solution to change only one file of pdfbox and rebuild Tika with new
> one?
>
> On Mon, Oct 31, 2011 at 10:10 PM, Oleg Tikhonov <oleg@apache.org> wrote:
>
> > Hi Ahmad,
> >
> > I hope you built pdfbox using a maven, i.e. running mvn clean install. If
> > so, a new pdfbox jar file is located in the .m2 local repository.
> > In addition, please find a pom.xml under ../tika-parsers and change the
> > following:
> >
> >    <dependency>
> >      <groupId>org.apache.pdfbox</groupId>
> >      <artifactId>pdfbox</artifactId>
> >      <version>1.5.0</version>
> >    </dependency>
> >
> > Change also a version tag to the appropriate number. Then, go to
> > ../tika-site (top level directory of tika  project) and rerun mvn clean
> > install.
> >
> > If all were right you will have a new tika .
> >
> > Hope it helps,
> >
> > BR,
> > Oleg
> >
> >
> >
> > On Mon, Oct 31, 2011 at 7:36 PM, ahmad ajiloo <ahmad.ajiloo@gmail.com
> > >wrote:
> >
> > > Hello
> > > I have an edited file in pdfbox project and want to rebuild Tika with
> > > this new file. But i can't find location of pdfbox sources in Tika
> > > sources to change that. can anyone help me?
> > > thanks
> > >
>
>

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