public class AntRewriteTask
extends org.apache.tools.ant.taskdefs.MatchingTask
Constructor and Description |
---|
AntRewriteTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkParameters()
Check that all required attributes have been set and nothing
silly has been entered.
|
void |
execute() |
void |
setDestdir(File pFile)
Directory to which the transformed files will be written.
|
void |
setMode(String name)
Sets the transformer to use.
|
void |
setSrcDir(File pFile)
Directory from which the input files are read.
|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setDestdir(File pFile)
public void setSrcDir(File pFile)
MatchingTask
forms an implicit
FileSet
.public void setMode(String name)
This option is unpublished, because in a long run we'll likely to just focus on one transformer and get rid of the other (and this option will be removed then.)
name
- either "BCEL" or "ASM". Case insensitive.protected void checkParameters() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright © 2004–2023. All rights reserved.