ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject subant (was Re: [SPAM] - Re: Problem: Ant's SQL ...)
Date Tue, 03 Jan 2006 21:17:25 GMT
Hi Shreedhar

please start a new thread with a fresh subject when you post an
unrelated question.

On Tue, 3 Jan 2006, shreedhar natarajan <shreedharn@ami.com> wrote:

> Is there a way to execute all sub-builds with a single subant call.

Sure.

> For eg.
> 
>  <subant target="">
>       <fileset dir="." includes="*/build.xml"/>
>  </subant>
> 
> The above call builds all sub-builds in current directory. I need to
> handle nested directories(not only the first level but also
> subsequent levels).

Just use the correct pattern (read up on Directory Based Tasks in the
Ant manual).  One option would be includes="**/build.xml".

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message