felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mccu...@apache.org
Subject svn commit: r1184874 - in /felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin: BundlePlugin.java ManifestPlugin.java
Date Sun, 16 Oct 2011 17:13:01 GMT
Author: mcculls
Date: Sun Oct 16 17:13:01 2011
New Revision: 1184874

URL: http://svn.apache.org/viewvc?rev=1184874&view=rev
Log:
FELIX-2872: use bnd's manifest writer, because it has much better formatting

Modified:
    felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
    felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.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=1184874&r1=1184873&r2=1184874&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 16 17:13:01 2011
@@ -544,7 +544,7 @@ public class BundlePlugin extends Abstra
         {
             buf.append( "#-----------------------------------------------------------------------"
+ NL );
             ByteArrayOutputStream out = new ByteArrayOutputStream();
-            manifest.write( out ); // manifest encoding is UTF8
+            Jar.writeManifest( manifest, out ); // manifest encoding is UTF8
             buf.append( out.toString( "UTF8" ) );
             buf.append( "#-----------------------------------------------------------------------"
+ NL );
         }

Modified: felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java?rev=1184874&r1=1184873&r2=1184874&view=diff
==============================================================================
--- felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
(original)
+++ felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
Sun Oct 16 17:13:01 2011
@@ -179,7 +179,7 @@ public class ManifestPlugin extends Bund
         os = new FileOutputStream( outputFile );
         try
         {
-            manifest.write( os );
+            Jar.writeManifest( manifest, os );
         }
         finally
         {



Mime
View raw message