Author: mcculls
Date: Sun Oct 21 00:55:58 2007
New Revision: 586862

URL: http://svn.apache.org/viewvc?rev=586862&view=rev
Log:
FELIX-403: replace line-breaks with spaces when using Maven project description 
in Bundle manifest

Modified:
    
felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java

Modified: 
felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
URL: 
http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java?rev=586862&r1=586861&r2=586862&view=diff
==============================================================================
--- 
felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
 (original)
+++ 
felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
 Sun Oct 21 00:55:58 2007
@@ -478,7 +478,7 @@
         if (value instanceof Collection && ((Collection) value).isEmpty())
             return;
 
-        properties.put(key, value.toString());
+        properties.put(key, value.toString().replaceAll("[\r\n]", " "));
     }
 
     /**


Reply via email to