}
archivist.setDescriptor(application);
// use temp CL that is set in the application. For details,
// see https://glassfish.dev.java.net/issues/show_bug.cgi?id=223
archivist.validate(application.getClassLoader());
application.setGeneratedXMLDirectory(getGeneratedXMLLocation(appId));
if (!application.getWebServiceDescriptors().isEmpty()) {
ModuleContentLinker visitor = new ModuleContentLinker(in);