First of all you shouldn't code against (VFS)DeploymentContext, as that is considered impl detail. It's the (VFS)DeploymentUnit which is the user "face" of deployment's server side.
And looking at the the AbstractVFSDeploymentContext::getMetaDataFiles(String name, String suffix), I don't see why your test doesn't pick up all metadata files. As this filter should match your "" suffix. | public boolean accepts(VirtualFile file) | { | String fileName = file.getName(); | if (name != null && fileName.equals(name)) | return true; | if (suffix != null) | return fileName.endsWith(suffix); | return false; | } | What does the debugging say? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226437#4226437 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226437 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user