build.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 25 Oct 2008 20:30:54 +0200
changeset 83 621462e58e22
parent 32 2198184978d5
permissions -rw-r--r--
Jan Zak managed to break solutions 4, 6, 13, 14
     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="currency/nbproject"/>
     7         <exclude name="taskx/jtulach/against-solutionXY/nbproject"/>
     8         <exclude name=".hg/**"/>
     9     </dirset>
    10     
    11     
    12     <target name="clean">
    13         <delete dir="${apifest.dir}/build"/>
    14         <subant target="clean" antfile="../build.xml">
    15             <dirset refid="examples"/>
    16         </subant>
    17     </target>
    18 
    19     <target name="build">
    20         <subant target="compile" antfile="../build.xml">
    21             <dirset refid="examples"/>
    22         </subant>
    23     </target>
    24 
    25     <target name="test" depends="build">
    26         <subant target="test" antfile="../build.xml" failonerror="true">
    27             <dirset refid="examples"/>
    28             <property name="test-sys-prop.no.failures" value="true"/>
    29         </subant>
    30     </target>
    31 </project>