|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.MatchingTask | +--com.lutris.ant.taskdefs.Jddic
Invoke the Jddic compiler to generate Java code from markup files.
Typically made visible to an Ant build file with the following declaration:
<taskdef name="jddic" classname="com.lutris.ant.taskdefs.Jddic"/>
Parameters
destdir - The destination directory root for compiled classes. srcdir - The source directory root. verbose - Displays the Jddic command and all of the arguments. keep - If true, keep the Java files generated by Jddic. javasorsdir - The destination directory for generated .java files. force - If true, build allways .class files. classpath - The CLASSPATH for javac. exedir - The directory for java.
Inner Class Summary | |
static class |
Jddic.BooleanAttribute
|
Field Summary | |
protected java.lang.String |
classPath
Set the classpath for the Jddic compiler. |
protected org.apache.tools.ant.types.Commandline |
cmdl
|
protected java.io.File |
destDir
The destination directory into which the generated classes are written. |
protected java.lang.String |
destDirName
The name of destination directory into which the generated classes are written. |
protected boolean |
forceBuild
Force Jddic to always re-process the .jhtml code (or not) |
protected boolean |
iskeep
Specified whether to keep the intermediate .java files. |
protected java.io.File |
javaDir
Set the directory containing the java VM executable files. |
protected java.lang.String |
javaDirName
The name of destination directory into which the generated java files |
protected java.io.File |
javaOutDir
The destination directory into which the generated java files |
protected java.lang.String |
javaOutDirName
Set the name of destination directory into which the generated java files |
protected static java.lang.String |
logHdr
|
protected int |
logLevel
|
protected java.lang.String |
os
|
protected java.io.File |
sorsDir
Set the source directory containing the HTML files. |
protected java.lang.String |
sorsDirName
Set the name of source directory containing the HTML files. |
protected int |
upToDate
|
protected boolean |
verbose
Run Jddic in verbose mode (-verbose flag) |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset, useDefaultExcludes |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
Jddic()
|
Method Summary | |
void |
execute()
Required by ant framework - implements execute() in Task. |
void |
setClasspath(java.lang.String classpath)
Set the classpath for the Jddic compiler. |
void |
setDestdir(java.lang.String dirname)
Set the destination directory into which the generated classes are written |
void |
setExedir(java.lang.String javaexedirname)
Set the directory containing the java VM executable files. |
void |
setForce(java.lang.String force)
Force Jddic to always re-process the .jhtml code (or not) |
void |
setJavasorsdir(java.lang.String dirname)
Set the destination directory into which the generated java files |
void |
setKeep(java.lang.String keep)
Specified whether to keep the intermediate .java files. |
void |
setSrcdir(java.lang.String sorsdirname)
Set the source directory containing the HTML files. |
void |
setVerbose(Jddic.BooleanAttribute _verbose)
Run Jddic in verbose mode (-verbose flag) |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
addAnd, addContains, addCustom, addDate, addDepend, addDepth, addFilename, addMajority, addNone, addNot, addOr, addPresent, addSelector, addSize, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, markInvalid, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected static java.lang.String logHdr
protected java.lang.String destDirName
protected java.io.File destDir
protected java.lang.String javaOutDirName
protected java.io.File javaOutDir
protected boolean iskeep
protected java.lang.String sorsDirName
protected java.io.File sorsDir
protected java.lang.String javaDirName
protected java.io.File javaDir
protected java.lang.String classPath
protected org.apache.tools.ant.types.Commandline cmdl
protected boolean verbose
protected boolean forceBuild
protected int logLevel
protected int upToDate
protected java.lang.String os
Constructor Detail |
public Jddic()
Method Detail |
public void setDestdir(java.lang.String dirname)
public void setJavasorsdir(java.lang.String dirname)
public void setKeep(java.lang.String keep)
public void setSrcdir(java.lang.String sorsdirname)
public void setExedir(java.lang.String javaexedirname)
public void setClasspath(java.lang.String classpath)
public void setForce(java.lang.String force)
public void setVerbose(Jddic.BooleanAttribute _verbose)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |