Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.tools.ant
Class SubstProps

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.hyperic.tools.ant.SubstProps

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

Reads in src, substitutes all tokens of the form ${...} with the values of those properties as defined in the current ant project, writes the substituted text to dest. If no dest file is specified, we will overwrite the src file.


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
SubstProps()
           
 
Method Summary
 void execute()
           
 void setDest(java.io.File dest)
           
 void setSrc(java.io.File src)
           
 
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
 

Constructor Detail

SubstProps

public SubstProps()
Method Detail

setSrc

public void setSrc(java.io.File src)

setDest

public void setDest(java.io.File dest)

execute

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

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.