ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthi Prabhakaran <>
Subject Re: Recursive build
Date Fri, 01 Dec 2000 14:09:34 GMT
I do it this way : 
  <target name="build_sources">
    <ant antfile="somebuildfile.xml" dir="subdirA"

The problem with this though is that you can build
only one subdir at a time.  I have not figured out how
to do all the sub-dirs within ANT.  I can drive this
outside from a batch file, but not within ant.  This
was the subject of a question that I posed a couple of
days ago here in this forum.


Michael van Leeuwen  wrote: I've been busy this day to
create a Configure task for Ant.This supports
(generating buildfiles for) recursive builds,including
the possibility to put the classes in a
separatetree.It seems to work very nice at the moment,
but I did no thorough testing yet (I just finished
it).I think you are looking for this new task. I'll
send it to youtomorrow. Others is on request, since it
is still not
testedenough.Michael.[] Original Message -----
From: Evan Yang To: ''
Sent: Thursday 30 November 2000 02:20Subject:
Recursive buildHow do I setup recursive build down to
the directory.ex. in upper build dir A, there are 2
sub components : B and C.The build,xml in A has 2
targets, buildA and buildB, which will cd to lower
directories and start the ant build in either one.Then
there are build.xml in the A and B to handle the
actual build task. How exactly the syntax for the
upper build.xml ? Evan Yang Software Architect Digital
Boardwalk tel. (310) 899-6888 x286 fax (310) 899-6950 

Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.

View raw message