org.apache.directory.daemon.installers.bin
Class BinInstallerCommand

java.lang.Object
  extended by org.apache.directory.daemon.installers.MojoCommand
      extended by org.apache.directory.daemon.installers.bin.BinInstallerCommand

public class BinInstallerCommand
extends MojoCommand

Bin (Binary) Installer command for Linux.

Version:
$Rev: 434414 $
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.daemon.installers.MojoCommand
dependencyMap, mymojo
 
Constructor Summary
BinInstallerCommand(ServiceInstallersMojo mymojo, BinTarget target)
          Creates a new instance of BinInstallerCommand.
 
Method Summary
 void copyFiles(java.io.File src, java.io.File dest)
          Recursively copy files from the given source to the given destination.
 void execute()
          Performs the following: Bail if target is not for Linux Creates the Mac OS X PKG Installer for Apache DS Package it in a Mac OS X DMG (Disk iMaGe)
 java.util.Properties getFilterProperties()
           
 
Methods inherited from class org.apache.directory.daemon.installers.MojoCommand
processPackagedFiles, reportProcessing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinInstallerCommand

public BinInstallerCommand(ServiceInstallersMojo mymojo,
                           BinTarget target)
Creates a new instance of BinInstallerCommand.

Parameters:
mymojo - the Server Installers Mojo
target - the Bin target
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Performs the following:
  1. Bail if target is not for Linux
  2. Creates the Mac OS X PKG Installer for Apache DS
  3. Package it in a Mac OS X DMG (Disk iMaGe)

Specified by:
execute in class MojoCommand
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

copyFiles

public void copyFiles(java.io.File src,
                      java.io.File dest)
               throws java.io.IOException
Recursively copy files from the given source to the given destination.

Parameters:
src - the source
dest - the destination
Throws:
java.io.IOException - If an error occurs when copying a file

getFilterProperties

public java.util.Properties getFilterProperties()
Specified by:
getFilterProperties in class MojoCommand


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.