Class Install

java.lang.Object
org.jpos.q2.install.Install

public class Install extends Object
Command-line tool that extracts the bundled installation skeletons under META-INF/q2/installs/ into a target directory.
  • Constructor Details

    • Install

      public Install()
      Default constructor; no instance state to initialise.
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Entry point: parses the command-line options and invokes install(boolean, File, boolean, String).
      Parameters:
      args - command-line arguments (see option descriptions in source)
      Throws:
      Exception - if option parsing or extraction fails
    • install

      public void install(boolean allowOverride, File outputBasePath, boolean verbose, String prefix) throws IOException
      Extracts every classpath resource under prefix into outputBasePath.
      Parameters:
      allowOverride - overwrite existing files when true
      outputBasePath - destination directory (created when missing)
      verbose - log each extracted file when true
      prefix - classpath prefix to scan
      Throws:
      IOException - if classpath enumeration or extraction fails