samples/build.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:55:02 +0200
changeset 121 1725f11cf455
parent 120 6715a003e910
child 122 3611475f83db
permissions -rw-r--r--
We are able to run all tests from all the projects
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project name="apidesign.org" default="test" basedir=".">
     3     <dirset id="examples" dir=".">
     4         <include name="**/nbproject"/>
     5         <exclude name="apifest1/day3-intermezzo/**"/>
     6         <exclude name="apifest1/infrastructure/testing-template/**"/>
     7     </dirset>
     8     
     9     
    10     <target name="clean">
    11         <subant target="clean" antfile="../build.xml">
    12             <dirset refid="examples"/>
    13         </subant>
    14     </target>
    15 
    16     <target name="build">
    17         <ant dir="libs"/>
    18         <subant target="compile" antfile="../build.xml">
    19             <dirset refid="examples"/>
    20         </subant>
    21     </target>
    22 
    23     <target name="test" depends="build">
    24         <subant target="test" antfile="../build.xml" failonerror="false">
    25             <dirset refid="examples"/>
    26         </subant>
    27     </target>
    28     
    29 </project>