You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by mc...@apache.org on 2007/11/19 11:41:56 UTC
svn commit: r596261 -
/felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
Author: mcculls
Date: Mon Nov 19 02:41:54 2007
New Revision: 596261
URL: http://svn.apache.org/viewvc?rev=596261&view=rev
Log:
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)
Modified:
felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
Modified: felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java?rev=596261&r1=596260&r2=596261&view=diff
==============================================================================
--- felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java (original)
+++ felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java Mon Nov 19 02:41:54 2007
@@ -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 )