Hi Peter,
the issue JENA-63 had an old patch (and the issue was closed as 'Won't Fix').
It's not possible to attach a patch to a closed issue, so I quickly reopened,
deleted the old patch and attached a new one.

Please, could you try this and let me know if you have problems?
https://issues.apache.org/jira/secure/attachment/12525638/JENA-63-Fuseki-r1334045.patch

You do not need to checkout and/or repackage LARQ, just Fuseki.
Once you have LARQ added to Fuseki you'll find larq.larqbuilder in the Fuseki
jar (which has all the dependencies in it, including Jena, ARQ, TDB and LARQ).

If you use LARQ with Fuseki, please, be aware of JENA-164
https://issues.apache.org/jira/browse/JENA-164
... and if you want to help closing it, you are welcome. ;-)

If you want to help documenting what you are doing with a short section to be
added to the LARQ documentation, that would be great as well. It's trivial, but
it can save time to people. Mainly, checkout Fuseki, apply the patch (i.e. add
LARQ dependency to Fuseki's pom.xml), mvn package it. Then show how to use
larq.larqbuilder to create a new Lucene index, indexing some data from a TDB
location.

Paolo

Peter Jungen wrote:
> Hello everybody,
> 
> Im trying to
> -add larq to fuseki,
> -then from command line, build an lucene index for my dataset.
> 
> ..using jena-fuseki-0.2.2-incubating-20120329.050912-8-distribution
> and TDB 0.8.10.
> 
> Installed larq and fuseki via svn and maven, and added the patch to
> fuseki like so
> https://issues.apache.org/jira/browse/JENA-63?focusedCommentId=13151908&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13151908
> 
> on the fuseki package build (mvn clean package) an error occurs:
> ----start----
> Caused by:
> org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
> Missing:
> 1) org.apache.jena:jena-larq:jar:${ver.larq}
> ..
>   Path to dependency:
>         1) org.apache.jena:jena-fuseki:jar:0.2.2-incubating-SNAPSHOT
>         2) org.apache.jena:jena-larq:jar:${ver.larq}
> ----end----
> How do I resolve this?
> While Im asking about dependencies....
> 
> I packaged LARQ with
> mvn package
> The README in the larq folder instructs me to
> ------start-----
> To package LARQ and use the larq.larqbuilder and larq.larq commands run:
> 
>   mvn package -Pjar-with-dependencies
> ----end--
> I not sure how to use this Option (-P,--activate-profiles)? and give the
> dependencies..
> 
> When in the end hopefuly everything works, I hope this to build the
> index for my dataset..
> java -cp .:target/jena-larq-1.0.1-incubating-SNAPSHOT.jar
> larq.larqbuilder --larq=/home/peter/workspace/fuseki/larq-index
> --desc=/home/peter/workspace/fuseki/config-tdb.ttl
> Am I doing this right?
> 
> Regards
> Peter

Reply via email to