diff options
author | Jonathan Bauer | 2015-09-14 15:30:40 +0200 |
---|---|---|
committer | Jonathan Bauer | 2015-09-14 15:30:40 +0200 |
commit | c5993f437432f9cd8af42335ee5350c6d6f64a49 (patch) | |
tree | 6b9c20ad4fc99ec4d5e812156ddf6414e4ec0505 /dozentenmodul/src/main | |
parent | [server] Minor tweaks and fixes (diff) | |
download | tutor-module-c5993f437432f9cd8af42335ee5350c6d6f64a49.tar.gz tutor-module-c5993f437432f9cd8af42335ee5350c6d6f64a49.tar.xz tutor-module-c5993f437432f9cd8af42335ee5350c6d6f64a49.zip |
[client] Version: fix manifest path
Diffstat (limited to 'dozentenmodul/src/main')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/util/ClientVersion.java | 3 |
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; } } |