Package br.com.objectos.rio

Examples of br.com.objectos.rio.HttpServer


  @Override
  protected void executeCommand(EclipsePrepareOptions options) {
    options.all();

    HttpServer server = options.fileServer();
    Directory eclipseVar = dirs.eclipseVar();
    File eclipseTar = eclipseVar.fileAt("eclipse-jee-kepler-SR1-linux-gtk-x86_64.tar.gz");
    Directory eclipseDir = eclipseVar.dirAt("eclipse");

    infoAction("dirs");
View Full Code Here


  @Override
  protected void executeCommand(KdoEclipsePrepareOptions options) {
    options.all();

    HttpServer server = options.fileServer();
    Directory eclipseVar = dirs.eclipseVar();
    File eclipseTar = options.getKeplerFile(eclipseVar);
    Directory eclipseDir = eclipseVar.dirAt("eclipse");

    infoAction("dirs");
View Full Code Here

      cleanUp(rioVar);
    }
  }

  private void prepare(InstallOptions options) {
    HttpServer fileServer = options.fileServer();

    infoAction("dirs");
    info("Preparing directories.");

    Directory userVar = dirs.userVar();
View Full Code Here

      emerge(options);
    }
  }

  private void download(EtoOsLivecdOptions options) {
    HttpServer server = options.fileServer();
    Directory osVar = dirs.osVar();
    File isoFile = osVar.fileAt("install-amd64-minimal.iso");

    infoAction("download");
    info("Downloading required files.");
View Full Code Here

        .preserve()
        .toDir(livecdDir.dirAt("usr"));
  }

  private void emerge(EtoOsLivecdOptions options) {
    HttpServer server = options.distfilesServer();
    Directory mountDir = dirs.livecdMountDir();
    ChrootMount mount = ChrootMount.at(mountDir).mount();

    infoAction("emerge");
    info("Emerging extra packages.");

    server.download("jdk-6u45-linux-x64.bin")
        .toDir(mountDir.dirAt("usr/portage/distfiles"));

    try {

      Chroot chroot = Chroot.at(mountDir)
View Full Code Here

      cleanUp(rioVar);
    }
  }

  private void prepare(InstallOptions options) {
    HttpServer fileServer = options.fileServer();

    infoAction("dirs");
    info("Preparing directories.");

    Directory userVar = dirs.userVar();
View Full Code Here

      grub(options);
    }
  }

  private void download(OsInstallOptions options) {
    HttpServer server = options.fileServer();
    String stage3Name = options.getStage3Name();
    Directory osVar = dirs.osVar();

    infoAction("download");
    info("Downloading required files.");

    server.download(stage3Name)
        .toDir(osVar);
  }
View Full Code Here

      emerge(options);
    }
  }

  private void download(OsLivecdOptions options) {
    HttpServer server = options.fileServer();
    Directory osVar = dirs.osVar();
    File isoFile = osVar.fileAt("install-amd64-minimal.iso");

    infoAction("download");
    info("Downloading required files.");
View Full Code Here

        .preserve()
        .toDir(livecdDir.dirAt("usr"));
  }

  private void emerge(OsLivecdOptions options) {
    HttpServer server = options.distfilesServer();
    Directory mountDir = dirs.livecdMountDir();
    ChrootMount mount = ChrootMount.at(mountDir).mount();

    infoAction("emerge");
    info("Emerging extra packages.");

    server.download("jdk-6u45-linux-x64.bin")
        .toDir(mountDir.dirAt("usr/portage/distfiles"));

    try {

      Chroot chroot = Chroot.at(mountDir)
View Full Code Here

TOP

Related Classes of br.com.objectos.rio.HttpServer

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.