wt.tools.boot
Class RemoveJarIncludesEntriesTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bywt.tools.boot.RemoveJarIncludesEntriesTask

public class RemoveJarIncludesEntriesTask
extends org.apache.tools.ant.Task

Removes entries specified by one file from specified jar includes files.


Field Summary
private  File entriesToRemoveFile
           
private  File jarContentsDir
           
private  String logicalJarNames
           
private  boolean traceOnly
           
 
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
 
Constructor Summary
RemoveJarIncludesEntriesTask()
           
 
Method Summary
 void execute()
           
private  void removeEntries(File file, Collection entriesToRemove)
           
 void setEntriesToRemoveFile(File entriesToRemoveFile)
           
 void setJarContentsDir(File jarContentsDir)
           
 void setLogicalJarNames(String logicalJarNames)
           
 void setTraceOnly(boolean traceOnly)
           
 
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
 

Field Detail

entriesToRemoveFile

private File entriesToRemoveFile

jarContentsDir

private File jarContentsDir

logicalJarNames

private String logicalJarNames

traceOnly

private boolean traceOnly
Constructor Detail

RemoveJarIncludesEntriesTask

public RemoveJarIncludesEntriesTask()
Method Detail

setJarContentsDir

public void setJarContentsDir(File jarContentsDir)

setLogicalJarNames

public void setLogicalJarNames(String logicalJarNames)

setEntriesToRemoveFile

public void setEntriesToRemoveFile(File entriesToRemoveFile)

setTraceOnly

public void setTraceOnly(boolean traceOnly)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException

removeEntries

private void removeEntries(File file,
                           Collection entriesToRemove)
                    throws IOException
Throws:
IOException