Package com.caucho.config.types

Examples of com.caucho.config.types.PathPatternType


    throws ConfigException
  {
    if (extension.startsWith("."))
      extension = extension.substring(1);

    createFileset().addInclude(new PathPatternType("**/*." + extension));
  }
View Full Code Here


    throws ConfigException
  {
    Path pwd = Vfs.lookup();

    if (_fileSet == null) {
      createFileset().addInclude(new PathPatternType("**/*.jsp"));
    }

    if (_webApp == null) {
      _webApp = WebApp.getLocal();
    }
View Full Code Here

  {
    FileSetType fileSet = new FileSetType();

    fileSet.setDir(dir);

    fileSet.addInclude(new PathPatternType("**/*.ejb"));

    Path pwd = Vfs.lookup();

    String dirPath = dir.getPath();
    String pwdPath = pwd.getPath();
View Full Code Here

    throws ConfigException
  {
    Path pwd = Vfs.lookup();

    if (_fileSet == null) {
      createFileset().addInclude(new PathPatternType("**/*.jsp"));
    }

    if (_webApp == null) {
      _webApp = WebApp.getLocal();
    }
View Full Code Here

      }
      else if (_path.getPath().endsWith(".jar")
         || _path.getPath().endsWith(".zip")) {
  _fileSet = new FileSetType();
  _fileSet.setDir(_path.getParent());
  _fileSet.addInclude(new PathPatternType(_path.getTail()));
      }
      else {
  _fileSet = new FileSetType();
  _fileSet.setDir(_path);
  _fileSet.addInclude(new PathPatternType("*.jar"));
  _fileSet.addInclude(new PathPatternType("*.zip"));
      }

      fillJars();
    } catch (ConfigException e) {
      throw e;
View Full Code Here

      }
      else if (_path.getPath().endsWith(".jar")
               || _path.getPath().endsWith(".zip")) {
        _fileSet = new FileSetType();
        _fileSet.setDir(_path.getParent());
        _fileSet.addInclude(new PathPatternType(_path.getTail()));
      }
      else {
        _fileSet = new FileSetType();
        _fileSet.setDir(_path);
        _fileSet.addInclude(new PathPatternType("*.jar"));
        _fileSet.addInclude(new PathPatternType("*.zip"));
      }

      fillJars();
    } catch (ConfigException e) {
      throw e;
View Full Code Here

TOP

Related Classes of com.caucho.config.types.PathPatternType

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.