MCPcopy Create free account
hub / github.com/SquirrelJME/SquirrelJME / main

Method main

NewBootstrap.java:367–391  ·  view source on GitHub ↗

Main entry point for the new bootstrap system. @param __args Program arguments. @throws IOException On any read/write errors. @since 2016/10/26

(String... __args)

Source from the content-addressed store, hash-verified

365 * @since 2016/10/26
366 */
367 public static void main(String... __args)
368 throws IOException
369 {
370 // Compiling under JamVM fails because it cannot find a resource
371 // bundle for the Java compiler
372 if (__args != null && __args.length >= 1 &&
373 "--toolsflaw".equals(__args[0]))
374 {
375 __detectToolsFlaw();
376 return;
377 }
378
379 // Get directories for input and output
380 Path bin = Paths.get(System.getProperty(
381 "cc.squirreljme.bootstrap.binary")),
382 src = Paths
383 .get(System.getProperty(
384 "cc.squirreljme.builder.root"));
385
386 // Only build?
387 NewBootstrap nb = new NewBootstrap(bin, src, __args);
388
389 // Run it
390 nb.run();
391 }
392
393 /**
394 * Lowercases the specified string.

Callers

nothing calls this directly

Calls 5

__detectToolsFlawMethod · 0.95
getMethod · 0.95
getPropertyMethod · 0.95
runMethod · 0.95
equalsMethod · 0.65

Tested by

no test coverage detected