[jboss-dev-forums] [JBoss Microcontainer Development POJO Server] - Re: Scanning classes with VFS

Ales Justin do-not-reply at jboss.com
Wed Sep 15 06:21:51 EDT 2010


Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: Scanning classes with VFS"

To view the discussion, visit: http://community.jboss.org/message/561450#561450

--------------------------------------------------------------
>  So I can't interact with my classes because my package isn't a directory ?
Hmmm, I would expect it to return true on the isDirectory().

Can you debug it a bit further, so that we see which VFS's FileSystem instance / impl is used.
e.g. step into VirtualFile::isDirectory and see which mount.getFileSystem() gets used

At which point you are using your code?
If the VFS didn't yet properly mount the zip/jar files, then this might be the root of the problem.
e.g. zip/jar files need to be explicitly mounted in order for VFS to understand zip/jar structure
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/561450#561450]

Start a new discussion in JBoss Microcontainer Development POJO Server at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2116]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100915/a3c88f70/attachment.html 


More information about the jboss-dev-forums mailing list