wt.tools.boot
Class ReadWTPropertyTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bywt.tools.boot.ReadWTPropertyTask

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

Read specified property from wt.properties and place it in specified Ant property. This task should not fail. If any errors occur it should simply not set the Ant property.


Field Summary
private  String antPropertyName
           
private  String wtPropertyName
           
 
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
ReadWTPropertyTask()
           
 
Method Summary
 void execute()
           
 void setAntProperty(String antPropertyName)
           
 void setWtProperty(String wtPropertyName)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, 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
 

Field Detail

antPropertyName

private String antPropertyName

wtPropertyName

private String wtPropertyName
Constructor Detail

ReadWTPropertyTask

public ReadWTPropertyTask()
Method Detail

setWtProperty

public void setWtProperty(String wtPropertyName)

setAntProperty

public void setAntProperty(String antPropertyName)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException