The bnd lib expects resource paths with a '/' as the separator. If the plugin is run on Windows, a '\' is used as separator! This workaround/fix converts the slashes.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@574244 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
index f3468e7..a2236a5 100644
--- a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
+++ b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
@@ -544,6 +544,12 @@
                 {
                     path = path.substring(basePath.length() + 1);
                 }
+                // replace windows backslash with a slash
+                // this is a workaround for a problem with bnd 0.0.189
+                if ( File.separatorChar != '/' )
+                {
+                    path = path.replace(File.separatorChar, '/');
+                }
 
                 if (targetPath != null)
                 {