[Neo] help w/ neo4j sesame sail
anders at neotechnology.com
Thu Apr 22 23:21:01 CEST 2010
I created an example project that downloads all dependencies of a Maven
project (including transitive dependencies). Also, javadocs of all
included Neo4j components are aggregated (others could be added as well,
this is configurable).
I tried to match your requirements, but if something is missing, simply
add to the dependencies in the pom.xml and then mvn package it. (The
final output is in .tar.gz and .zip archives as this stuff was
originally intended for packaging example applications.)
The number of jars downloaded is quite amazing in this case :-)
Mike Grove wrote:
> On Thu, Apr 22, 2010 at 2:49 PM, Niels Hoogeveen
> <pd_aficionado at hotmail.com>wrote:
>> Did you use maven when building the jars? The dependencies listed in maven,
>> make sure the proper versions of other components are downloaded.
> Yes, after I checked the code out, I just ran "mvn" from the directory, and
> put all the compiled jar files in the target directory into my class path.
> I did this for neo4j-rdf, neo4j-rdf-sail & the core neo4j. For APOC, I used
> the contents of the lib directory from the download. I never saw any of the
> dependency jars get generated into the target directory after the maven
> build, which is probably how I got myself into this mess in the first place.
> This is only the second time I've ever had to use maven, so I would not be
> surprised if I've just made some terribly naive oversight due to my lack of
> experience using it.
>>> Date: Thu, 22 Apr 2010 14:31:42 -0400
>>> From: mhgrove at gmail.com
>>> To: user at lists.neo4j.org
>>> Subject: [Neo] help w/ neo4j sesame sail
>>> I'm trying to get the Neo4j Sesame Sail up and running so I can compare
>>> with the other various RDF databases available and i'm getting an odd
>>> on startup.
>>> I checked out the neo4j-rdf project (0.7 SNAPSHOT) and compiled it,
>>> downloaded the APOC (v1.0), checked out and compiled neo4j-rdf-sail, and
>>> checked out the core neo4j repository and compiled meta-model & util.
>>> each of these in my class path along with the Sesame libs, I was able to
>>> my small piece of test code to compile and run.
>>> However, I'm getting the following NoSuchMethodError when trying to
>>> initialize the graph database & wrap it in a sail:
>>> Exception in thread "main" java.lang.NoSuchMethodError:
>>> at dbtester.Runner.main(Runner.java:231)
>>> Obviously I've got the wrong version of something along the chain. Can
>>> anyone give me a clue to what versions I should be grabbing, or is there
>>> single module I can grab and compile that will contain everything I need
>>> the Sail?
>>> Oddly, the program doesn't terminate after this exception, well it
>>> never terminates; I left it running for about 30 hours and it never
>>> reading in the data from disk which is the first thing the program does.
>>> The file is relatively small, only about 6.5 millions triples, which most
>>> systems can load in somewhere between 90s and 1h depending on which is
>>> used. I'm guessing that my setup is contributing to this result, but I
>>> curious if anyone has tried using the sail with a dataset in this order
>>> Thanks for any guidance.
>>> Neo mailing list
>>> User at lists.neo4j.org
>> Express yourself instantly with MSN Messenger! Download today it's FREE!
>> Neo mailing list
>> User at lists.neo4j.org
> Neo mailing list
> User at lists.neo4j.org
More information about the User