org.objectweb.speedo.ant
Class AntSpeedo

java.lang.Object
  extended byTask
      extended byorg.objectweb.speedo.ant.AntSpeedo

public class AntSpeedo
extends Task

Ant task that can be used to execute the generation.

Parameters of the task:

Author:
S.Chassande-Barrioz
See Also:
Serialized Form

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

AntSpeedo

public AntSpeedo()
Method Detail

init

public void init()
          throws BuildException
Throws:
BuildException

setConfFile

public void setConfFile(java.io.File confFile)
Deprecated.  


setLogPropFile

public void setLogPropFile(java.io.File logPropFile)

setProjectname

public void setProjectname(java.lang.String projectName)

setMappername

public void setMappername(java.lang.String mapperName)

setSrc

public void setSrc(java.io.File src)

setKeepsrc

public void setKeepsrc(boolean keepsrc)

createDTD

public DTDLocation createDTD()
Create a DTD location record. This stores the location of a DTD. The DTD is identified by its public Id. The location may either be a file location or a resource location.

Returns:
the DTD location object to be configured by Ant

setOutput

public void setOutput(java.io.File output)

setInput

public void setInput(java.io.File intput)

setClasspath

public void setClasspath(Path cp)

getClasspath

public Path getClasspath()

createClasspath

public Path createClasspath()

setClasspathRef

public void setClasspathRef(Reference r)

createJdopath

public AntSpeedo.Description createJdopath()

createJavac

public MatchingTask createJavac()

createJormpath

public AntSpeedo.Description createJormpath()

setJormClasspath

public void setJormClasspath(Path cp)

getJormClasspath

public Path getJormClasspath()

createJormClasspath

public Path createJormClasspath()

setJormClasspathRef

public void setJormClasspathRef(Reference r)

createPersistenceaware

public AntSpeedo.Description createPersistenceaware()

setGenerateJormFile

public void setGenerateJormFile(boolean val)

getGenerateJormFile

public boolean getGenerateJormFile()

execute

public void execute()
             throws BuildException
Main method of the task executed by ant. Parses xml parameters, loads AntSpeedoExec with its own loader

Throws:
BuildException