You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by jw...@apache.org on 2012/12/05 17:52:44 UTC
svn commit: r1417522 -
/aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/internal/RegionContextBundleHelper.java
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;