IPath jarPath = new Path(childUri);
File jarFile = new File(tempFile, jarPath.lastSegment());
jarPath = jarPath.removeLastSegments(1);
IModuleResource[] mr = server.getResources(new IModule[] { child });
IStatus[] status = helper.publishZip(mr, new Path(jarFile.getAbsolutePath()), monitor);
merge(result, status);
resources.add(new ModuleFile(jarFile, jarFile.getName(), jarPath));
}
}
}