Class TargetHistoryTable

java.lang.Object
net.sf.antcontrib.cpptasks.TargetHistoryTable

public final class TargetHistoryTable extends Object
A history of the compiler and linker settings used to build the files in the same directory as the history.
  • Field Details

    • dirty

      private boolean dirty
      Flag indicating whether the cache should be written back to file.
    • history

      private final Hashtable history
      a hashtable of TargetHistory's keyed by output file name
    • historyFile

      private File historyFile
      The file the cache was loaded from.
    • outputDir

      private File outputDir
    • outputDirPath

      private String outputDirPath
  • Constructor Details

    • TargetHistoryTable

      public TargetHistoryTable(CCTask task, File outputDir) throws org.apache.tools.ant.BuildException
      Creates a target history table from history.xml in the output directory, if it exists. Otherwise, initializes the history table empty.
      Parameters:
      task - task used for logging history load errors
      outputDir - output directory for task
      Throws:
      org.apache.tools.ant.BuildException
  • Method Details