ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Schmetzer" <...@exubero.com>
Subject Re: Building Dependent targets
Date Thu, 24 May 2007 16:30:53 GMT
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:

http://www.exubero.com/ant/dependencies.html

HTH
-- 
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/
                   +44-(0)7775-770-422

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


Mime
View raw message