samples/build.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:54:59 +0200
changeset 119 8147cafd007a
child 120 6715a003e910
permissions -rw-r--r--
Creating one master script that can clean and build all examples
jtulach@119
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@119
     2
<project name="apidesign.org" default="build" basedir=".">
jtulach@119
     3
    <dirset id="examples" dir=".">
jtulach@119
     4
        <include name="**/nbproject"/>
jtulach@119
     5
        <exclude name="apifest1/day3-intermezzo/**"/>
jtulach@119
     6
    </dirset>
jtulach@119
     7
    
jtulach@119
     8
    
jtulach@119
     9
    <target name="clean">
jtulach@119
    10
        <subant target="clean" antfile="../build.xml">
jtulach@119
    11
            <dirset refid="examples"/>
jtulach@119
    12
        </subant>
jtulach@119
    13
    </target>
jtulach@119
    14
jtulach@119
    15
    <target name="build">
jtulach@119
    16
        <ant dir="libs"/>
jtulach@119
    17
        <subant target="compile" antfile="../build.xml">
jtulach@119
    18
            <dirset refid="examples"/>
jtulach@119
    19
        </subant>
jtulach@119
    20
    </target>
jtulach@119
    21
    
jtulach@119
    22
</project>