build.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 17 Oct 2008 18:17:11 +0200
changeset 72 c6b50876b5cf
parent 32 2198184978d5
permissions -rw-r--r--
I need to remove solution 12 as it did not allow to query a history with one convertor. There was no way to provide arbitrary date, one could query only about the present state. As such the API was quite simplified and it would be unfair for others if this solution advanced to the final round. Sorry.
jaroslav@2
     1
<?xml version="1.0" encoding="UTF-8"?>
jaroslav@2
     2
<project name="apifest" default="test" basedir=".">
jaroslav@2
     3
    <property name="apifest.dir" location="${ant.file.samples}/.."/>
jaroslav@2
     4
    <dirset id="examples" dir="${apifest.dir}">
jaroslav@2
     5
        <include name="**/nbproject"/>
jtulach@59
     6
        <exclude name="currency/nbproject"/>
jaroslav@15
     7
        <exclude name="taskx/jtulach/against-solutionXY/nbproject"/>
jaroslav@2
     8
        <exclude name=".hg/**"/>
jaroslav@2
     9
    </dirset>
jaroslav@2
    10
    
jaroslav@2
    11
    
jaroslav@2
    12
    <target name="clean">
jaroslav@2
    13
        <delete dir="${apifest.dir}/build"/>
jaroslav@2
    14
        <subant target="clean" antfile="../build.xml">
jaroslav@2
    15
            <dirset refid="examples"/>
jaroslav@2
    16
        </subant>
jaroslav@2
    17
    </target>
jaroslav@2
    18
jaroslav@2
    19
    <target name="build">
jaroslav@2
    20
        <subant target="compile" antfile="../build.xml">
jaroslav@2
    21
            <dirset refid="examples"/>
jaroslav@2
    22
        </subant>
jaroslav@2
    23
    </target>
jaroslav@2
    24
jaroslav@2
    25
    <target name="test" depends="build">
jaroslav@2
    26
        <subant target="test" antfile="../build.xml" failonerror="true">
jaroslav@2
    27
            <dirset refid="examples"/>
jaroslav@2
    28
            <property name="test-sys-prop.no.failures" value="true"/>
jaroslav@2
    29
        </subant>
jaroslav@2
    30
    </target>
jaroslav@2
    31
</project>