smuggledPancakes
smuggledPancakes

Reputation: 10333

Why is the default behavior for Ant Copy to not overwrite files based on time-stamp?

This really burned me recently: Burned by Ant Copy...

I am just surprised this is the default behavior for Ant Copy. Does anyone know why this rule stands? Is it a hated default but not trivial to change because it would break old code? Is it a good default but I just don't understand why?

Upvotes: 0

Views: 146

Answers (1)

Brett Kail
Brett Kail

Reputation: 33956

Ant was developed to be a build system, not a general-purpose scripting language. Only copying files that are out of date is an important part of a build system in order to have high performance incremental builds (changing a subset of input files should only execute the minimum number of actions required to complete the build).

Upvotes: 2

Related Questions