net.walend.enum.anttask
Class JEnumTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--net.walend.enum.anttask.JEnumTask

public class JEnumTask
extends org.apache.tools.ant.Task

An ant task for driving JEnum.

  <taskdef name="jenum" classname="net.walend.enum.anttask.JEnumTask" >
   <classpath>
    <pathelement path="${velocity-jar}" />
    <pathelement path="${enum-jar}" />
    <pathelement path="${enum-generator-jar}" />
    <pathelement path="${enum-anttask-jar}" />
   </classpath>
  </taskdef>


Author:
David Walend david@walend.net

Field Summary
private  java.io.File inFile
           
private  java.io.File outFile
           
private  java.io.File velocityLog
           
 
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
JEnumTask()
           
 
Method Summary
 void execute()
           
 void setInFile(java.io.File inFile)
           
 void setOutFile(java.io.File outFile)
           
 void setVelocityLog(java.io.File velocityLog)
           
 
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, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inFile

private java.io.File inFile

outFile

private java.io.File outFile

velocityLog

private java.io.File velocityLog
Constructor Detail

JEnumTask

public JEnumTask()
Method Detail

setInFile

public void setInFile(java.io.File inFile)

setOutFile

public void setOutFile(java.io.File outFile)

setVelocityLog

public void setVelocityLog(java.io.File velocityLog)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException


Copyright (c) 2001, 2002, David Walend