fileset with two containsregexp : Fileset Pattern « Ant « Java Tutorial

Home
Java Tutorial
1.Language
2.Data Type
3.Operators
4.Statement Control
5.Class Definition
6.Development
7.Reflection
8.Regular Expressions
9.Collections
10.Thread
11.File
12.Generics
13.I18N
14.Swing
15.Swing Event
16.2D Graphics
17.SWT
18.SWT 2D Graphics
19.Network
20.Database
21.Hibernate
22.JPA
23.JSP
24.JSTL
25.Servlet
26.Web Services SOA
27.EJB3
28.Spring
29.PDF
30.Email
31.J2ME
32.J2EE Application
33.XML
34.Design Pattern
35.Log
36.Security
37.Apache Common
38.Ant
39.JUnit
Java Tutorial » Ant » Fileset Pattern 
38.6.19.fileset with two containsregexpPrevious/Next
<?xml version="1.0"?>
<project name="Apache Ant Properties Project" basedir=".">

  <fileset id="javadoc" dir="${src}">
    <include name="shared/**"/>
    <include name="stand-alone/**"/>
    <include name="web/java/**"/>
    <none>
      <containsregexp expression="Licensed under the Apache Licen[sc]e"/>
      <containsregexp expression="GNU GENERAL PUBLIC LICEN[SC]E"/>
    </none>
  </fileset>


</project>
38.6.Fileset Pattern
38.6.1.Define a pattern set
38.6.2.Pattern set with one star
38.6.3.Dir set
38.6.4.Set defaultexcludes to 'no'
38.6.5.fileset with selector
38.6.6.fileset with include and contians
38.6.7.fileset based on date
38.6.8.fileset with exclude
38.6.9.fileset with depth
38.6.10.fileset with patternset and different
38.6.11.fileset based on folder and file name
38.6.12.Include files into a file set
38.6.13.fileset with present
38.6.14.fileset with containsregexp
38.6.15.fileset with size check
38.6.16.flatten a filelist
38.6.17.Create a class file set
38.6.18.class file set with root
38.6.19.fileset with two containsregexp
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.