net.sf.antcontrib.cpptasks

Class 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.

Author: Curt Arnold

Constructor Summary
TargetHistoryTable(CCTask task, File outputDir)
Creates a target history table from history.xml in the output directory, if it exists.
Method Summary
voidcommit()
TargetHistoryget(String configId, String outputName)
voidmarkForRebuild(Hashtable targetInfos)
voidmarkForRebuild(TargetInfo targetInfo)
voidupdate(ProcessorConfiguration config, String[] sources, VersionInfo versionInfo)
voidupdate(TargetInfo linkTarget)

Constructor Detail

TargetHistoryTable

public TargetHistoryTable(CCTask task, File outputDir)
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

commit

public void commit()

get

public TargetHistory get(String configId, String outputName)

markForRebuild

public void markForRebuild(Hashtable targetInfos)

markForRebuild

public void markForRebuild(TargetInfo targetInfo)

update

public void update(ProcessorConfiguration config, String[] sources, VersionInfo versionInfo)

update

public void update(TargetInfo linkTarget)
Copyright ? 2001-2011 Ant-Contrib project. All Rights Reserved.