This class contains the main(
Use invokeMain(
The build system doesn't ever call System.exit(
public static void | invokeMain( Main method of the build system for programmatic access. |
public static void | The main method of the build system launcher. |
Clients that use the build system via a programmatic API, should call this method instead of
main(
The difference is that this method either finish successfully, or throw an exception if failed, instead of handling it in a way that is suitable for command line usage.
The arguments will be parsed based on the command line interface of the build system, and the appropriate actions will be taken.
If the operation fails, the method will handle it in a way that displays failure information in a way that is suitable for command line usage. This usually means that the error stacktraces most likely won't be displayed, but rather a description of the error.
The method will call System.exit(