Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ianoc-stripe committed Sep 12, 2016
1 parent 4ab6810 commit f6bebe6
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/java/io/bazel/rulesscala/scalac/ScalaCInvoker.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ private static List<File> extractJar(String jarPath, String outputFolder) throws
}

File parent = f.getParentFile();
System.out.println("Mkdir: " + parent);
parent.mkdirs();
outputPaths.add(f);

Expand Down Expand Up @@ -282,9 +281,9 @@ private static void processRequest(List<String> args) throws Exception {
}

Map<String, String> argMap = buildArgMap(args);
for (Map.Entry<String, String> entry : argMap.entrySet()) {
System.out.println("Key = " + entry.getKey() + ", Value = " + entry.getValue());
}
// for (Map.Entry<String, String> entry : argMap.entrySet()) {
// System.out.println("Key = " + entry.getKey() + ", Value = " + entry.getValue());
// }

String outputName = getOrError(argMap, "JarOutput", "Missing required arg JarOutput");
String manifestPath = getOrError(argMap, "Manifest", "Missing required arg Manifest");
Expand Down Expand Up @@ -345,10 +344,10 @@ private static void processRequest(List<String> args) throws Exception {
files);

MainClass comp = new MainClass();
System.out.println("\n\n\n\nCompiler args:::");
for(String arg: compilerArgs) {
System.out.println(" " + arg);
}
// System.out.println("\n\n\n\nCompiler args:::");
// for(String arg: compilerArgs) {
// System.out.println(" " + arg);
// }
comp.process(compilerArgs);

ConsoleReporter reporter = (ConsoleReporter) reporterField.get(comp);
Expand All @@ -372,9 +371,9 @@ private static void processRequest(List<String> args) throws Exception {
if(exitCode != 0) {
throw new RuntimeException("ijar process failed!");
}
System.out.println("exitCode = " + exitCode);
// System.out.println("exitCode = " + exitCode);
}
System.out.println("Success");
// System.out.println("Success");
}
}

Expand Down

0 comments on commit f6bebe6

Please sign in to comment.