|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.osjava.jardiff.ant.JarDiffTask
Process two jarfiles generating a public API difference report. This is useful for keeping track of API changes between versions of a project.
| Field Summary |
| 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 | |
JarDiffTask()
|
|
| Method Summary | |
void |
execute()
Run the task, generating the jardiff report. |
void |
setForce(boolean force)
Force output even if there is an existing diff file which is newer than the source jar files. |
void |
setFromjar(File fromJar)
Set the from jar file. |
void |
setFromname(String fromName)
Set the from jar visible name. |
void |
setOut(File out)
Set the out file. |
void |
setTojar(File toJar)
Set the to jar file. |
void |
setToname(String toName)
Set the to jar visible name. |
| 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 |
| Constructor Detail |
public JarDiffTask()
| Method Detail |
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - When there is an error creating the diff,
When there is a problem with the xml parser,
When there is a problem with the xslt transformer
When the attributes specified are invalid.public void setFromjar(File fromJar)
fromJar - a jar file.public void setTojar(File toJar)
toJar - a jar file.public void setOut(File out)
out - an output file.public void setFromname(String fromName)
fromName - a visible name.public void setToname(String toName)
toName - a visible name.public void setForce(boolean force)
force - true to force output, false otherwise
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||