Package org.platformlayer.images.model

Examples of org.platformlayer.images.model.Repository


  @Override
  public void addTo(DiskImageRecipe recipe) {
    if (version.equals("6")) {
      // TODO: What if it's not debian squeeze??
      Repository repository = new Repository();
      repository.setKey("debian-non-free");
      repository.getSource().add("deb http://ftp.us.debian.org/debian squeeze non-free");
      recipe.getRepository().add(repository);

      DiskImageRecipeBuilder.addPreconfigure(recipe, "sun-java6-bin", "shared/accepted-sun-dlj-v1-1", "boolean",
          "true");
      DiskImageRecipeBuilder.addPreconfigure(recipe, "sun-java6-bin", "shared/accepted-sun-dlj-v1-1", "boolean",
View Full Code Here


        jre.addConfiguration("sun-java6-bin", "shared/present-sun-dlj-v1-1", "note", "");
        jre.addConfiguration("sun-java6-jdk", "shared/present-sun-dlj-v1-1", "note", "");
        jre.addConfiguration("sun-java6-jre", "shared/present-sun-dlj-v1-1", "note", "");

        // TODO: What if it's not debian squeeze??
        Repository repository = new Repository();
        repository.setKey("debian-non-free");
        repository.getSource().add("deb http://ftp.us.debian.org/debian squeeze non-free");
        jre.repository = repository;

        addChild(jre);
      }
View Full Code Here

    {
      PackageDependency jenkinsPackage = PackageDependency.build("jenkins");
      jenkinsPackage.repositoryKey = new RepositoryKey();
      jenkinsPackage.repositoryKey.setUrl("http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key");
      jenkinsPackage.repository = new Repository();
      jenkinsPackage.repository.setKey("jenkins");
      jenkinsPackage.repository.getSource().add("deb http://pkg.jenkins-ci.org/debian binary/");
      vm.addChild(jenkinsPackage);
    }
View Full Code Here

TOP

Related Classes of org.platformlayer.images.model.Repository

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.