Package org.apache.tomcat.buildutil
Class RepeatableArchive
- java.lang.Object
- 
- org.apache.tools.ant.ProjectComponent
- 
- org.apache.tools.ant.Task
- 
- org.apache.tomcat.buildutil.RepeatableArchive
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable
 
 public class RepeatableArchive extends org.apache.tools.ant.TaskAnt 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. 
- 
- 
Constructor SummaryConstructors Constructor Description RepeatableArchive()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFileset(org.apache.tools.ant.types.FileSet fs)Sets the files to be processedvoidexecute()voidsetDatetime(java.lang.String datetime)voidsetPattern(java.lang.String pattern)- 
Methods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
- 
 
- 
- 
- 
Method Detail- 
addFilesetpublic void addFileset(org.apache.tools.ant.types.FileSet fs) Sets the files to be processed- Parameters:
- fs- The fileset to be processed.
 
 - 
setDatetimepublic void setDatetime(java.lang.String datetime) 
 - 
setPatternpublic void setPattern(java.lang.String pattern) 
 - 
executepublic void execute() throws org.apache.tools.ant.BuildException- Overrides:
- executein class- org.apache.tools.ant.Task
- Throws:
- org.apache.tools.ant.BuildException
 
 
- 
 
-