org.apache.directory.daemon.installers.macosxpkg
Class MacOsXPkgInstallerCommand

java.lang.Object
  extended by org.apache.directory.daemon.installers.MojoCommand
      extended by org.apache.directory.daemon.installers.macosxpkg.MacOsXPkgInstallerCommand

public class MacOsXPkgInstallerCommand
extends MojoCommand

PKG Installer command for creating Mac OS X packages.

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

Field Summary
 
Fields inherited from class org.apache.directory.daemon.installers.MojoCommand
dependencyMap, mymojo
 
Constructor Summary
MacOsXPkgInstallerCommand(ServiceInstallersMojo mymojo, MacOsXPkgTarget target)
          Creates a new instance of MacOsXPkgInstallerCommand.
 
Method Summary
 void execute()
          Performs the following: Bail if target is not for macosx or the PackageMaker or hdiutil utilities coud not be found. 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

MacOsXPkgInstallerCommand

public MacOsXPkgInstallerCommand(ServiceInstallersMojo mymojo,
                                 MacOsXPkgTarget target)
Creates a new instance of MacOsXPkgInstallerCommand.

Parameters:
mymojo - the Server Installers Mojo
target - the PKG 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 macosx or the PackageMaker or hdiutil utilities coud not be found.
  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

getFilterProperties

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


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