wt.tools.boot
Class CompareJars

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

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


Field Summary
private  File inputManifest
           
private  File newJar
           
private  File origJar
           
private  String outputPropertyName
           
 
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
CompareJars()
           
 
Method Summary
 void execute()
           
 void setInputManifest(File inputManifest)
          We really should compare portions of manifest except for certain entries like the creating JDK or Ant version.
 void setNewJar(File newJar)
           
 void setOrigJar(File origJar)
           
 void setProperty(String outputPropertyName)
           
 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

origJar

private File origJar

newJar

private File newJar

inputManifest

private File inputManifest

outputPropertyName

private String outputPropertyName
Constructor Detail

CompareJars

public CompareJars()
Method Detail

setOrigJar

public void setOrigJar(File origJar)

setNewJar

public void setNewJar(File newJar)

setInputManifest

public void setInputManifest(File inputManifest)
We really should compare portions of manifest except for certain entries like the creating JDK or Ant version. Instead we simply do not compare jar entries when the input manifest is specified but does not exist or is empty (in either case meaning that we did not care about what is therein).


setProperty

public void setProperty(String outputPropertyName)

setTraceOnly

public void setTraceOnly(boolean traceOnly)

execute

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