Hi there,

> I'm having trouble trying to build dbpedia code inside eclipse.
> [Disclaimer: I don't know Eclipse well, I don't know Maven ar all!]

Since Eclipse seems (very) reluctant to let me build dbpedia's
extraction, I thought I'd try maven directly from the command tool...


So, after getting a suitable maven (2.2.1), I went into the "extraction"
directory and typed "mvn clean install".
After a (big) while, I got the following error messages:

*****************************************************************
[ERROR] BUILD FAILURE
[INFO] Compilation failure

C:\dbpedia\extraction\live\src\main\java\org\dbpedia\extraction\live\publisher\PublishingData.java:[9,31]
package org.openanzo.client.jena does not exist

C:\dbpedia\extraction\live\src\main\java\org\dbpedia\extraction\live\publisher\PublishingData.java:[42,26]
cannot find symbol
symbol  : variable Converter
location: class org.dbpedia.extraction.live.publisher.PublishingData

C:\dbpedia\extraction\live\src\main\java\org\dbpedia\extraction\live\publisher\PublishingData.java:[73,26]
cannot find symbol
symbol  : variable Converter
location: class org.dbpedia.extraction.live.publisher.PublishingData
*****************************************************************

Concentrating on the first error, I looked into my maven repository,
where I found" .m2\repository\org\openanzo\anzo-client\2.5.1", which
contains, among others, the file "anzo-client-2.5.1.jar".
Extracting said file, I see that it seems to miss the jena subdir:
Positionning myself in the "org" directory, and typing "tree /F", I get:
*****************************************************************
C:.
└───openanzo
    └───client
        │   ClosableDatasetServiceDataset.class
        │   DatasetService$CurrentDataset.class
        │   DatasetService$DatasetServiceDataset.class
...
        │   StoredDatasetserviceDatasetProxy.class
        │   TrackerManager$StmtSetComp.class
        │   TrackerManager.class
        │
        └───openrdf
                DatasetServiceSail$1.class
                DatasetServiceSail.class
                DatasetServiceSailConnection$1.class
                DatasetServiceSailConnection.class
*****************************************************************

In effect, package "org.openanzo.client.jena" is not defined in my jar...

So, I figure that my maven install did not download the right version
of openanzo...
[Below is the trace of where it got it from:
Downloading: 
http://www.openanzo.org/maven-repositories/release/org/openanzo/anzo-client/2.5.1/anzo-client-2.5.1.pom
3K downloaded  (anzo-client-2.5.1.pom)
]

But looking in the "pom.xml" files of dbpedia's extraction, I
find that "extraction\live\pom.xml" explicitely sets the version
to troublesome "2.5.1":
*****************************************************************
        <dependency>
            <groupId>org.openanzo</groupId>
            <artifactId>anzo-client</artifactId>

            <!-- version>3.2.0</version-->
            <version>2.5.1</version>


        </dependency>
*****************************************************************

Anybody knows how I can cross that hurdle?


Thanks in advance.

--Serge

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to