1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/build.xml Sat Sep 20 18:38:55 2008 +0200
1.3 @@ -0,0 +1,30 @@
1.4 +<?xml version="1.0" encoding="UTF-8"?>
1.5 +<project name="apifest" default="test" basedir=".">
1.6 + <property name="apifest.dir" location="${ant.file.samples}/.."/>
1.7 + <dirset id="examples" dir="${apifest.dir}">
1.8 + <include name="**/nbproject"/>
1.9 + <exclude name="currency/nbproject"/>
1.10 + <exclude name=".hg/**"/>
1.11 + </dirset>
1.12 +
1.13 +
1.14 + <target name="clean">
1.15 + <delete dir="${apifest.dir}/build"/>
1.16 + <subant target="clean" antfile="../build.xml">
1.17 + <dirset refid="examples"/>
1.18 + </subant>
1.19 + </target>
1.20 +
1.21 + <target name="build">
1.22 + <subant target="compile" antfile="../build.xml">
1.23 + <dirset refid="examples"/>
1.24 + </subant>
1.25 + </target>
1.26 +
1.27 + <target name="test" depends="build">
1.28 + <subant target="test" antfile="../build.xml" failonerror="true">
1.29 + <dirset refid="examples"/>
1.30 + <property name="test-sys-prop.no.failures" value="true"/>
1.31 + </subant>
1.32 + </target>
1.33 +</project>