public class ZipDiffTask
extends org.apache.tools.ant.Task
PatternSet| Modifier and Type | Field and Description |
|---|---|
protected File |
excludesfile |
protected File |
file1 |
protected File |
file2 |
protected File |
includesfile |
static String |
newline |
| Constructor and Description |
|---|
ZipDiffTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
exclude(String filename,
FileWriter writer) |
void |
execute() |
protected void |
include(String filename,
FileWriter writer) |
void |
setExcludesfile(File excludesfile) |
void |
setFile1(File file1) |
void |
setFile2(File file2) |
void |
setIgnoreContent(boolean ignoreContent)
If two files have same name, their content is compared.
|
void |
setIgnoreContentPattern(String ignoreContentPattern)
If two files have same name, their content is compared.
|
void |
setIncludesfile(File includesfile) |
void |
setPatternsetid(String id) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic static String newline
protected File file1
protected File file2
protected File includesfile
protected File excludesfile
public void setFile1(File file1)
public void setFile2(File file2)
public void setIncludesfile(File includesfile)
public void setExcludesfile(File excludesfile)
public void setPatternsetid(String id)
public void setIgnoreContent(boolean ignoreContent)
ignoreContent - if true, files' content is not checkedpublic void setIgnoreContentPattern(String ignoreContentPattern)
ignoreContentPattern - Pattern of filenames for which content must
not be checked. Default value bypass content check for JAR
files but SNAPSHOT ones.public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionprotected void exclude(String filename, FileWriter writer) throws IOException
IOExceptionprotected void include(String filename, FileWriter writer) throws IOException
IOExceptionCopyright © 2016 Nuxeo SA. All Rights Reserved.