public class RepeatableArchive
extends org.apache.tools.ant.Task
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 and Description |
|---|
RepeatableArchive() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet fs)
Sets the files to be processed
|
void |
execute() |
void |
setDatetime(java.lang.String datetime) |
void |
setPattern(java.lang.String pattern) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void addFileset(org.apache.tools.ant.types.FileSet fs)
fs - The fileset to be processed.public void setDatetime(java.lang.String datetime)
public void setPattern(java.lang.String pattern)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionCopyright © 2000-2023 Apache Software Foundation. All Rights Reserved.