org.apache.directory.daemon.installers.inno
Class InnoInstallerCommand

java.lang.Object
  extended by org.apache.directory.daemon.installers.MojoCommand
      extended by org.apache.directory.daemon.installers.inno.InnoInstallerCommand

public class InnoInstallerCommand
extends MojoCommand

The IzPack installer command.

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

Field Summary
 
Fields inherited from class org.apache.directory.daemon.installers.MojoCommand
dependencyMap, mymojo
 
Constructor Summary
InnoInstallerCommand(ServiceInstallersMojo mymojo, InnoTarget target)
           
 
Method Summary
 void execute()
          Performs the following: Bail if target is not for windows or current machine is not windows (no inno compiler) Filter and copy project supplied inno file into place if it has been specified and exists If no inno file exists filter and deposite into place bundled inno template & copy procrun executables Bail if we cannot find the inno compiler executable Execute inno compiler it on the inno file
 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

InnoInstallerCommand

public InnoInstallerCommand(ServiceInstallersMojo mymojo,
                            InnoTarget target)
Method Detail

getFilterProperties

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

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 windows or current machine is not windows (no inno compiler)
  2. Filter and copy project supplied inno file into place if it has been specified and exists
  3. If no inno file exists filter and deposite into place bundled inno template & copy procrun executables
  4. Bail if we cannot find the inno compiler executable
  5. Execute inno compiler it on the inno file

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


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