void (String production, String test) { getCompilerExtension().inheritCompilerOutputPath(false); if (Strings.isEmpty(production) && Strings.isEmpty(test)) { getCompilerExtension().inheritCompilerOutputPath(true); } else if (Strings.isEmpty(test)) { getCompilerExtension().setCompilerOutputPath(toUrl(production).getUrl()); getCompilerExtension().setExcludeOutput(true); } else if (Strings.isEmpty(production)) { getCompilerExtension().setCompilerOutputPathForTests(toUrl(test).getUrl()); getCompilerExtension().setExcludeOutput(true); } else { getCompilerExtension().setCompilerOutputPath(toUrl(production).getUrl()); getCompilerExtension().setCompilerOutputPathForTests(toUrl(test).getUrl()); } }