[jboss-dev-forums] [Design of POJO Server] - Re: AbstractDeploymentUnit.getMetaDataFiles()

scott.stark@jboss.org do-not-reply at jboss.com
Fri Oct 6 01:11:50 EDT 2006


Ok, I see. Yes, the JarEntryHandler.getChildren is inconsistent with the testcase usage.  There is no proper notion of a directory in a jar in terms of java.util.jar.* providing a parent/child api, so the entries either the entries associated with a jar directory that share the same prefix will need to be added, or we will have to implement a special List that lazily traverses the jar entries and only returns those that have the directory entry prefix. The latter is probably the easiest way to do this.


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976485



More information about the jboss-dev-forums mailing list