net.sf.antcontrib.cpptasks
Class TargetHistoryTable

java.lang.Object
  |
  +--net.sf.antcontrib.cpptasks.TargetHistoryTable

public final class TargetHistoryTable
extends java.lang.Object

A history of the compiler and linker settings used to build the files in the same directory as the history.

Author:
Curt Arnold

Constructor Summary
TargetHistoryTable(CCTask task, java.io.File outputDir)
          Creates a target history table from history.xml in the output directory, if it exists.
 
Method Summary
 void commit()
           
 TargetHistory get(java.lang.String configId, java.lang.String outputName)
           
 void markForRebuild(java.util.Hashtable targetInfos)
           
 void markForRebuild(TargetInfo targetInfo)
           
 void update(long startTime, ProcessorConfiguration config, java.lang.String[] sources)
           
 void update(long startTime, TargetInfo linkTarget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetHistoryTable

public TargetHistoryTable(CCTask task,
                          java.io.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
Method Detail

get

public TargetHistory get(java.lang.String configId,
                         java.lang.String outputName)

update

public void update(long startTime,
                   ProcessorConfiguration config,
                   java.lang.String[] sources)

update

public void update(long startTime,
                   TargetInfo linkTarget)

commit

public void commit()
            throws java.io.IOException

markForRebuild

public void markForRebuild(java.util.Hashtable targetInfos)

markForRebuild

public void markForRebuild(TargetInfo targetInfo)


Copyright © 2001-2002 Ant-Contrib project. All Rights Reserved.