/** * Does the command line argument processing for modern and adds * the files to compile as well. * @return the command line */ protected Commandline setupModernJavacCommand() { final Commandline cmd = new Commandline(); setupModernJavacCommandlineSwitches(cmd); logAndAddFilesToCompile(cmd); return cmd; }
/** * Does the command line argument processing for classic and adds * the files to compile as well. * @param debugLevelCheck if true set the debug level with the -g switch * @return the command line */ protected Commandline setupJavacCommand(final boolean debugLevelCheck) { final Commandline cmd = new Commandline(); setupJavacCommandlineSwitches(cmd, debugLevelCheck); logAndAddFilesToCompile(cmd); return cmd; }