Reputation: 81
I have a build with multiple interlinked dependencies, Several projects have common dependencies that are currently compiled more than once. I think in Ant we can tell it not to re-build something if its already just done it as part of the same task, can anyone please advise
Upvotes: 0
Views: 95
Reputation: 617
Like leonm says, the compiler will do the right thing. But that won't stop Ant from rebuilding loads of artifacts. What I'd suggest is:
And finally, use the 'unless' attribute of the target element to prevent the target running.
Upvotes: 0