Hi

For me it is totally unclear why Jenkins fails to compile ontonet.

e.g: Take this Error

On 20.06.2012, at 21:12, Apache Jenkins Server wrote:

> [ERROR] 
> <https://builds.apache.org/job/stanbol-trunk-1.6/ws/trunk/ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/ontonet/api/io/AbstractClerezzaGraphInputSource.java>:[58,51]
>  incompatible types
> found   : org.semanticweb.owlapi.model.OWLOntologyID
> required: org.apache.clerezza.rdf.core.UriRef


here is the according code snippet (taken from the jenkins workspace)

    protected Set<TripleCollection> getImportedGraphs(TripleCollection g, 
boolean recursive) {
        Set<TripleCollection> result = new HashSet<TripleCollection>();
        UriRef u = OWLUtils.guessOntologyIdentifier(g);

it clearly states that the variable

* g is of type "TripleCollection" and NOT 
* u is of type UriRef and NOT "OWLOntologyID" as claimed by the Error

looking at the called Method on the OWLUtils (0.10.0-incubating-SNAPSHOT)


    public static UriRef guessOntologyIdentifier(TripleCollection g) {
        ...
    }

also does not indicate any problem.

Someone any Idea why this can happen?
best
Rupert


Reply via email to