User development,

A new message was posted in the thread "Structure deployer cannot access 
manifest":

http://community.jboss.org/message/529906#529906

Author  : Thomas Diesler
Profile : http://community.jboss.org/people/[email protected]

Message:
--------------------------------------------------------------
This code used to determine whether a bundle gets deployed
 
   public boolean determineStructure(StructureContext structureContext) throws 
DeploymentException
   {
      VirtualFile root = structureContext.getRoot();
 
         // This file is not for me, because I'm only interested
         // in root deployments that contain a MANIFEST.MF
         Manifest manifest = VFSUtils.getManifest(root);
         if (root != structureContext.getFile() || manifest == null)
            return false;
 
         // This file is also not for me, because I need to see 
Bundle-SymbolicName
         Attributes attribs = manifest.getMainAttributes();
         String symbolicName = attribs.getValue(Constants.BUNDLE_SYMBOLICNAME);
         if (symbolicName == null)
            return false;
 
    ....

 
With deployers-2.2.0.Alpha3 (i.e. jboss-vfs-3.0.0.CR2) the manifest returned 
from VFSUtils is null.
 
Is this a bug, perhaps related to the root not mounted?

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/529906#529906


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to