Examples of DirectoryRoot


Examples of net.sourceforge.javautil.common.io.impl.DirectoryRoot

      war = (IVirtualDirectory) artifact;
    } 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);
  }
View Full Code Here

Examples of net.sourceforge.javautil.common.io.impl.DirectoryRoot

    for (IVirtualArtifactDeployment depl : this.deployments) if (depl.isLinked(deployment)) return depl.getLinkedDeployment(deployment);
    return null;
  }

  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

Examples of wyfs.util.DirectoryRoot

  public void setPipelineModifiers(List<Pipeline.Modifier> modifiers) {
    this.pipelineModifiers = new ArrayList<Pipeline.Modifier>(modifiers);
  }

  public void setWhileyDir(File whileydir) throws IOException {
    this.whileyDir = new DirectoryRoot(whileydir, whileyFileFilter, registry);
    if(wyilDir instanceof VirtualRoot) {
      // The point here is to ensure that when this build task is used in
      // a standalone fashion, that wyil files are actually written to
      // disk.
      this.wyilDir = new DirectoryRoot(whileydir, wyilFileFilter, registry);
    }
  }
View Full Code Here

Examples of wyfs.util.DirectoryRoot

      this.wyilDir = new DirectoryRoot(whileydir, wyilFileFilter, registry);
    }
  }

    public void setWyilDir (File wyildir) throws IOException {
        this.wyilDir = new DirectoryRoot(wyildir, wyilFileFilter, registry);
    }
View Full Code Here

Examples of wyfs.util.DirectoryRoot

    public void setWyilDir (File wyildir) throws IOException {
        this.wyilDir = new DirectoryRoot(wyildir, wyilFileFilter, registry);
    }

    public void setWyalDir (File wyaldir) throws IOException {
        this.wyalDir = new DirectoryRoot(wyaldir, wyalFileFilter, registry);
    }
View Full Code Here

Examples of wyfs.util.DirectoryRoot

    public void setWyalDir (File wyaldir) throws IOException {
        this.wyalDir = new DirectoryRoot(wyaldir, wyalFileFilter, registry);
    }

    public void setWycsDir (File wycsdir) throws IOException {
        this.wycsDir = new DirectoryRoot(wycsdir, wycsFileFilter, registry);
    }
View Full Code Here

Examples of wyfs.util.DirectoryRoot

    for (File root : roots) {
      try {
        if (root.getName().endsWith(".jar")) {
          whileypath.add(new JarFileRoot(root, registry));
        } else {
          whileypath.add(new DirectoryRoot(root, wyilFileFilter, registry));
        }
      } catch (IOException e) {
        if (verbose) {
          logout.println("Warning: " + root
              + " is not a valid package root");
View Full Code Here

Examples of wyfs.util.DirectoryRoot

    for (File root : roots) {
      try {
        if (root.getName().endsWith(".jar")) {
          bootpath.add(new JarFileRoot(root, registry));
        } else {
          bootpath.add(new DirectoryRoot(root, wyilOrWycsFileFilter, registry));
        }
      } catch (IOException e) {
        if (verbose) {
          logout.println("Warning: " + root
              + " is not a valid package root");
View Full Code Here

Examples of wyfs.util.DirectoryRoot

  public void setDecompile(boolean decompile) {
    this.decompile = decompile;
  }

  public void setWyalDir(File wyalDir) throws IOException {
    this.wyalDir = new DirectoryRoot(wyalDir, wyalFileFilter, registry);
    if (wycsDir instanceof VirtualRoot) {
      // The point here is to ensure that when this build task is used in
      // a standalone fashion, that wycs files are actually written to
      // disk.
      this.wycsDir = new DirectoryRoot(wyalDir, wycsFileFilter, registry);
    }
  }
View Full Code Here

Examples of wyfs.util.DirectoryRoot

      this.wycsDir = new DirectoryRoot(wyalDir, wycsFileFilter, registry);
    }
  }

  public void setWycsDir(File wycsdir) throws IOException {
    this.wycsDir = new DirectoryRoot(wycsdir, wycsFileFilter, registry);
  }
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.