Package org.platformlayer.ops.filesystem

Examples of org.platformlayer.ops.filesystem.ExpandArchive


      // Needed for ExpandArchive
      addChild(PackageDependency.build("unzip"));

      // TODO: Only unzip if newly downloaded
      ExpandArchive unzip = injected(ExpandArchive.class);
      unzip.archiveFile = zipFile;
      unzip.extractPath = extractPath;
      addChild(unzip);
    }
View Full Code Here


        addChild(download);
      }

      if (download != null && template.shouldExpand()) {
        // TODO: Only unzip if newly downloaded
        ExpandArchive unzip = addChild(ExpandArchive.class);
        unzip.archiveFile = download.filePath;
        unzip.extractPath = installDir;
      }
    }
View Full Code Here

    DownloadFileByHash download = addChild(DownloadFileByHash.class);
    download.filePath = new File(template.getServicesPath(), key + ".tar.gz");
    download.specifier = "platformlayerplus:production:" + key + "-1.0-SNAPSHOT-service-package.tar.gz";

    // TODO: Only unzip if newly downloaded
    ExpandArchive unzip = addChild(ExpandArchive.class);
    unzip.archiveFile = download.filePath;
    unzip.extractPath = template.getServicesPath();
  }
View Full Code Here

TOP

Related Classes of org.platformlayer.ops.filesystem.ExpandArchive

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.