public void copyStandardDeploymentDescriptors(ReadableArchive in, WritableArchive out) throws IOException { String entryName = getDeploymentDescriptorPath(); copyAnEntry(in, out, entryName); }
public void copyExtraElements(ReadableArchive in, WritableArchive out) throws IOException { Enumeration entries = in.entries(); if (entries != null) { for (; entries.hasMoreElements();) { String anEntry = (String) entries.nextElement(); if (anEntry.endsWith(PERSISTENCE_DD_ENTRY)) { // Don't copy persistence.xml file because they are some times // bundled inside war/WEB-INF/lib/*.jar and hence we always // read them from exploded directory. // see Integration Notice #80587 continue; } if (anEntry.indexOf(WSDL) != -1 || anEntry.indexOf(XML) != -1 || anEntry.indexOf(XSD) != -1) { copyAnEntry(in, out, anEntry); } } } }
public void copyExtraElements(ReadableArchive in, WritableArchive out) throws IOException { Enumeration entries = in.entries(); if (entries != null) { for (; entries.hasMoreElements();) { String anEntry = (String) entries.nextElement(); if (anEntry.endsWith(PERSISTENCE_DD_ENTRY)) { // Don't copy persistence.xml file because they are some times // bundled inside war/WEB-INF/lib/*.jar and hence we always // read them from exploded directory. // see Integration Notice #80587 continue; } if (anEntry.indexOf(WSDL) != -1 || anEntry.indexOf(XML) != -1 || anEntry.indexOf(XSD) != -1) { copyAnEntry(in, out, anEntry); } } } }
public void copyStandardDeploymentDescriptors(ReadableArchive in, WritableArchive out) throws IOException { String entryName = getDeploymentDescriptorPath(); copyAnEntry(in, out, entryName); Descriptor desc = getDescriptor(); // only bundle descriptor can have web services if (desc instanceof BundleDescriptor) { BundleDescriptor desc2 = (BundleDescriptor) desc; if (desc2.hasWebServices()) { DeploymentDescriptorFile webServicesDD = getWebServicesDDFile((BundleDescriptor) desc2); String anEntry = webServicesDD.getDeploymentDescriptorPath(); copyAnEntry(in, out, anEntry); } } }
if (webService.hasMappingFile() && !webService.getMappingFileUri().endsWith(".xml")) { archivist.copyAnEntry(in, out, webService.getMappingFileUri());
moduleArchivist.copyAnEntry(in, out, ddPath); moduleArchivist.copyAnEntry(in, out, ddPath);