jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1612832 - /jena/Experimental/jena-fuseki2/src/main/java/org/apache/jena/fuseki/build/Builder.java
Date Wed, 23 Jul 2014 13:39:46 GMT
Author: andy
Date: Wed Jul 23 13:39:45 2014
New Revision: 1612832

URL: http://svn.apache.org/r1612832
Log:
Sync after assembly.

Modified:
    jena/Experimental/jena-fuseki2/src/main/java/org/apache/jena/fuseki/build/Builder.java

Modified: jena/Experimental/jena-fuseki2/src/main/java/org/apache/jena/fuseki/build/Builder.java
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/java/org/apache/jena/fuseki/build/Builder.java?rev=1612832&r1=1612831&r2=1612832&view=diff
==============================================================================
--- jena/Experimental/jena-fuseki2/src/main/java/org/apache/jena/fuseki/build/Builder.java
(original)
+++ jena/Experimental/jena-fuseki2/src/main/java/org/apache/jena/fuseki/build/Builder.java
Wed Jul 23 13:39:45 2014
@@ -40,6 +40,7 @@ import com.hp.hpl.jena.rdf.model.RDFNode
 import com.hp.hpl.jena.rdf.model.Resource ;
 import com.hp.hpl.jena.sparql.core.DatasetGraph ;
 import com.hp.hpl.jena.sparql.util.FmtUtils ;
+import com.hp.hpl.jena.tdb.TDB ;
 import com.hp.hpl.jena.vocabulary.RDF ;
 public class Builder
 {
@@ -73,6 +74,8 @@ public class Builder
         if ( !datasetDesc.hasProperty(RDF.type) )
             throw new FusekiConfigException("No rdf:type for dataset " + nodeLabel(datasetDesc))
;
         Dataset ds = (Dataset)Assembler.general.open(datasetDesc) ;
+        // In case the assembler included ja:contents
+        TDB.sync(ds) ;
         DataService dataService = new DataService(null, ds.asDatasetGraph()) ;
         addServiceEP(dataService, OperationName.Query,  svc,    "fu:serviceQuery") ;
         addServiceEP(dataService, OperationName.Update, svc,    "fu:serviceUpdate") ;



Mime
View raw message