I'll add this to VFSDeploymentUnit:
| /**
| * Gets the metadata files for this deployment unit
| *
| * @param filter the file filter
| * @return the virtual files that match
| * @throws IllegalArgumentException if both the name and suffix are null
| */
| List<VirtualFile> getMetaDataFiles(VirtualFileFilter filter);
|
This will enable you to easily get what you're looking for.
e.g. if filter is instance of VirtualFileFilterWithAttributes it will also recurse into
metadata locations
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226498#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...