Search in sources :

Example 6 with ZipFile

use of com.sun.enterprise.util.zip.ZipFile in project Payara by payara.

the class RepositoryManager method createWSDLSLInstallRoot.

/**
 * This method is used to create WSDLSL install root
 *
 * @param layout PEFileLayout
 */
public void createWSDLSLInstallRoot(PEFileLayout layout) throws Exception {
    FileUtils.copy(layout.getWSDLSLArchiveSource(), layout.getWSDLSLArchiveDestination());
    ZipFile zf = new ZipFile(layout.getWSDLSLArchiveSource(), layout.getWSDLSLInstallRoot());
    zf.explode();
}
Also used : ZipFile(com.sun.enterprise.util.zip.ZipFile)

Aggregations

ZipFile (com.sun.enterprise.util.zip.ZipFile)6 ZipFileException (com.sun.enterprise.util.zip.ZipFileException)2 ConnectorRuntimeException (com.sun.appserv.connectors.internal.api.ConnectorRuntimeException)1 FileArchive (com.sun.enterprise.deploy.shared.FileArchive)1 Enumeration (java.util.Enumeration)1 JarFile (java.util.jar.JarFile)1