org.objectweb.speedo.wizard.ant.batch
Class Antjdo2jorm

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.objectweb.speedo.wizard.ant.batch.Antjdo2jorm

public class Antjdo2jorm
extends Task


Nested Class Summary
 class Antjdo2jorm.Description
          Task used to parse nested jdopath or jormpath elements.
 
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
Antjdo2jorm()
           
 
Method Summary
 Path createClasspath()
           
 DTDLocation createDTD()
          Create a DTD location record.
 Antjdo2jorm.Description createJdopath()
           
 Path createJormClasspath()
           
 Antjdo2jorm.Description createJormpath()
           
 void execute()
          Main method of the task executed by ant.
 Path getClasspath()
           
 Path getJormClasspath()
           
 void init()
           
 void setBinarydir(java.io.File binaryDir)
           
 void setClasspath(Path cp)
           
 void setClasspathRef(Reference r)
           
 void setConffile(java.io.File jormconfFile)
          Deprecated.  
 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 setOutputdir(java.io.File outputDir)
           
 void setProjectname(java.lang.String projectName)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, 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

Antjdo2jorm

public Antjdo2jorm()
Method Detail

init

public void init()
          throws BuildException
Throws:
BuildException

setConffile

public void setConffile(java.io.File jormconfFile)
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)

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

setOutputdir

public void setOutputdir(java.io.File outputDir)

setBinarydir

public void setBinarydir(java.io.File binaryDir)

setClasspath

public void setClasspath(Path cp)

getClasspath

public Path getClasspath()

createClasspath

public Path createClasspath()

setClasspathRef

public void setClasspathRef(Reference r)

createJdopath

public Antjdo2jorm.Description createJdopath()

createJormpath

public Antjdo2jorm.Description createJormpath()

setJormClasspath

public void setJormClasspath(Path cp)

getJormClasspath

public Path getJormClasspath()

createJormClasspath

public Path createJormClasspath()

setJormClasspathRef

public void setJormClasspathRef(Reference r)

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