public class JycompileAntTask extends GlobMatchingTask
destDir
Constructor and Description |
---|
JycompileAntTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
compile(java.io.File src,
java.io.File compiled,
java.lang.String moduleName)
Compiles the python file
src to bytecode filling in moduleName as
its name, and stores it in compiled . |
protected java.lang.String |
getFrom() |
protected java.lang.String |
getTo() |
void |
process(java.util.Set<java.io.File> toCompile) |
checkParameters, execute, getDestdir, getSrcdir, scanDir, setDestdir, setSrcdir
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 process(java.util.Set<java.io.File> toCompile) throws org.apache.tools.ant.BuildException
process
in class GlobMatchingTask
org.apache.tools.ant.BuildException
protected void compile(java.io.File src, java.io.File compiled, java.lang.String moduleName)
src
to bytecode filling in moduleName
as
its name, and stores it in compiled
. This is called by process for every file
that's compiled, so subclasses can override this method to affect or track the compilation.protected java.lang.String getFrom()
getFrom
in class GlobMatchingTask
protected java.lang.String getTo()
getTo
in class GlobMatchingTask