felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r939930 - /felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/BundleTransformer.java
Date Sat, 01 May 2010 06:50:59 GMT
Author: gnodet
Date: Sat May  1 06:50:59 2010
New Revision: 939930

URL: http://svn.apache.org/viewvc?rev=939930&view=rev
Log:
FELIX-2313: fileinstall does not recognize jars if it does not have Bundle-SymbolicName and
Bundle-Version

Modified:
    felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/BundleTransformer.java

Modified: felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/BundleTransformer.java
URL: http://svn.apache.org/viewvc/felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/BundleTransformer.java?rev=939930&r1=939929&r2=939930&view=diff
==============================================================================
--- felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/BundleTransformer.java
(original)
+++ felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/BundleTransformer.java
Sat May  1 06:50:59 2010
@@ -49,8 +49,7 @@ public class BundleTransformer implement
             }
             jar = new JarFile(artifact);
             Manifest m = jar.getManifest();
-            if (m.getMainAttributes().getValue(new Attributes.Name("Bundle-SymbolicName"))
!= null
-                && m.getMainAttributes().getValue(new Attributes.Name("Bundle-Version"))
!= null)
+            if (m.getMainAttributes().getValue(new Attributes.Name("Bundle-SymbolicName"))
!= null)
             {
                 return true;
             }



Mime
View raw message