java/ant/test/org/apidesign/infra/ant/color.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Wed, 05 Dec 2012 13:17:53 +0100
changeset 405 87bcc647df63
permissions -rw-r--r--
Bob pointed out that the extends bound is not necessary in Listable. Enough to have it in List.
jtulach@268
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@268
     2
<project name="testing build script" default="all" basedir=".">
jtulach@268
     3
    <target name="all">
jtulach@268
     4
        <taskdef name="grepfilter" classname="org.apidesign.infra.ant.GrepFilter"/>
jtulach@268
     5
jtulach@268
     6
        <grepfilter id="test.filter.set">
jtulach@268
     7
            <fileset dir="${dir1}">
jtulach@268
     8
                <include name="${include1}"/>
jtulach@268
     9
            </fileset>
jtulach@268
    10
        </grepfilter>
jtulach@268
    11
        
jtulach@268
    12
        <copy file="${file1}" tofile="${file2}" encoding="utf-8">
jtulach@268
    13
            <filterset refid="test.filter.set"/>
jtulach@268
    14
        </copy>
jtulach@268
    15
    </target>
jtulach@268
    16
jtulach@268
    17
</project>