org.sandev.sandbuild
Class SandPackager

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.sandev.sandbuild.SandTask
              extended byorg.sandev.sandbuild.SandPackager

public class SandPackager
extends SandTask

Supports the declaration of a SandDeploymentPackager class which will create the necessary deployment files for the SAND application.


Field Summary
protected  java.io.File deploymentDir
          The directory where the application files will be copied to on build completion.
protected  java.lang.String name
          The name of the build class implementing the SandDeploymentPackager interface
 
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
SandPackager()
           
 
Method Summary
 void execute()
          Add ourselves to our project so the build has access to this information.
 java.io.File getDeploymentDir()
          accessor for deploymentDir
 java.lang.String getName()
          accessor for name
 void setDeploymentDir(java.io.File dir)
          mutator for deploymentDir
 void setName(java.lang.String val)
          mutator for name
 
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

name

protected java.lang.String name
The name of the build class implementing the SandDeploymentPackager interface


deploymentDir

protected java.io.File deploymentDir
The directory where the application files will be copied to on build completion.

Constructor Detail

SandPackager

public SandPackager()
Method Detail

setName

public void setName(java.lang.String val)
mutator for name


getName

public java.lang.String getName()
accessor for name


setDeploymentDir

public void setDeploymentDir(java.io.File dir)
mutator for deploymentDir


getDeploymentDir

public java.io.File getDeploymentDir()
accessor for deploymentDir


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Add ourselves to our project so the build has access to this information.

Throws:
org.apache.tools.ant.BuildException