Moved service.properties.
Change-Id: I5261ebabe9f9d423e5355b7fd366477895f978c4
diff --git a/src/main/java/de/ids_mannheim/korap/utils/ServiceInfo.java b/src/main/java/de/ids_mannheim/korap/utils/ServiceInfo.java
index 7d6f8a3..43a127b 100644
--- a/src/main/java/de/ids_mannheim/korap/utils/ServiceInfo.java
+++ b/src/main/java/de/ids_mannheim/korap/utils/ServiceInfo.java
@@ -55,7 +55,7 @@
.valueOf((String) props.get("kustvakt.cache"));
this.cache_store = (String) props.get("kustvakt.cache_store");
- this.krillVersion = (String) props.get("krill.version");
+// this.krillVersion = (String) props.get("krill.version");
QuerySerializer s = new QuerySerializer();
this.koralVersion = s.getVersion();
@@ -74,7 +74,7 @@
}
private static InputStream getStream () throws IOException {
- String path = "service.properties";
+ String path = "properties/service.properties";
InputStream stream = ConfigLoader.loadConfigStream(path);
if (stream == null)
throw new IOException(
diff --git a/src/main/resources/service.properties b/src/main/resources/properties/service.properties
similarity index 72%
rename from src/main/resources/service.properties
rename to src/main/resources/properties/service.properties
index 2f428f5..552b5f7 100644
--- a/src/main/resources/service.properties
+++ b/src/main/resources/properties/service.properties
@@ -1,4 +1,4 @@
kustvakt.version=${project.version}
-krill.version=${krill.version}
+#krill.version=${krill.version}
koral.version=${koral.version}
kustvakt.cache=true
\ No newline at end of file