You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by Ahmad Ajiloo <ah...@gmail.com> on 2011/11/01 11:32:45 UTC

Re: location of pdfbox in sources of Tika

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

Re: location of pdfbox in sources of Tika

Posted by Oleg Tikhonov <ol...@gmail.com>.
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 <ah...@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 <ol...@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
> > >
>
>