congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PatternSet.setExcludes
Code IndexAdd Tabnine to your IDE (free)

How to use
setExcludes
method
in
org.apache.tools.ant.types.PatternSet

Best Java code snippets using org.apache.tools.ant.types.PatternSet.setExcludes (Showing top 7 results out of 315)

origin: org.apache.ant/ant

/**
 * Append <code>excludes</code> to the current list of exclude
 * patterns.
 *
 * <p>Patterns may be separated by a comma or a space.</p>
 *
 * @param excludes the <code>String</code> containing the exclude patterns.
 */
public synchronized void setExcludes(String excludes) {
  checkAttributesAllowed();
  defaultPatterns.setExcludes(excludes);
  ds = null;
}
origin: org.apache.ant/ant

/**
 * Appends <code>excludes</code> to the current list of exclude
 * patterns.
 *
 * <p>Patterns may be separated by a comma or a space.</p>
 *
 * @param excludes the <code>String</code> containing the exclude patterns.
 */
public synchronized void setExcludes(String excludes) {
  if (isReference()) {
    throw tooManyAttributes();
  }
  defaultPatterns.setExcludes(excludes);
  directoryScanner = null;
}
origin: jenkinsci/jenkins

private static void unzipExceptClasses(File archive, File destDir, Project prj) {
  Expand e = new Expand();
  e.setProject(prj);
  e.setTaskType("unzip");
  e.setSrc(archive);
  e.setDest(destDir);
  PatternSet p = new PatternSet();
  p.setExcludes("WEB-INF/classes/");
  e.addPatternset(p);
  e.execute();
}
origin: ldcsaa/JessMA

/** 获取过滤输出文件的 {@link PatternSet} 对象 */
protected PatternSet getPatternSet()
{
  PatternSet ps = null;
  
  if(includes != null || excludes != null)
  {
    ps = new PatternSet();
    if(includes != null)
      ps.setIncludes(includes);
    if(excludes != null)
      ps.setExcludes(excludes);
  }
  
  return ps;
}

origin: org.jenkins-ci.main/jenkins-core

private static void unzipExceptClasses(File archive, File destDir, Project prj) {
  Expand e = new Expand();
  e.setProject(prj);
  e.setTaskType("unzip");
  e.setSrc(archive);
  e.setDest(destDir);
  PatternSet p = new PatternSet();
  p.setExcludes("WEB-INF/classes/");
  e.addPatternset(p);
  e.execute();
}
origin: org.netbeans.modules/org-netbeans-modules-j2me-common-ant

private void extractZip(final File source, final File target) throws BuildException
{
  final Expand e = new Expand();
  e.setProject(getProject());
  e.setOverwrite(false);
  if (excludeManifest)
  {
    final PatternSet ps = new PatternSet();
    ps.setExcludes("META-INF,META-INF/MANIFEST.MF"); //NOI18N
    e.addPatternset(ps);
  }
  e.setSrc(source);
  e.setDest(target);
  e.execute();
}

origin: org.netbeans.modules/org-netbeans-modules-mobility-antext

private void extractZip(final File source, final File target) throws BuildException
{
  final Expand e = new Expand();
  e.setProject(getProject());
  e.setOverwrite(false);
  if (excludeManifest)
  {
    final PatternSet ps = new PatternSet();
    ps.setExcludes("META-INF,META-INF/MANIFEST.MF"); //NOI18N
    e.addPatternset(ps);
  }
  e.setSrc(source);
  e.setDest(target);
  e.execute();
}

org.apache.tools.ant.typesPatternSetsetExcludes

Javadoc

Appends excludes to the current list of exclude patterns. Patterns may be separated by a comma or a space.

Popular methods of PatternSet

  • <init>
    Creates a new PatternSet instance.
  • addConfiguredPatternset
    This is a patternset nested element.
  • createExclude
    add a name entry on the exclude list
  • createInclude
    add a name entry on the include list
  • getExcludePatterns
    Returns the filtered include patterns.
  • getIncludePatterns
    Returns the filtered include patterns.
  • setIncludes
    Appends includes to the current list of include patterns. Patterns may be separated by a comma or a
  • setProject
  • addPatternFileToList
    add a pattern file name entry to the given list
  • addPatternToList
  • append
    Adds the patterns of the other instance to this set.
  • clone
  • append,
  • clone,
  • createExcludesFile,
  • createIncludesFile,
  • dieOnCircularReference,
  • getCheckedRef,
  • getProject,
  • getRef,
  • hasPatterns

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Runner (org.openjdk.jmh.runner)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now