wt.tools.boot
Class UpdateJarIncludesFromBOM
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
wt.tools.boot.UpdateJarIncludesFromBOM
- public class UpdateJarIncludesFromBOM
- extends org.apache.tools.ant.Task
Simple Ant task to add the intersection of a BOM (limited to and relative
to codebase) and each FCS.includes and/or DSU.includes file specified
to the corresponding Cust.includes or DSU.includes file. In the case where
DSU.includes is the target only FCS.includes is used in the intersection,
whereas when Cust.includes is the target, then both FCS.includes and
DSU.includes are intersected.
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FCS_SUFFIX
private static final String FCS_SUFFIX
- See Also:
- Constant Field Values
FCS_SUFFIX_LEN
private static final int FCS_SUFFIX_LEN
DSU_SUFFIX
private static final String DSU_SUFFIX
- See Also:
- Constant Field Values
CUST_SUFFIX
private static final String CUST_SUFFIX
- See Also:
- Constant Field Values
jarContentsDir
private File jarContentsDir
logicalJarNames
private String logicalJarNames
bomFile
private File bomFile
updatingCustJars
private boolean updatingCustJars
traceOnly
private boolean traceOnly
UpdateJarIncludesFromBOM
public UpdateJarIncludesFromBOM()
setJarContentsDir
public void setJarContentsDir(File jarContentsDir)
setLogicalJarNames
public void setLogicalJarNames(String logicalJarNames)
setBomFile
public void setBomFile(File bomFile)
setUpdatingCustJars
public void setUpdatingCustJars(boolean updatingCustJars)
setTraceOnly
public void setTraceOnly(boolean traceOnly)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Execute the task.
- Throws:
org.apache.tools.ant.BuildException
updateIncludesFromBOM
private void updateIncludesFromBOM(File dir,
File fcsIncludesFile,
Collection bomColl)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException