ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atul V. Setlur" <>
Subject Re: Building a hirechial build system
Date Tue, 13 Feb 2001 16:36:39 GMT
>Yes it is possible to make a hierarchial build system using ant.  There >is a built
in task called <ant> that allows you to specify an ant build
>script as well as the target within that script to run.

Does this result in a new javac process each time? Additionally, does
this mean that one would need to define new targets for each directory
in the main build.xml file? 

Alternatively, is there a way of automating the search so that the
contents of the build.xml files in the sub directory be included in the
appropriate targets? For instance, if I want to exclude a particular
package from being included in compilation then I would probably want to
specify the <exclude> in the directory and would want this to be
included in my compile target.


       -----Original Message-----
       From: Ori Burstein []
       Sent: Tuesday, February 13, 2001 10:41 AM
       Cc: Gadi Berman
       Subject: Building a hirechial build system

       I would like to know if it's possible to build a hirerchial build
system using ant, just like you do with makefiles.
       For that I assume I need a way to include ant files in some way,
or is there a different approach for doing that with ant ?
       Also, is there a place where I can find ant templates ?
       For example - for building Java beans, etc.
       Thanks, Ori.

View raw message