org.apache.torque.task
Class PackageAsPathTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.torque.task.PackageAsPathTask

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

Simple task to convert packages to paths.

Version:
$Id: PackageAsPathTask.java,v 1.1 2003/02/10 13:20:59 mpoeschl Exp $
Author:
Stephen Haberman

Field Summary
protected  java.lang.String name
          The value to store the conversion in.
protected  java.lang.String pckg
          The package to convert.
 
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
PackageAsPathTask()
           
 
Method Summary
 void execute()
          Executes the package to patch converstion and stores it in the user property value.
 void setName(java.lang.String name)
           
 void setPackage(java.lang.String pckg)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, 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

pckg

protected java.lang.String pckg
The package to convert.


name

protected java.lang.String name
The value to store the conversion in.

Constructor Detail

PackageAsPathTask

public PackageAsPathTask()
Method Detail

execute

public void execute()
Executes the package to patch converstion and stores it in the user property value.


setPackage

public void setPackage(java.lang.String pckg)
Parameters:
pckg - the package to convert

setName

public void setName(java.lang.String name)
Parameters:
name - the Ant variable to store the path in


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