Since it is simply impossible to detect what is outdated and what is not, most collectors have a clean goal (also part of clean buildings). A clean target, simply removes all files from the youre build directory. This directory is usually not converted (svn: ignore).
Not all files in the youre assembly will be the result of the compiler, for example .property files, these files can be saved in an alternative directory that will be copied to the assembly directory. For example, in a web application assembly, you can store these files in / web / WEB -INF / classes and Ant copy them to the assembly directory.
source share