[jboss-cvs] JBossAS SVN: r59529 - projects/osgi/trunk/deployment/src/main/org/jboss/osgi/deployers.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jan 11 09:21:31 EST 2007
Author: alesj
Date: 2007-01-11 09:21:28 -0500 (Thu, 11 Jan 2007)
New Revision: 59529
Modified:
projects/osgi/trunk/deployment/src/main/org/jboss/osgi/deployers/BundleManifestDeployer.java
Log:
VFSUtils.readManifest intro
Modified: projects/osgi/trunk/deployment/src/main/org/jboss/osgi/deployers/BundleManifestDeployer.java
===================================================================
--- projects/osgi/trunk/deployment/src/main/org/jboss/osgi/deployers/BundleManifestDeployer.java 2007-01-11 14:13:58 UTC (rev 59528)
+++ projects/osgi/trunk/deployment/src/main/org/jboss/osgi/deployers/BundleManifestDeployer.java 2007-01-11 14:21:28 UTC (rev 59529)
@@ -31,6 +31,7 @@
import org.jboss.osgi.metadata.plugins.AbstractBundleActivatorMetaData;
import org.jboss.osgi.metadata.spi.BundleActivatorMetaData;
import org.jboss.virtual.VirtualFile;
+import org.jboss.virtual.VFSUtils;
/**
* Parses OSGi Bundle Manifest if BundleAdapter attachment exists.
@@ -55,8 +56,7 @@
VirtualFile manifestVF = unit.getMetaDataFile("MANIFEST.MF");
if (manifestVF != null)
{
-// Manifest manifest = VFSUtils.readManifest(manifestVF);
- Manifest manifest = null;
+ Manifest manifest = VFSUtils.readManifest(manifestVF);
Attributes attributes = manifest.getMainAttributes();
String bundleActivator = attributes.getValue("Bundle-Activator");
if (bundleActivator != null)
More information about the jboss-cvs-commits
mailing list