aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwr...@apache.org
Subject svn commit: r1417522 - /aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/internal/RegionContextBundleHelper.java
Date Wed, 05 Dec 2012 16:52:44 GMT
Author: jwross
Date: Wed Dec  5 16:52:43 2012
New Revision: 1417522

URL: http://svn.apache.org/viewvc?rev=1417522&view=rev
Log:
Add required Bundle-ManifestVersion header to region context bundle's manifest.

Modified:
    aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/internal/RegionContextBundleHelper.java

Modified: aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/internal/RegionContextBundleHelper.java
URL: http://svn.apache.org/viewvc/aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/internal/RegionContextBundleHelper.java?rev=1417522&r1=1417521&r2=1417522&view=diff
==============================================================================
--- aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/internal/RegionContextBundleHelper.java
(original)
+++ aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/internal/RegionContextBundleHelper.java
Wed Dec  5 16:52:43 2012
@@ -66,6 +66,7 @@ public class RegionContextBundleHelper {
 	private static Manifest createManifest(String symbolicName) {
 		Manifest manifest = new Manifest();
 		manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION, "1.0");
+		manifest.getMainAttributes().putValue(org.osgi.framework.Constants.BUNDLE_MANIFESTVERSION,
"2");
 		manifest.getMainAttributes().putValue(Constants.BundleSymbolicName, symbolicName);
 		manifest.getMainAttributes().putValue(Constants.BundleVersion, VERSION.toString());
 		return manifest;



Mime
View raw message