if (childUri == null) {
childUri = "WEB-INF/lib/" + child.getName() + ".jar"; //$NON-NLS-1$ //$NON-NLS-2$
}
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));