net.dpml.tools.tasks
Class JarTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.dpml.tools.tasks.GenericTask
net.dpml.tools.tasks.JarTask
public class JarTask
- extends GenericTask
Execute all plugins relative to the current build phase.
- Version:
- 1.2.0
- Author:
- Digital Product Meta Library
Method Summary |
void |
execute()
Execute the task. |
void |
init()
Task initialization. |
void |
setDest(File destination)
Set the destination file. |
void |
setSrc(File source)
Set the src directory. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAR_MAIN_KEY
public static final String JAR_MAIN_KEY
- Constant key for the manifest main class value.
- See Also:
- Constant Field Values
JAR_CLASSPATH_KEY
public static final String JAR_CLASSPATH_KEY
- Constant key for the manifest classpath value.
- See Also:
- Constant Field Values
JarTask
public JarTask()
init
public void init()
- Task initialization.
- Overrides:
init
in class GenericTask
setSrc
public void setSrc(File source)
- Set the src directory.
- Parameters:
source
- the source directory
setDest
public void setDest(File destination)
- Set the destination file.
- Parameters:
destination
- the destination file
execute
public void execute()
- Execute the task.
- Overrides:
execute
in class Task