Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
incremented version, fixed Gradle script (outdated namespace, incompl…
Browse files Browse the repository at this point in the history
…ete Groovy dependency)
  • Loading branch information
Victor Charpenay committed Jun 26, 2018
1 parent 73193a2 commit 3d09f3c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ By default, the Directory runs an in-memory RDF store, whose content is deleted

#### Known issues

On Windows, the execution will fail with a Batch error message. If [Mingw](http://mingw.org/) is installed on your machine, try to run `bin/thingweb-directory` inside an emulated Bash shell. Alternatively, try `java -cp lib\* de.thingweb.directory.ThingDirectory`.
On Windows, the execution will fail with a Batch error message. If [Mingw](http://mingw.org/) is installed on your machine, try to run `bin/thingweb-directory` inside an emulated Bash shell. Alternatively, try `java -cp lib\* org.eclipse.thingweb.directory.ThingDirectory`.

### Interacting with the Directory

Expand Down
13 changes: 7 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'eclipse'

/* Groovy should be compiled first */
sourceSets {
main {
resources {
srcDirs = ["src/main/resources"]
}
groovy { srcDirs = ["src/main/groovy", "src/main/java"] }
java { srcDirs = [] }
resources { srcDirs = ["src/main/resources"] }
}
}

Expand All @@ -58,6 +59,6 @@ dependencies {
testCompile 'com.github.everit-org.json-schema:org.everit.json.schema:1.8.0'
}

version = '0.8.1'
group = 'de.thingweb'
mainClassName = 'de.thingweb.directory.ThingDirectory'
version = '0.9.0'
group = 'org.eclipse.thingweb'
mainClassName = 'org.eclipse.thingweb.directory.ThingDirectory'
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import groovy.json.*
/**
*
* Compatibility script for JSON-LD 1.1.
* TODO nested properties
*
* @author Victor Charpenay
* @creation 20.06.2018
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
********************************************************************************/
package org.eclipse.thingweb.directory.servlet;

import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
Expand All @@ -32,7 +30,6 @@
import org.eclipse.thingweb.directory.rest.RESTServlet;
import org.eclipse.thingweb.directory.servlet.exception.MalformedDocumentException;
import org.eclipse.thingweb.directory.sparql.client.Queries;
import org.eclipse.thingweb.directory.utils.TDTransform;

public class RDFDocumentServlet extends RegistrationResourceServlet {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,22 @@
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Model;
import org.eclipse.rdf4j.model.ModelFactory;
import org.eclipse.rdf4j.model.Resource;
import org.eclipse.rdf4j.model.Statement;
import org.eclipse.rdf4j.model.Value;
import org.eclipse.rdf4j.model.impl.LinkedHashModel;
import org.eclipse.rdf4j.model.impl.SimpleValueFactory;
import org.eclipse.rdf4j.model.util.ModelBuilder;
import org.eclipse.rdf4j.model.vocabulary.RDF;
import org.eclipse.rdf4j.model.vocabulary.RDFS;
import org.eclipse.rdf4j.query.TupleQueryResult;
import org.eclipse.rdf4j.rio.RDFFormat;
import org.eclipse.rdf4j.rio.RDFHandlerException;
Expand Down

0 comments on commit 3d09f3c

Please sign in to comment.