net.dpml.tools.tasks
Class JarTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bynet.dpml.tools.tasks.GenericTask
              extended bynet.dpml.tools.tasks.JarTask

public class JarTask
extends GenericTask

Execute all plugins relative to the current build phase.

Version:
1.0.0
Author:
The Digital Product Meta Library

Field Summary
static String JAR_CLASSPATH_KEY
          Constant key for the manifest classpath value.
static String JAR_MAIN_KEY
          Constant key for the manifest main class value.
 
Fields inherited from class net.dpml.tools.tasks.GenericTask
ASC_EXT, GPG_EXE_KEY, MD5_EXT
 
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
JarTask()
           
 
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 net.dpml.tools.tasks.GenericTask
asc, checksum, copy, deleteDir, getContext, getLibrary, getResource, isInitialized, mkDir
 
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 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

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
Constructor Detail

JarTask

public JarTask()
Method Detail

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.