org.sandev.sandbuild
Interface SandDeploymentPackager

All Known Implementing Classes:
JARExePackager, SARDeploymentPackager, WARDeploymentPackager

public interface SandDeploymentPackager

Support for creating the final SAND application deployment files. A class implementing this interface is called by the SandBuildDriver to package and deploy the jar, war, and environment files created by the build.


Method Summary
 void doDeployment(SandProject deployment, SandProject platform, int mode)
          Deploy the build files.
 

Method Detail

doDeployment

void doDeployment(SandProject deployment,
                  SandProject platform,
                  int mode)
                  throws SandBuildException
Deploy the build files. See the implenting class for a description of what this means for the particular deployment. The deployment project is the build trigger (eg sand/deploy/TaskHeapDemo) and the platform is the leafmost project (eg sand/platform/tools). The mode is SandBuildDriver.MODE_BUILD or SandBuildDriver.MODE_CLEAN.

Throws:
SandBuildException