wt.tools.boot
Class ConsolidateDuplicateJarEntriesTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
wt.tools.boot.ConsolidateDuplicateJarEntriesTask
- public class ConsolidateDuplicateJarEntriesTask
- extends org.apache.tools.ant.Task
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 |
INCLUDES_FILE_SUFFIX
private static final String INCLUDES_FILE_SUFFIX
- See Also:
- Constant Field Values
MANIFEST_FILE_SUFFIX
private static final String MANIFEST_FILE_SUFFIX
- See Also:
- Constant Field Values
MANIFEST_FILE_SUFFIX_LEN
private static final int MANIFEST_FILE_SUFFIX_LEN
ALLOWABLE_JAR_COMPONENT_TYPES
private static final String[] ALLOWABLE_JAR_COMPONENT_TYPES
jarManifestsDir
private File jarManifestsDir
jarContentsDir
private File jarContentsDir
logicalJarNames
private String logicalJarNames
jarComponentType
private String jarComponentType
traceOnly
private boolean traceOnly
ConsolidateDuplicateJarEntriesTask
public ConsolidateDuplicateJarEntriesTask()
setJarManifestsDir
public void setJarManifestsDir(File jarManifestsDir)
setJarContentsDir
public void setJarContentsDir(File jarContentsDir)
setLogicalJarNames
public void setLogicalJarNames(String logicalJarNames)
setJarComponentType
public void setJarComponentType(String jarComponentType)
setTraceOnly
public void setTraceOnly(boolean traceOnly)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
sanitizeJarComponentType
private void sanitizeJarComponentType()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
process
private void process(String jarName,
Set selectedJarNames,
JarDependencies jarDependencies,
Set processedJarNames)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
collectInputFiles
private void collectInputFiles(Set inputFileSet,
String jarName,
Set selectedJarNames,
JarDependencies jarDependencies)
trace
private void trace(File[] inputFiles,
File outputFile)