for (String lib : libs)
{
VirtualFile libVF = file.getChild(lib);
if (libVF != null)
{
VirtualFileFilter lf = filters.get(lib);
if (lf == null)
lf = libFilter;
List<VirtualFile> archives = libVF.getChildren(lf);
for (VirtualFile archive : archives)
addClassPath(structureContext, archive, true, true, context);
}
else
{
if (log.isTraceEnabled())
log.trace("No such lib: " + lib + ", " + file);
}
}
// check only children of defined sub-dirs / groups
for (String group : groups)
{
VirtualFile groupVF = file.getChild(group);
if (groupVF != null)
{
VirtualFileFilter gf = filters.get(group);
if (gf == null)
gf = groupFilter;
List<VirtualFile> children = groupVF.getChildren(gf);
for (VirtualFile child : children)