public class ExmlcTask
extends org.apache.tools.ant.taskdefs.MatchingTask
| Constructor and Description |
|---|
ExmlcTask() |
| 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.
|
String |
getClasspath()
Get the classpath to find joo library files.
|
String |
getConfigClassPackage()
Get the config class package name
|
File |
getDestdir()
Get the destination directory into which AS files will be generated.
|
protected String[] |
getExmlcArgs() |
boolean |
getFailonerror()
Gets the failonerror flag.
|
File[] |
getFileList()
Gets the list of files to be compiled.
|
File |
getResourceDir()
Get the destination directory into which the XSDs will be generated.
|
org.apache.tools.ant.types.Path |
getSrcdir()
Get the source dirs to find the source java files.
|
protected org.apache.tools.ant.types.Path |
recreateSrc()
Recreate src.
|
protected void |
resetFileLists()
Clear the list of files to be compiled and copied..
|
protected void |
scanDir(File srcDir,
File destDir,
String[] files)
Scans the directory looking for source files to be compiled.
|
void |
setClasspath(String classpath)
Set the classpath to find the joo library files.
|
void |
setConfigClassPackage(String configClassPackage)
Set the config class package name
|
void |
setDestdir(File destDir)
Set the destination directory into which the AS files will be generated.
|
void |
setFailonerror(boolean fail)
Indicates whether the build will continue
even if there are compilation errors; defaults to true.
|
void |
setResourceDir(File resourceDir)
Set the resource directory into which the XSDs will be generated.
|
void |
setSrcdir(org.apache.tools.ant.types.Path srcDir)
Set the source directories to find the source joo files.
|
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 String getConfigClassPackage()
public void setConfigClassPackage(String configClassPackage)
configClassPackage - the config class package namepublic 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 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 File getResourceDir()
public void setResourceDir(File resourceDir)
resourceDir - the resource directorypublic void setFailonerror(boolean fail)
fail - whether to fail on errorspublic boolean getFailonerror()
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionprotected void resetFileLists()
protected 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()
protected String[] getExmlcArgs()
Copyright © 2002–2017 CoreMedia AG. All rights reserved.