commit | cd688c807ebeb9da07ec4a5d9b8651e4b0238760 | [log] [tgz] |
---|---|---|
author | Olaf Otto <olaf@x100.de> | Mon Mar 14 16:12:43 2016 +0100 |
committer | Olaf Otto <olaf@x100.de> | Mon Mar 14 16:12:43 2016 +0100 |
tree | 9db37f6288f94f3a6c76b4dbb7a129c961102d36 | |
parent | d74d05dbe28f407e0af1875c02b74e6fdb0c0787 [diff] |
488009: Build stabilization: Corrected path resolution Aligned the usage of path semantics: URI#getPath() and URI#toExternalForm() must not be mixed.
diff --git a/test-support/src/main/java/org/eclipse/gemini/blueprint/test/internal/util/jar/JarCreator.java b/test-support/src/main/java/org/eclipse/gemini/blueprint/test/internal/util/jar/JarCreator.java index 27f0bdb..29cbb11 100644 --- a/test-support/src/main/java/org/eclipse/gemini/blueprint/test/internal/util/jar/JarCreator.java +++ b/test-support/src/main/java/org/eclipse/gemini/blueprint/test/internal/util/jar/JarCreator.java
@@ -134,7 +134,7 @@ */ private String determineRelativeName(String rootPath, Resource resource) { try { - String path = StringUtils.cleanPath(resource.getURL().toExternalForm()); + String path = StringUtils.cleanPath(resource.getURL().getPath()); return path.substring(path.indexOf(rootPath) + rootPath.length()); } catch (IOException ex) {