|
|||||||||
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.jarpatch.JarPatchTask
public class JarPatchTask
An Ant task for building zip patch, corresponding to the difference between 2 jar files.
usage:
<:jarpatch newJar="myNewJar.jar" oldjar="myoldjar.jar" resultPatch="myPatch.zip" excludes=".*\.gif,.*\.jpg" logDeleteFile="true" >
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 | |
---|---|
JarPatchTask()
|
Method Summary | |
---|---|
void |
execute()
do the task |
void |
setExcludes(java.lang.String excludes)
|
void |
setLogDeleteFile(boolean v)
|
void |
setNewJar(java.io.File newJar)
|
void |
setOldJar(java.io.File oldJar)
|
void |
setResultPatch(java.io.File resultPatch)
|
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 JarPatchTask()
Method Detail |
---|
public void setExcludes(java.lang.String excludes)
public void setNewJar(java.io.File newJar)
public void setOldJar(java.io.File oldJar)
public void setResultPatch(java.io.File resultPatch)
public void setLogDeleteFile(boolean v)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |