|
|||||||||||
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.ibatis.abator.ant.AbatorAntTask
This is an Ant task that will run Abator. The following is a sample Ant script that shows how to run Abator from Ant:
<project default="genfiles" basedir="."> <target name="genfiles" description="Generate the files"> <taskdef name="abator.genfiles" classname="org.apache.ibatis.abator.ant.AbatorAntTask" classpath="abatorxxx.jar" /> <abator.genfiles overwrite="true" configfile="abatorConfig.xml" /> </target> </project>
Field Summary |
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 | |
AbatorAntTask()
|
Method Summary | |
void |
execute()
|
java.lang.String |
getConfigfile()
|
boolean |
isOverwrite()
|
void |
setConfigfile(java.lang.String configfile)
|
void |
setOverwrite(boolean overwrite)
|
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbatorAntTask()
Method Detail |
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public java.lang.String getConfigfile()
public void setConfigfile(java.lang.String configfile)
configfile
- The configfile to set.public boolean isOverwrite()
public void setOverwrite(boolean overwrite)
overwrite
- The overwrite to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |