org.cafesip.upgrade
Class UpgraderTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.cafesip.upgrade.UpgraderTask

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

An Ant task that can be invoked from within an Ant script to perform the upgrade. To run the upgrader task from your ant script:

 <path id="upgrader.classpath">
 <!-- Add the classpath you need -->
 </path>
 <taskdef name="upgrader" classname="org.cafesip.upgrade.UpgraderTask"
 classpathref="upgrader.classpath" />
  <upgrader patchDir="DIRNAME" />
 

Author:
Amit Chatterjee

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
UpgraderTask()
          A constructor for this class.
 
Method Summary
 void execute()
           
 java.lang.String getPatchDir()
           
 void setPatchDir(java.lang.String patchDir)
           
 
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

UpgraderTask

public UpgraderTask()
A constructor for this class.

Method Detail

execute

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

getPatchDir

public java.lang.String getPatchDir()
Returns:
Returns the patchDir.

setPatchDir

public void setPatchDir(java.lang.String patchDir)
Parameters:
patchDir - The patchDir to set.


Copyright © 2009 CafeSip.org. All Rights Reserved.