java/ant/test/org/apidesign/infra/ant/build.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sun, 02 Sep 2012 22:00:13 +0200
changeset 403 ebe08056c60c
permissions -rw-r--r--
Identifying code snippets to be used on my blog
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>