Package 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
Constructors Constructor Description TargetHistoryTable(CCTask task, java.io.File outputDir)
Creates a target history table from history.xml in the output directory, if it exists.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit()
TargetHistory
get(java.lang.String configId, java.lang.String outputName)
void
markForRebuild(java.util.Hashtable targetInfos)
void
markForRebuild(TargetInfo targetInfo)
void
update(ProcessorConfiguration config, java.lang.String[] sources, VersionInfo versionInfo)
void
update(TargetInfo linkTarget)
-
-
-
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 errorsoutputDir
- output directory for task- Throws:
org.apache.tools.ant.BuildException
-
-
Method Detail
-
commit
public void commit() throws java.io.IOException
- Throws:
java.io.IOException
-
get
public TargetHistory get(java.lang.String configId, java.lang.String outputName)
-
markForRebuild
public void markForRebuild(java.util.Hashtable targetInfos)
-
markForRebuild
public void markForRebuild(TargetInfo targetInfo)
-
update
public void update(ProcessorConfiguration config, java.lang.String[] sources, VersionInfo versionInfo)
-
update
public void update(TargetInfo linkTarget)
-
-