ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Schmitt" <>
Subject Re: Recursive build
Date Thu, 30 Nov 2000 07:04:26 GMT
IMHO you should use the <ant> task in the upper directory. This will look
like the following XMl code. I wrote it directly in the mail so I didn`t
check the syntax.

<project name="MyProj" default="build" basedir=".">
    <property name="subdirB" value="subB"/>
    <property name="subdirC" value="subC"/>
    <target name="build" depends="buildB,buildC"/>
    <target name="buildB">
        <ant antfile="${subdirB}/build.xml" dir="${subdirB}"/>
    <target name="buildC">
        <ant antfile="${subdirC}/build.xml" dir="${subdirC}"/>

For aditional questions about the syntax of Ant take a look at the online
user manual at

Stefan S

View raw message