|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.infoengine.administration.packaging.AntPackageName
Ant task used to convert package name into package file prefix and set a property.
<taskdef name="packname" classname="com.infoengine.administration.packaging.AntPackageName"> <classpath refid="cp"/> </taskdef> <pacname packageName="Ted's Auto Store Extravaganza" propertyName="packageName" /> <echo message="The package name is ${packageName}"/> |
packageName
- The name of the package (required).propertyName
- The name of the property to set (required).
Field Summary | |
private String |
packageName
|
private String |
propertyName
|
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 | |
AntPackageName()
|
Method Summary | |
void |
execute()
|
void |
setPackagename(String s)
|
void |
setPropertyname(String s)
|
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 |
private String propertyName
private String packageName
Constructor Detail |
public AntPackageName()
Method Detail |
public void setPropertyname(String s)
public void setPackagename(String s)
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |