ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Scokart <>
Subject Re: Building Dependent targets
Date Fri, 25 May 2007 07:09:18 GMT

If you have multiple projects and you want to build them the right order, you
can also use ivy (  It's a dependency
managment tool having ant tasks to order a list of subproject according to
their respective dependencies
(  It use a metadata
XML file to descibes the dependency of every module.  Ivy can also use this
file to do a lot of other thinks like definind classpaths or fileset, or
producing report.


Doug Lochart-3 wrote:
> Joe Schmetzer wrote:
>> On Thu, 24 May, 2007 12:46 pm, query wrote:
>>> Earlier I was using some other build tool to build my project. Here if a
>>> target is built and if the same target is used to build some other
>>> target,
>>> it compares the timestamp and will not build the dependent targets
>>> again.
>>> As I started working on ANT, I found it very useful and intersting. But
>>> in
>>> ANT, while building each target, it will try to build all the dependent
>>> targets that many times as it occurs in different targets. As a result
>>> it
>>> is increasing project\'s build time.Is there any task to ensure that the
>>> dependent targets once built will not&nbsp; be built again ????
>> If you're willing to reorganise you build targets into different
>> projects,
>> the technique described here can help:
>> HTH
> I like this approach.  I may look into adopting it.  I have projects 
> very segregated already so adopting this style should be easy and
> painless.
> thanks
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message