org.apache.directory.daemon.installers.nsis
Class NsisInstallerCommand

java.lang.Object
  extended by org.apache.directory.daemon.installers.MojoCommand
      extended by org.apache.directory.daemon.installers.nsis.NsisInstallerCommand

public class NsisInstallerCommand
extends MojoCommand

Nullsoft INstaller System (NSIS) Installer command for Windows installers

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

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

NsisInstallerCommand

public NsisInstallerCommand(ServiceInstallersMojo mymojo,
                            NsisTarget 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
  2. Filter and copy project supplied .nsi file into place if it has been specified and exists
  3. If no .nsi file exists filter and deposite into place bundled nsis template & copy wrapper executables
  4. Bail if we cannot find the nsis compiler executable
  5. Execute nsis compiler it on the .nsi file

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


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