Package wyfs.util

Examples of wyfs.util.DirectoryRoot$Folder


    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


    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

    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

  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

      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

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

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

   * @param _args
   */
  public void build(List<File> files) throws Exception {
    if (decompile) {
      if (wycsDir instanceof DirectoryRoot) {
        DirectoryRoot wd = (DirectoryRoot) wycsDir;
        buildEntries(getMatchingFiles(files, wd, WycsFile.ContentType));
      } else {
        System.out
            .println("WARNING: decompiling without properly specified wycsdir");
      }
View Full Code Here

  @Override
  public void setWhileyDir(File dir) throws IOException {
    super.setWhileyDir(dir);
    if (cDir == null) {
      this.cDir = new DirectoryRoot(dir, cFileFilter,
          registry);
    }
  }
View Full Code Here

  @Override
  public void setWyilDir(File dir) throws IOException {
    super.setWyilDir(dir);
    if (cDir == null) {
      this.cDir = new DirectoryRoot(dir, cFileFilter, registry);
    }
  }
View Full Code Here

TOP

Related Classes of wyfs.util.DirectoryRoot$Folder

Copyright © 2018 www.massapicom. 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.