summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/util
diff options
context:
space:
mode:
authorJonathan Bauer2015-09-14 15:30:40 +0200
committerJonathan Bauer2015-09-14 15:30:40 +0200
commitc5993f437432f9cd8af42335ee5350c6d6f64a49 (patch)
tree6b9c20ad4fc99ec4d5e812156ddf6414e4ec0505 /dozentenmodul/src/main/java/org/openslx/dozmod/util
parent[server] Minor tweaks and fixes (diff)
downloadtutor-module-c5993f437432f9cd8af42335ee5350c6d6f64a49.tar.gz
tutor-module-c5993f437432f9cd8af42335ee5350c6d6f64a49.tar.xz
tutor-module-c5993f437432f9cd8af42335ee5350c6d6f64a49.zip
[client] Version: fix manifest path
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/util')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/util/ClientVersion.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/util/ClientVersion.java b/dozentenmodul/src/main/java/org/openslx/dozmod/util/ClientVersion.java
index 4582e4e3..d6d35cd4 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/util/ClientVersion.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/util/ClientVersion.java
@@ -100,7 +100,7 @@ public class ClientVersion {
// Class not from JAR
return;
}
- String manifestPath = classPath.replaceAll("![^!]*$", "") + "/META-INF/MANIFEST.MF";
+ String manifestPath = classPath.replaceAll("![^!]*$", "") + "!/META-INF/MANIFEST.MF";
Manifest manifest = null;
try (InputStream stream = new URL(manifestPath).openStream()) {
manifest = new Manifest(stream);
@@ -173,5 +173,6 @@ public class ClientVersion {
static class VersionQuery {
long timestamp;
String revision;
+// String changelog;
}
}