public class Gosuc extends GosuMatchingTask
The following parameters are available:
false.true.| Modifier and Type | Field and Description |
|---|---|
protected List<File> |
compileList |
| Constructor and Description |
|---|
Gosuc() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Adds a path to the classpath.
|
org.apache.tools.ant.types.Path |
createSrc()
Adds a path for source compilation.
|
void |
execute()
Executes the task.
|
File |
getDestdir()
Gets the destination directory into which the Gosu source files
should be compiled.
|
boolean |
getFailOnError()
Gets the FailOnError flag.
|
List<File> |
getFileList()
Gets the list of files to be compiled.
|
String |
getProjectName()
Gets the optional Project Name.
This has no impact on the compilation; simply outputs this value in the compilation complete message. |
org.apache.tools.ant.types.Path |
getSrcdir()
Gets the source dirs to find the source Gosu files.
|
boolean |
isCheckedArithmetic() |
boolean |
isForce()
Gets the Force flag.
ant's directory scanner is timestamp based. |
protected org.apache.tools.ant.types.Path |
recreateSrc()
Recreate src.
|
protected void |
scanDir(File srcDir,
File destDir,
String[] files)
Scans the directory looking for source files to be compiled.
|
void |
setAdditionalScriptExtensions(String extensions) |
void |
setCheckedArithmetic(boolean checkedArithmetic) |
void |
setClasspathRef(org.apache.tools.ant.types.Reference ref)
Adds a reference to a classpath defined elsewhere.
|
void |
setDestdir(File destDir)
Set the destination directory into which the Gosu source
files should be compiled.
|
void |
setFailOnError(boolean fail)
Indicates whether the build will continue
even if there are compilation errors; defaults to true.
|
void |
setForce(boolean force) |
void |
setProjectName(String projectName) |
void |
setSrcdir(org.apache.tools.ant.types.Path srcDir)
Set the source directories to find the source Gosu files.
|
buildErroradd, 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, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic org.apache.tools.ant.types.Path createSrc()
protected org.apache.tools.ant.types.Path recreateSrc()
public void setSrcdir(org.apache.tools.ant.types.Path srcDir)
srcDir - the source directories as a pathpublic org.apache.tools.ant.types.Path getSrcdir()
public void setDestdir(File destDir)
destDir - the destination directorypublic File getDestdir()
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference ref)
ref - a reference to a classpathpublic void setAdditionalScriptExtensions(String extensions)
extensions - Additional extensions to compile; for example "grs, gr"public void setFailOnError(boolean fail)
fail - if true halt the build on failurepublic boolean getFailOnError()
public boolean isCheckedArithmetic()
public void setCheckedArithmetic(boolean checkedArithmetic)
public boolean isForce()
public void setForce(boolean force)
public String getProjectName()
public void setProjectName(String projectName)
protected void scanDir(File srcDir, File destDir, String[] files)
srcDir - The source directorydestDir - The destination directoryfiles - An array of filenamespublic List<File> getFileList()
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - if an error occursCopyright © 2016. All rights reserved.