Package mgui.build

Class Build

java.lang.Object
mgui.build.Build

public class Build
extends java.lang.Object
Builds an executable file based upon parameters including:
    -libdir: library directory -classpathfile: file containing classpath entries -initfile: file to init environment -maxheapsize: max heap size for JVM (default 1000m) -maxstacksize: max stack size for JVM (default 50m)
Author:
Andrew Reid
  • Constructor Summary

    Constructors
    Constructor Description
    Build()  
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String getCommandLine​(java.lang.String build_file)
    Constructs and returns a command line from the specified build file
    static java.lang.String getCommandLine​(java.lang.String build_file, java.lang.String init_file)
    Constructs and returns a command line from the specified build file
    static void main​(java.lang.String[] args)
    Arguments: -libdir Directory for dependencies -classpathfile File containing classpath specifications -initfile Init file to use (must be in the mgui/resources/init folder)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Build

      public Build()
  • Method Details

    • main

      public static void main​(java.lang.String[] args)
      Arguments: -libdir Directory for dependencies -classpathfile File containing classpath specifications -initfile Init file to use (must be in the mgui/resources/init folder)
      Parameters:
      args -
    • getCommandLine

      public static java.lang.String getCommandLine​(java.lang.String build_file) throws java.io.IOException
      Constructs and returns a command line from the specified build file
      Parameters:
      build_file -
      Returns:
      Throws:
      java.io.IOException
    • getCommandLine

      public static java.lang.String getCommandLine​(java.lang.String build_file, java.lang.String init_file) throws java.io.IOException
      Constructs and returns a command line from the specified build file
      Parameters:
      build_file - The build file
      init_file - The init file; can be null
      Returns:
      Throws:
      java.io.IOException