org.apache.directory.daemon.installers.archive
Class ArchiveInstallerCommand
java.lang.Object
org.apache.directory.daemon.installers.MojoCommand
org.apache.directory.daemon.installers.archive.ArchiveInstallerCommand
public class ArchiveInstallerCommand
- extends MojoCommand
Archive Installer command for any platform.
- 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 the archive type is unknown
Creates the Archive Installer for Apache DS
|
java.util.Properties |
getFilterProperties()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArchiveInstallerCommand
public ArchiveInstallerCommand(ServiceInstallersMojo mymojo,
ArchiveTarget target)
- Creates a new instance of ArchiveInstallerCommand.
- Parameters:
mymojo - the Server Installers Mojotarget - the target
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Performs the following:
- Bail if the archive type is unknown
- Creates the Archive Installer for Apache DS
- 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-2008 The Apache Software Foundation. All Rights Reserved.