Top Fields Constructors Methods
org.python.util

public abstract Class GlobMatchingTask

extends MatchingTask
Class Inheritance
Known Direct Subclasses
org.python.util.JycompileAntTask, org.python.expose.generate.ExposeTask
Imports
java.io.File, java.util.Set, org.apache.tools.ant.BuildException, org.apache.tools.ant.taskdefs.MatchingTask, org.apache.tools.ant.types.Path, org.apache.tools.ant.util.GlobPatternMapper, .SourceFileScanner

Field Summary

Modifier and TypeField and Description
protected File
private Path
private Set<File>
Inherited from org.apache.tools.ant.taskdefs.MatchingTask:
fileset

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
checkParameters()

Check that all required attributes have been set and nothing silly has been entered.

public void
execute()

Overrides org.apache.tools.ant.Task.execute.

Called by the project to let the task do its work.

public File

Returns:

the destination directory
getDestdir
()

Gets the destination directory into which the java source files should be compiled.

protected abstract String
public Path
getSrcdir()

Gets the source dirs to find the class files to be exposed.

protected abstract String
protected abstract void
process(Set<File> matches)

protected void
scanDir(File srcDir, File destDir, String[] files)

public void
setDestdir(File
the destination director
destDir
)

Set the destination directory into which the Java source files should be compiled.

public void
setSrcdir(Path srcDir)

Set the source directories to find the class files to be exposed.

Inherited from org.apache.tools.ant.taskdefs.MatchingTask:
addaddAndaddContainsaddContainsRegexpaddCustomaddDateaddDependaddDepthaddDifferentaddFilenameaddMajorityaddModifiedaddNoneaddNotaddOraddPresentaddSelectoraddSizeaddTypeappendSelectorcreateExcludecreateExcludesFilecreateIncludecreateIncludesFilecreatePatternSetgetDirectoryScannergetImplicitFileSetgetSelectorshasSelectorsselectorCountselectorElementssetCaseSensitivesetDefaultexcludessetExcludessetExcludesfilesetFollowSymlinkssetIncludessetIncludesfilesetProjectXsetIgnoreXsetItems

Field Detail

destDirback to summary
protected File destDir
srcback to summary
private Path src
toExposeback to summary
private Set<File> toExpose

Constructor Detail

GlobMatchingTaskback to summary
public GlobMatchingTask()

Method Detail

checkParametersback to summary
protected void checkParameters() throws BuildException

Check that all required attributes have been set and nothing silly has been entered.

executeback to summary
public void execute() throws BuildException

Overrides org.apache.tools.ant.Task.execute.

Doc from org.apache.tools.ant.Task.execute.

Called by the project to let the task do its work. This method may be called more than once, if the task is invoked more than once. For example, if target1 and target2 both depend on target3, then running "ant target1 target2" will run all tasks in target3 twice.

Annotations
@Override
Exceptions
BuildException:
if something goes wrong with the build.
getDestdirback to summary
public File getDestdir()

Gets the destination directory into which the java source files should be compiled.

Returns:File

the destination directory

getFromback to summary
protected abstract String getFrom()
getSrcdirback to summary
public Path getSrcdir()

Gets the source dirs to find the class files to be exposed.

getToback to summary
protected abstract String getTo()
processback to summary
protected abstract void process(Set<File> matches)
scanDirback to summary
protected void scanDir(File srcDir, File destDir, String[] files)
setDestdirback to summary
public void setDestdir(File destDir)

Set the destination directory into which the Java source files should be compiled.

Parameters
destDir:File

the destination director

setSrcdirback to summary
public void setSrcdir(Path srcDir)

Set the source directories to find the class files to be exposed.