Package com.caucho.env.repository

Examples of com.caucho.env.repository.CommitBuilder.type()


   
    if (sourceHost == null)
      sourceHost = "default";

    CommitBuilder source = new CommitBuilder();
    source.type("webapp");

    String sourceStage = args.getArg("-source-stage");

    if (sourceStage != null)
      source.stage(sourceStage);
View Full Code Here


    if (targetHost == null)
      targetHost = sourceHost;

    CommitBuilder target = new CommitBuilder();
    target.type("webapp");

    String targetStage = args.getArg("-target-stage");

    if (targetStage != null)
      target.stage(targetStage);
View Full Code Here

   
    if (host == null)
      host = "default";
   
    CommitBuilder commit = new CommitBuilder();
    commit.type("webapp");
   
    String stage = args.getArg("-stage");
   
    if (stage != null)
      commit.stage(stage);
View Full Code Here

   
    if (host == null)
      host = "default";

    CommitBuilder commit = new CommitBuilder();
    commit.type("webapp");
   
    String stage = args.getArg("-stage");
   
    if (stage != null)
      commit.stage(stage);
View Full Code Here

      String type = XPath.evalString("/deployment-plan/archive-type", doc);
      String name = XPath.evalString("/deployment-plan/name", doc);

      CommitBuilder commit = new CommitBuilder();
      if (type.equals("war"))
        commit.type("webapp");
      if (type.equals("ear"))
        commit.type("entapp");
      commit.tagKey("default/" + name);
      //String tag = type + "s/default/default/" + name;
/*
 
View Full Code Here

      CommitBuilder commit = new CommitBuilder();
      if (type.equals("war"))
        commit.type("webapp");
      if (type.equals("ear"))
        commit.type("entapp");
      commit.tagKey("default/" + name);
      //String tag = type + "s/default/default/" + name;
/*
      HashMap<String,String> attributes = new HashMap<String,String>();
      attributes.put(DeployClient.USER_ATTRIBUTE, _user);
View Full Code Here

        String host = targetModuleID.getTarget().getName();
        String tag = targetModuleID.getModuleID();
       
        CommitBuilder builder = new CommitBuilder();
        builder.type("webapp");
        builder.tagKey(tag);

        _deployClient.undeploy(builder);

        sb.append(tag).append(' ');
View Full Code Here

   
    String hash = Long.toHexString(archivePath.getCrc64());

    CommitBuilder commit = new CommitBuilder();
    commit.stage(getAutoDeployStage());
    commit.type(getIdType());
    commit.tagKey(getIdKey());

    String commitId = commit.getId();

    RepositoryTagEntry tagEntry = _repositorySpi.getTagMap().get(commitId);
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.