build.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 01 Oct 2008 11:23:11 +0200
changeset 32 2198184978d5
parent 15 a861bd02a1d2
child 59 c1d43bc1e9c0
permissions -rw-r--r--
Task2
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project name="apifest" default="test" basedir=".">
     3     <property name="apifest.dir" location="${ant.file.samples}/.."/>
     4     <dirset id="examples" dir="${apifest.dir}">
     5         <include name="**/nbproject"/>
     6         <exclude name="taskx/jtulach/against-solutionXY/nbproject"/>
     7         <exclude name=".hg/**"/>
     8     </dirset>
     9     
    10     
    11     <target name="clean">
    12         <delete dir="${apifest.dir}/build"/>
    13         <subant target="clean" antfile="../build.xml">
    14             <dirset refid="examples"/>
    15         </subant>
    16     </target>
    17 
    18     <target name="build">
    19         <subant target="compile" antfile="../build.xml">
    20             <dirset refid="examples"/>
    21         </subant>
    22     </target>
    23 
    24     <target name="test" depends="build">
    25         <subant target="test" antfile="../build.xml" failonerror="true">
    26             <dirset refid="examples"/>
    27             <property name="test-sys-prop.no.failures" value="true"/>
    28         </subant>
    29     </target>
    30 </project>