public class JoocTask
extends org.apache.tools.ant.taskdefs.MatchingTask
| Constructor and Description |
|---|
JoocTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkParameters()
Check that all required attributes have been set and nothing
silly has been entered.
|
protected void |
compile()
Perform the compilation.
|
org.apache.tools.ant.types.Path |
createSrc()
Adds a path for source compilation.
|
void |
execute()
Executes the task.
|
File |
getApiDestDir() |
String |
getAutoSemicolon() |
String |
getClasspath()
Get the classpath to find joo library files.
|
String |
getDebugLevel() |
File |
getDestdir()
Get the destination directory into which the java source files
should be compiled.
|
boolean |
getEnableAssertions() |
boolean |
getFailonerror()
Gets the failonerror flag.
|
File[] |
getFileList()
Gets the list of files to be compiled.
|
org.apache.tools.ant.types.Path |
getSrcdir()
Get the source dirs to find the source java files.
|
boolean |
getVerbose()
Gets the verbose flag.
|
boolean |
isAllowduplicatelocalvariables()
Gets the allowduplicatelocalvariables flag.
|
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 |
setAllowduplicatelocalvariables(boolean allowduplicatelocalvariables)
Sets the allowduplicatelocalvariables flag.
|
void |
setApiDestDir(File apiDestDir) |
void |
setAutoSemicolon(String autoSemicolon) |
void |
setClasspath(String classpath)
Set the classpath to find the joo library files.
|
void |
setDebugLevel(String debugLevel) |
void |
setDestdir(File destDir)
Set the destination directory into which the Java source
files should be compiled.
|
void |
setEnableAssertions(boolean enableAssertions) |
void |
setFailonerror(boolean fail)
Indicates whether the build will continue
even if there are compilation errors; defaults to true.
|
void |
setSrcdir(org.apache.tools.ant.types.Path srcDir)
Set the source directories to find the source joo files.
|
void |
setVerbose(boolean verbose)
If true, asks the compiler for verbose output.
|
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, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic boolean getEnableAssertions()
public void setEnableAssertions(boolean enableAssertions)
public File getApiDestDir()
public void setApiDestDir(File apiDestDir)
public org.apache.tools.ant.types.Path createSrc()
public org.apache.tools.ant.types.Path recreateSrc()
public void setSrcdir(org.apache.tools.ant.types.Path srcDir)
srcDir - the source directoriespublic org.apache.tools.ant.types.Path getSrcdir()
public void setClasspath(String classpath)
classpath - the classpathpublic String getClasspath()
public void setDestdir(File destDir)
destDir - the destination directorypublic File getDestdir()
public void setFailonerror(boolean fail)
fail - whether to fail on errorspublic boolean getFailonerror()
public boolean isAllowduplicatelocalvariables()
public void setAllowduplicatelocalvariables(boolean allowduplicatelocalvariables)
allowduplicatelocalvariables - the allowduplicatelocalvariables flagpublic String getDebugLevel()
public void setDebugLevel(String debugLevel)
public void setVerbose(boolean verbose)
verbose - the verbose statepublic boolean getVerbose()
public String getAutoSemicolon()
public void setAutoSemicolon(String autoSemicolon)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionprotected void scanDir(File srcDir, File destDir, String[] files)
srcDir - the source directorydestDir - the destination directoryfiles - the files to scanpublic File[] getFileList()
protected void checkParameters()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - when a build error occurredprotected void compile()
Copyright © 2002–2021 CoreMedia AG. All rights reserved.