|
DODS 6.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.apache.tools.ant.taskdefs.Javac
org.enhydra.ant.taskdefs.DODS_XMLBuilder
<taskdef name="dods" classname="org.enhydra.ant.taskdefs.Dods"/>Parameters
doml - The doml input file describing data object mapping. Required = Yes outdir - Target for generated classes, expressed as a directory path. Required = Yes tablesonly - If this attribute is set to true dods tast generate only tables.xml. Required = No force - Force DODS to always be regenerated source files. Required = No
<dods doml="${basedir}/discRack.doml" outdir="${basedir}/src"/>
Nested Class Summary | |
static class |
DODS_XMLBuilder.BooleanAttribute
|
Nested classes inherited from class org.apache.tools.ant.taskdefs.Javac |
org.apache.tools.ant.taskdefs.Javac.ImplementationSpecificArgument |
Field Summary | |
protected java.lang.String |
configDir
|
protected java.lang.String |
database
|
protected java.io.File |
domlFile
|
protected boolean |
forceBuild
|
protected java.io.File |
sourceoutDir
|
protected boolean |
tablesOnly
|
Fields inherited from class org.apache.tools.ant.taskdefs.Javac |
compileList, failOnError, listFiles |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset, useDefaultExcludes |
Fields inherited from class org.apache.tools.ant.Task |
description, location, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
DODS_XMLBuilder()
|
Method Summary | |
void |
execute()
Simply invoke DODS Generator, and then compile the generated files |
java.lang.String |
getConfigDir()
Returns curent configurationDir (folder with dodsConf.xml file). |
void |
setConfigDir(java.lang.String string)
|
void |
setDatabase(java.lang.String database)
Set the database vendor for creating sql |
void |
setDoml(java.io.File domlFile)
Sets the doml descriptor file. |
void |
setForce(java.lang.String force)
Force DODS to always be regenerated source files |
void |
setOutdir(java.io.File sourceout)
The destination directory into which the generated sources are written |
void |
setTablesonly(boolean isTablesOnly)
Sets tablesOnly property. |
Methods inherited from class org.apache.tools.ant.taskdefs.Javac |
checkParameters, compile, createBootclasspath, createClasspath, createCompilerArg, createExtdirs, createSourcepath, createSrc, getBootclasspath, getClasspath, getCompiler, getCompilerVersion, getCurrentCompilerArgs, getDebug, getDebugLevel, getDepend, getDeprecation, getDestdir, getEncoding, getExtdirs, getFailonerror, getFileList, getIncludeantruntime, getIncludejavaruntime, getJavacExecutable, getListfiles, getMemoryInitialSize, getMemoryMaximumSize, getNowarn, getOptimize, getSource, getSourcepath, getSrcdir, getSystemJavac, getTarget, getVerbose, isForkedJavac, isJdkCompiler, recreateSrc, resetFileLists, scanDir, setBootclasspath, setBootClasspathRef, setClasspath, setClasspathRef, setCompiler, setDebug, setDebugLevel, setDepend, setDeprecation, setDestdir, setEncoding, setExecutable, setExtdirs, setFailonerror, setFork, setIncludeantruntime, setIncludejavaruntime, setListfiles, setMemoryInitialSize, setMemoryMaximumSize, setNowarn, setOptimize, setProceed, setSource, setSourcepath, setSourcepathRef, setSrcdir, setTarget, setVerbose |
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, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.File domlFile
protected java.io.File sourceoutDir
protected java.lang.String database
protected boolean forceBuild
protected boolean tablesOnly
protected java.lang.String configDir
Constructor Detail |
public DODS_XMLBuilder()
Method Detail |
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setDoml(java.io.File domlFile)
domlFile
- - The doml input file describing data object mappingpublic void setOutdir(java.io.File sourceout)
sourceout
- - Target for generated classes, expressed as a directory
pathpublic void setDatabase(java.lang.String database)
database
- database vendor for creating sqlpublic void setTablesonly(boolean isTablesOnly)
isTablesOnly
- - new tablesOnly value.public void setForce(java.lang.String force)
force
- - Set to "true" or "false"public java.lang.String getConfigDir()
public void setConfigDir(java.lang.String string)
string
-
|
DODS 6.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |