net.sf.antcontrib.cpptasks

Class 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, File outputDir)
Creates a target history table from history.xml in the output directory, if it exists.

Method Summary

void
commit()
TargetHistory
get(String configId, String outputName)
void
markForRebuild(Hashtable targetInfos)
void
markForRebuild(TargetInfo targetInfo)
void
update(TargetInfo linkTarget)
void
update(ProcessorConfiguration config, String[] sources, VersionInfo versionInfo)

Constructor Details

TargetHistoryTable

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

commit

public void commit()
            throws IOException

get

public TargetHistory get(String configId,
                         String outputName)

markForRebuild

public void markForRebuild(Hashtable targetInfos)

markForRebuild

public void markForRebuild(TargetInfo targetInfo)

update

public void update(TargetInfo linkTarget)

update

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

Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.