org.apache.jetspeed.util.ant
Class OverwritePropertiesTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.jetspeed.util.ant.OverwritePropertiesTask

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

OverwritePropertiesTask is the task definition for an Ant * interface to the OverwriteProperties. * * @created January 29, 2003 * @author Eric Pugh * @version $Revision: 1.3 $ * @see org.apache.tools.ant.Task


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
OverwritePropertiesTask()
           
 
Method Summary
 void execute()
          Load the step and then execute it * * @exception BuildException * Description of the Exception
 java.io.File getIncludesDir()
          Gets the Directory to look for includes in * * @return Directory to look for includes in
 java.io.File getMergeBaseProperties()
          Gets the File to merge properties into * * @return File to merge properties into
 java.io.File getMergeProperties()
          Gets the File to merge properties from * * @return File to merge properties from
 void setFailOnError(boolean failonerror)
          If false, note errors to the output but keep going.
 void setIncludesDir(java.io.File includesDir)
          Sets the Directory to look for includes in * * @param includesDir Directory to look for includes in
 void setMergeBaseProperties(java.io.File mergeBaseProperties)
          Sets the File to merge properties into * * @param mergeBaseProperties * File to merge properties into
 void setMergeProperties(java.io.File mergeProperties)
          Sets the File to merge properties from * * @param mergeProperties File to merge properties from
 
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
 

Constructor Detail

OverwritePropertiesTask

public OverwritePropertiesTask()
Method Detail

setMergeBaseProperties

public void setMergeBaseProperties(java.io.File mergeBaseProperties)
Sets the File to merge properties into * * @param mergeBaseProperties * File to merge properties into


setMergeProperties

public void setMergeProperties(java.io.File mergeProperties)
Sets the File to merge properties from * * @param mergeProperties File to merge properties from


setIncludesDir

public void setIncludesDir(java.io.File includesDir)
Sets the Directory to look for includes in * * @param includesDir Directory to look for includes in


setFailOnError

public void setFailOnError(boolean failonerror)
If false, note errors to the output but keep going. * @param failonerror true or false


getMergeBaseProperties

public java.io.File getMergeBaseProperties()
Gets the File to merge properties into * * @return File to merge properties into


getMergeProperties

public java.io.File getMergeProperties()
Gets the File to merge properties from * * @return File to merge properties from


getIncludesDir

public java.io.File getIncludesDir()
Gets the Directory to look for includes in * * @return Directory to look for includes in


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Load the step and then execute it * * @exception BuildException * Description of the Exception

Throws:
org.apache.tools.ant.BuildException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.