Package net.sourceforge.javautil.common.io.impl

Examples of net.sourceforge.javautil.common.io.impl.Directory.link()


    } else {
      throw new VirtualArtifactDeployerException(deployer, artifact, "Cannot deploy the artifact as a web application: " + artifact);
    }
   
    Directory vwar = new DirectoryRoot();
    vwar.link(war);
   
    return new WebApplicationDeployment(vwar, deployer, war);
  }

  public boolean matches(IVirtualArtifact artifact) {
View Full Code Here


  public Directory getDeploymentStructure() {
    Directory composite = new DirectoryRoot();
    for (IVirtualArtifactDeployment depl : this.deployments) {
      if (depl.getDeploymentStructure() instanceof IVirtualDirectory) {
        composite.link((IVirtualDirectory) depl.getDeploymentStructure());
      } else {
        composite.link((IVirtualFile) depl.getDeploymentStructure(), depl.getDeploymentStructure().getName());
      }
    }
    return composite;
View Full Code Here

    Directory composite = new DirectoryRoot();
    for (IVirtualArtifactDeployment depl : this.deployments) {
      if (depl.getDeploymentStructure() instanceof IVirtualDirectory) {
        composite.link((IVirtualDirectory) depl.getDeploymentStructure());
      } else {
        composite.link((IVirtualFile) depl.getDeploymentStructure(), depl.getDeploymentStructure().getName());
      }
    }
    return composite;
  }
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.