Package com.tuenti.supernanny.repo

Examples of com.tuenti.supernanny.repo.Repository.fetch()


  private boolean fetchArtifact(Set<String> expectedDirs, Artifact artifact) throws IOException {
    Repository repository = artifact.getOrigin();
    boolean isUpdated = isUpdated(artifact);
    if (!isUpdated) {
      File destination = new File(util.getDepsFolder(), artifact.getName());
      repository.fetch(artifact, destination);
    }

    // store repo temp dir
    if (repository.getTmpDir() != null) {
      expectedDirs.add(repository.getTmpDir());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.