I've added the following test to VFS

  |    public void testDirectoryFind() throws Throwable
  |    {
  |       URL url = getResource("/vfs/test/outer.jar");
  |       String urlString = url.toExternalForm();
  |       int p = urlString.indexOf(":");
  |       URL rootURL = new URL("vfszip" + urlString.substring(p) + 
"/org/jboss/test/vfs");
  |       VirtualFile root = VFS.getRoot(rootURL);
  |       assertNotNull(root);
  |    }
  | 
which should somehow resemble your case.
And it passes for me locally.

Send me the debug log from VFSResourcePatternResolver

  |    protected List<Resource> getVFSResources(URL rootURL, String subPattern) 
throws IOException
  |    {
  |       log.debug("Scanning url: " + rootURL + ", sub-pattern: " + 
subPattern);
  |       VirtualFile root = VFS.getRoot(rootURL);
  |       PatternVirtualFileVisitor visitor = new 
PatternVirtualFileVisitor(subPattern);
  |       root.visit(visitor);
  |       if (log.isTraceEnabled())
  |          log.trace("Found resources: " + visitor);
  |       return visitor.getResources();
  |    }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172756#4172756

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172756
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to