org.enableit.db.darrt.ant
Class DarHandlerTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.enableit.db.darrt.ant.DarHandlerTask

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

Expose DarHandler as Ant task.

Author:
Tim Stephenson

Field Summary
static java.lang.String ABOUT
          CVS info ABOUT this class and its current version
 
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
DarHandlerTask()
          Default constructor.
 
Method Summary
 void execute()
          Installs the dar file.
 void setDarFile(java.lang.String darFile)
          Sets the dar file name.
 void setDebug(boolean debug)
           
 
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
 

Field Detail

ABOUT

public static final java.lang.String ABOUT
CVS info ABOUT this class and its current version

See Also:
Constant Field Values
Constructor Detail

DarHandlerTask

public DarHandlerTask()
Default constructor.

Method Detail

setDarFile

public void setDarFile(java.lang.String darFile)
Sets the dar file name.

Parameters:
darFile - Name of DAR archive to be installed in database.

setDebug

public void setDebug(boolean debug)
Parameters:
debug - Whether to issue extra debug information.

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Installs the dar file.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - If for any reason the installation cannot proceed.


Copyright © 1999-2004 enableIT.org. All Rights Reserved.