You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by dheeraj tandon <dh...@gmail.com> on 2008/03/06 06:40:38 UTC
Incremental Build Impementation...
Hi ,
I am working on implementing incremental build to reduce build time like
compiling only new and changed java souce code, copy only new and change jar
files/config files etc but I am facing following issue
- If some of the jars,config and other files deleted from source location
due to whatever they remain as it is in destination directory because I am
not deleting the destination dir because of incremental build....
Anybody have any clue how to get rid off this issue so that I can able to do
build incrementally ....
--
Regrds
Dheeraj Tandon
Re: Incremental Build Impementation...
Posted by Peter Reilly <pe...@gmail.com>.
The normal way to deal with this is to accept that the dependency checks in
ant are not complete (in fact they are completely brain-dead) and do ant clean
very often. For example, using Continuous integration, always do a clean
target (which removes *ALL* build generated artifacts) before the main build.
Peter
On Thu, Mar 6, 2008 at 5:40 AM, dheeraj tandon <dh...@gmail.com> wrote:
> Hi ,
>
> I am working on implementing incremental build to reduce build time like
> compiling only new and changed java souce code, copy only new and change jar
> files/config files etc but I am facing following issue
>
> - If some of the jars,config and other files deleted from source location
> due to whatever they remain as it is in destination directory because I am
> not deleting the destination dir because of incremental build....
>
>
> Anybody have any clue how to get rid off this issue so that I can able to do
> build incrementally ....
>
>
> --
> Regrds
>
> Dheeraj Tandon
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org