|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTask
org.objectweb.speedo.ant.AntSpeedo
Ant task that can be used to execute the generation.
Parameters of the task:
localpropertiesfile
, indicates whether there is a jdo.propertiesconfFile
, location of the corresponding properties fileslogPropFile
, location of the log system properties fileprojectname
is the project name (optional) (Jorm parameter)mappername
is the mapper name for which the code will be generatedkeepsrc
, indicates whether generated Java files must be kept (optionnal, the default value is trueinput
, location of the base directory of .class
filesoutput
, location of the base destination directoryclasspath
nested classpath element containing the speedo and jorm jarsjdopath
nested element containing a parameter dir
and include elements
, location of .jdo
JDO XML Descriptorsjormpath
(similar to jdopath
), location of .pd
JORM XML Descriptorspersistenceaware
(similar to jdopath
), location of Persistence Aware Java Classkeepclasses
, indicates whether original java classes must be stored in another directory (see below)storedir
, location for storing original classesfailsonerror
, indicates whether the process should fail if an error occurs
Nested Class Summary | |
---|---|
class |
AntSpeedo.Description
Task used to parse nested jdopath or jormpath elements. |
Constructor Summary | |
---|---|
AntSpeedo()
|
Method Summary | |
---|---|
Path |
createClasspath()
|
DTDLocation |
createDTD()
Create a DTD location record. |
MatchingTask |
createJavac()
|
AntSpeedo.Description |
createJdopath()
|
Path |
createJormClasspath()
|
AntSpeedo.Description |
createJormpath()
|
AntSpeedo.Description |
createPersistenceaware()
|
void |
execute()
Main method of the task executed by ant. |
Path |
getClasspath()
|
boolean |
getGenerateJormFile()
|
Path |
getJormClasspath()
|
void |
init()
|
void |
setClasspath(Path cp)
|
void |
setClasspathRef(Reference r)
|
void |
setConfFile(java.io.File confFile)
Deprecated. |
void |
setGenerateJormFile(boolean val)
|
void |
setInput(java.io.File intput)
|
void |
setJormClasspath(Path cp)
|
void |
setJormClasspathRef(Reference r)
|
void |
setKeepsrc(boolean keepsrc)
|
void |
setLogPropFile(java.io.File logPropFile)
|
void |
setMappername(java.lang.String mapperName)
|
void |
setOutput(java.io.File output)
|
void |
setProjectname(java.lang.String projectName)
|
void |
setSrc(java.io.File src)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AntSpeedo()
Method Detail |
public void init() throws BuildException
BuildException
public void setConfFile(java.io.File confFile)
public void setLogPropFile(java.io.File logPropFile)
public void setProjectname(java.lang.String projectName)
public void setMappername(java.lang.String mapperName)
public void setSrc(java.io.File src)
public void setKeepsrc(boolean keepsrc)
public DTDLocation createDTD()
public void setOutput(java.io.File output)
public void setInput(java.io.File intput)
public void setClasspath(Path cp)
public Path getClasspath()
public Path createClasspath()
public void setClasspathRef(Reference r)
public AntSpeedo.Description createJdopath()
public MatchingTask createJavac()
public AntSpeedo.Description createJormpath()
public void setJormClasspath(Path cp)
public Path getJormClasspath()
public Path createJormClasspath()
public void setJormClasspathRef(Reference r)
public AntSpeedo.Description createPersistenceaware()
public void setGenerateJormFile(boolean val)
public boolean getGenerateJormFile()
public void execute() throws BuildException
BuildException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |