Class RepeatableArchive

  • All Implemented Interfaces:

    public class RepeatableArchive
    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.

    • Field Summary

      • Fields inherited from class

        target, taskName, taskType, wrapper
      • Fields inherited from class

        description, location, project
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addFileset​( fs)
      Sets the files to be processed
      void execute()  
      void setDatetime​(java.lang.String datetime)  
      void setPattern​(java.lang.String pattern)  
      • Methods inherited from class

        bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
      • Methods inherited from class

        clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RepeatableArchive

        public RepeatableArchive()
    • Method Detail

      • addFileset

        public void addFileset​( fs)
        Sets the files to be processed
        fs - The fileset to be processed.
      • setDatetime

        public void setDatetime​(java.lang.String datetime)
      • setPattern

        public void setPattern​(java.lang.String pattern)
      • execute

        public void execute()
        execute in class