org.apache.directory.daemon.installers.bin
Class BinInstallerCommand
java.lang.Object
org.apache.directory.daemon.installers.MojoCommand
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinInstallerCommand
public BinInstallerCommand(ServiceInstallersMojo mymojo,
BinTarget target)
- Creates a new instance of BinInstallerCommand.
- Parameters:
mymojo
- the Server Installers Mojotarget
- the Bin target
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- 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)
- 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 sourcedest
- 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-2010 Apache Software Foundation. All Rights Reserved.