org.apache.avalon.tools.tasks
Class UnbarTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.avalon.tools.tasks.UnbarTask

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

Unpack a bar file into a repository.

Version:
$Revision: 1.2 $ $Date: 2004/03/17 10:30:09 $
Author:
Avalon Development Team

Field Summary
static String BAR_EXT
           
static String BLOCK
           
static String BLOCK_GROUP_KEY
           
static String BLOCK_KEY_KEY
          Group identifier manifest key.
static String BLOCK_NAME_KEY
           
static String BLOCK_VERSION_KEY
           
 
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
UnbarTask()
           
 
Method Summary
 void execute()
           
 void setFile(File bar)
           
 void setHref(URL href)
           
 void setRepository(File cache)
           
 
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
 

Field Detail

BLOCK_KEY_KEY

public static final String BLOCK_KEY_KEY
Group identifier manifest key.

See Also:
Constant Field Values

BLOCK_GROUP_KEY

public static final String BLOCK_GROUP_KEY
See Also:
Constant Field Values

BLOCK_NAME_KEY

public static final String BLOCK_NAME_KEY
See Also:
Constant Field Values

BLOCK_VERSION_KEY

public static final String BLOCK_VERSION_KEY
See Also:
Constant Field Values

BLOCK

public static final String BLOCK
See Also:
Constant Field Values

BAR_EXT

public static final String BAR_EXT
See Also:
Constant Field Values
Constructor Detail

UnbarTask

public UnbarTask()
Method Detail

setRepository

public void setRepository(File cache)

setHref

public void setHref(URL href)

setFile

public void setFile(File bar)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException