/** * Get the command line arguments for the switches. * @param cmd the command line * @return the command line */ protected Commandline setupJavacCommandlineSwitches(final Commandline cmd) { return setupJavacCommandlineSwitches(cmd, false); }
/** * 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; }
setupJavacCommandlineSwitches(cmd, true); if (!assumeJava13()) { // -source added with JDK 1.4 final String t = attributes.getTarget();