net.sourceforge.esw.ant
Class ChangeCodeForEval

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--net.sourceforge.esw.ant.ChangeCodeForEval

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

Based on the specified file, will read in the contents of the file and remove every line that starts with "/* {{<< BEGIN REPLACEMENT >>}}" and will also change the "${EXP_DATE}" with a date one month ahead of today.


Field Summary
protected  java.lang.String filename
           
 
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
ChangeCodeForEval()
           
 
Method Summary
 void execute()
          Executes the task for this ChangeCodeForEval instance.
 void setFilename(java.lang.String aFilename)
          Sets the filename attribute.
 
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
 

Field Detail

filename

protected java.lang.String filename
Constructor Detail

ChangeCodeForEval

public ChangeCodeForEval()
Method Detail

setFilename

public void setFilename(java.lang.String aFilename)
Sets the filename attribute.

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Executes the task for this ChangeCodeForEval instance.
Overrides:
execute in class org.apache.tools.ant.Task


Copyright 2002 Free Software Foundation. All Rights Reserved.