java/ant/test/org/apidesign/infra/ant/build.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Fri, 16 Jul 2010 23:35:08 +0200
branchlivedb
changeset 359 9d430d9bc4b1
permissions -rw-r--r--
Creating the database in Ant. Placing it on a test classpath. Test test now checks real DB content.
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>