xdoclet.ant
Class AntPropertyTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--xdoclet.ant.AntPropertyTask

Deprecated. Use ReplaceCopy instead

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

This task invokes the template engine on a user provided template. This template should only use tags. The intent is to use XDoclet's template engine as a "search and replace" engine, where the values are extracted from ant properties instead of class tags. This task does not look for tags in classes at all. See the examples for more information.

Version:
$Revision: 1.6 $
Author:
Aslak Hellesøy

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
AntPropertyTask()
          Deprecated.  
 
Method Summary
 void execute()
          Deprecated.  
 void setDestinationFile(java.io.File destinationFile)
          Deprecated.  
 void setTemplateFile(java.io.File templateFile)
          Deprecated.  
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, 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
 

Constructor Detail

AntPropertyTask

public AntPropertyTask()
Deprecated. 
Method Detail

setDestinationFile

public void setDestinationFile(java.io.File destinationFile)
Deprecated. 

setTemplateFile

public void setTemplateFile(java.io.File templateFile)
Deprecated. 

execute

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