trying to fix maven build

This commit is contained in:
Stepan Koltsov
2012-06-09 18:55:49 +04:00
parent 09ab5955d6
commit c4d29146cb
@@ -25,6 +25,7 @@ import org.jetbrains.jet.cli.jvm.compiler.CompileEnvironmentException;
import org.jetbrains.jet.cli.jvm.compiler.CompileEnvironmentUtil;
import java.io.PrintStream;
import java.util.Collections;
import java.util.List;
import static org.jetbrains.jet.cli.common.ExitCode.INTERNAL_ERROR;
@@ -50,6 +51,9 @@ public abstract class CLICompiler<A extends CompilerArguments, C extends Compile
protected boolean parseArguments(@NotNull PrintStream errStream, @NotNull A arguments, @NotNull String[] args) {
try {
arguments.freeArgs = Args.parse(arguments, args);
if (arguments.freeArgs == null) {
arguments.freeArgs = Collections.emptyList();
}
return true;
}
catch (IllegalArgumentException e) {