Examples of deploy()


Examples of net.sourceforge.clownfish.core.Clownfish.deploy()

                showMessage(DEPLOYING_ARTIFACT_MSG, command.getTargetList());
            }
           
            Clownfish clownfish = getClownfish();
           
            if (!clownfish.deploy()) {
                getLog().error("Failed to deploy artifact");
                throw new MojoExecutionException("Unable to deploy artifact");
            }
           
        } catch (Exception e) {
View Full Code Here

Examples of net.sourceforge.javautil.web.server.IWebServerHost.deploy()

     
      depl.set("host", host);
      depl.setApplication(application);
      for (IVirtualArtifactDeployment link : ctx.getRelatedDeployments()) { depl.link(link, false); }
     
      if (!host.deploy(application)) {
        this.fireEvent(depl, Type.DeploymentFailure);
        return null;
      }

      this.markDeployed(depl);
View Full Code Here

Examples of org.activiti.engine.repository.DeploymentBuilder.deploy()

                } else {
                    deploymentBuilder.addInputStream(resourceName,
                            resource.getInputStream());
                }

                Deployment deployment = deploymentBuilder.deploy();
                logger.info("auto deploy : {}", resourceName);

                for (ProcessDefinition processDefinition : repositoryService
                        .createProcessDefinitionQuery()
                        .deploymentId(deployment.getId()).list()) {
View Full Code Here

Examples of org.apache.agila.bpel.deployer.priv.ActivityDeployer.deploy()

        Element activityElement = ActivityDeployer.getActivityElement(processElement);
        if (activityElement != null) {
            log.debug("<" + activityElement.getName() + ">");
            ActivityDeployer ad = ActivityDeployerFactory.getActivityDeployer(activityElement.getName());
            try {
                ad.deploy(activityElement, tp, new DeployerContext());
                log.debug("</" + activityElement.getName() + ">");
            } catch (DeploymentException e) {
                TransactionManager.rollbackTransaction();
                log.error("Transation Rolled Back due to " + e.getMessage());
                throw new DeploymentException(e);
View Full Code Here

Examples of org.apache.avalon.phoenix.interfaces.Deployer.deploy()

    protected final synchronized void deployFile( final String name, final File file )
        throws Exception
    {
        final Deployer deployer = (Deployer)getEmbeddorComponent( Deployer.ROLE );
        deployer.deploy( name, file.toURL() );
    }

    private void setupComponents()
        throws Exception
    {
View Full Code Here

Examples of org.apache.axis.deployment.wsdd.WSDDDocument.deploy()

    try {
      WSDDEngineConfiguration config = (WSDDEngineConfiguration) axisServer.getConfig();
      WSDDDeployment deployment = config.getDeployment();
      WSDDDocument doc = new WSDDDocument(XMLUtils.newDocument(new ByteArrayInputStream(sdoc.getBytes())));

      doc.deploy(deployment);
      axisServer.refreshGlobalOptions();
    } catch (Exception e) {
      log.error("ObjectSOAPService::deployWSDD() exception", e);
    }
  }
View Full Code Here

Examples of org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy()

        File moduleFile = new File(moduleFileName);
        if (!moduleFile.exists()) {
            throw new DeploymentException("Module archive '" + moduleFileName + "' doesn't exist");
        }
        DeploymentFileData dfd = new DeploymentFileData(moduleFile, new ModuleDeployer(this));
        dfd.deploy();
    }

    /**
     * Remove a module with moduleName & moduleVersion
     *
 
View Full Code Here

Examples of org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntity.deploy()

                plannerName = _configDao.getValue(Config.VmDeploymentPlanner.key());
            }
        }

        String reservationId = vmEntity.reserve(plannerName, plan, new ExcludeList(), new Long(callerUser.getId()).toString());
        vmEntity.deploy(reservationId, new Long(callerUser.getId()).toString(), params);

        Pair<UserVmVO, Map<VirtualMachineProfile.Param, Object>> vmParamPair = new Pair(vm, params);
        if (vm != null && vm.isUpdateParameters()) {
            // this value is not being sent to the backend; need only for api
            // display purposes
View Full Code Here

Examples of org.apache.felix.bundlerepository.Resolver.deploy()

                    }
                }

                try {
                    System.out.print("\nDeploying...");
                    resolver.deploy(start ? Resolver.START : 0);
                    System.out.println("done.");
                } catch (IllegalStateException ex) {
                    System.err.println(ex);
                }
            } else {
View Full Code Here

Examples of org.apache.maven.artifact.deployer.ArtifactDeployer.deploy()

        logger.println(
                "[INFO] Deployment in " + deploymentRepository.getUrl() + " (id=" + deploymentRepository.getId() + ",uniqueVersion=" + deploymentRepository.isUniqueVersion()+")");

        // deploy the main artifact. This also deploys the POM
        logger.println(Messages.MavenArtifact_DeployingMainArtifact(main.getFile().getName()));
        deployer.deploy(main.getFile(), main, deploymentRepository, embedder.getLocalRepository());

        for (MavenArtifact aa : attachedArtifacts) {
            Artifact a = aa.toArtifact(handlerManager, artifactFactory, parent);
            logger.println(Messages.MavenArtifact_DeployingMainArtifact(a.getFile().getName()));
            deployer.deploy(a.getFile(), a, deploymentRepository, embedder.getLocalRepository());
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.