Package org.eclipse.orion.server.cf.commands

Examples of org.eclipse.orion.server.cf.commands.ParseManifestCommand.doIt()


      @Override
      protected IStatus performJob() {
        try {

          ParseManifestCommand parseManifestCommand = new ParseManifestCommand(null, userId, path);
          IStatus status = parseManifestCommand.doIt();
          if (!status.isOK())
            return status;

          ManifestParseTree manifest = parseManifestCommand.getManifest();
          Manifest resp = new Manifest(manifest);
View Full Code Here


          /* check if the application has a manifest */
          ManifestParseTree manifest = null;
          ParseManifestCommand parseManifestCommand = new ParseManifestCommand(null, userId, contentPath.toString()); /* TODO: set target */
          parseManifestCommand.setApplicationAnalyzer(new ApplicationReconstructor());

          IStatus status = parseManifestCommand.doIt();
          if (status.isOK())
            manifest = parseManifestCommand.getManifest();

          IDeploymentService deploymentService = CFActivator.getDefault().getDeploymentService();
          List<Plan> plans = deploymentService.getDeploymentPlans(contentLocation, manifest);
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.