commit | 7f6575cf2d9763bbcca6ffa11620ef0a53ca92f1 | [log] [tgz] |
---|---|---|
author | Stuart McCulloch <mcculls@apache.org> | Mon Nov 19 10:41:54 2007 +0000 |
committer | Stuart McCulloch <mcculls@apache.org> | Mon Nov 19 10:41:54 2007 +0000 |
tree | 8d3664bd32fb1f5823a816cb8f5fc08d1912be5f | |
parent | bf3552138fff1f3b2588fb27205d798f3837b414 [diff] |
FELIX-423: workaround for OBR code - PathFile appears to expects a decoded URI path (ie. with 'file' scheme, but without any encodings, such as %20) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@596261 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java index 5276039..05ca396 100644 --- a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java +++ b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
@@ -135,7 +135,8 @@ uri = file.toURI(); } - return new PathFile( uri.toASCIIString() ); + // PathFile workaround: for now provide decoded strings to maven-obr-plugin + return new PathFile( uri.getScheme() + ':' + uri.getSchemeSpecificPart() ); } private static String findOBRExtensions( List resources )