Class RepeatableArchive

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tomcat.buildutil.RepeatableArchive
All Implemented Interfaces:
Cloneable

public class RepeatableArchive extends org.apache.tools.ant.Task
Ant task to assist with repeatable builds.

While originally written to address an issue with Javadoc output, this task takes a generic approach that could be used with any archive. The task takes a set of zip (or jar, war etc) files as its input and sets the last modified time of every file in the archive to be the same as the last modified time of the archive.