Skip to content

Commit

Permalink
Switch output from System.out to System.err (bazelbuild#72)
Browse files Browse the repository at this point in the history
This will interfere less with bazel commands piped to other commands.
  • Loading branch information
pgr0ss authored and petroseskinder committed Nov 10, 2017
1 parent 127a6ec commit 0f25a7e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static void main(String[] args) throws InterruptedException {
try {
optionParser.parse(args);
} catch (ParameterException e) {
System.out.println("Unable to parse options: " + e.getLocalizedMessage());
System.err.println("Unable to parse options: " + e.getLocalizedMessage());
optionParser.usage();
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void write(Collection<Rule> rules) {
logger.severe("Could not write " + generatedFile + ": " + e.getMessage());
return;
}
System.out.println("Wrote " + generatedFile.toAbsolutePath());
System.err.println("Wrote " + generatedFile.toAbsolutePath());
}

private void writeBzl(PrintStream outputStream, Collection<Rule> rules) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void write(Collection<Rule> rules) {
+ e.getMessage());
return;
}
System.out.println("Wrote:\n" + workspaceFile + "\n" + buildFile);
System.err.println("Wrote:\n" + workspaceFile + "\n" + buildFile);
}

/**
Expand Down
Binary file modified transitive_maven_jar/generate_workspace_deploy.jar
Binary file not shown.

0 comments on commit 0f25a7e

Please sign in to comment.