Skip to content

Commit

Permalink
Relativise path to compiler bridge (pantsbuild#6546)
Browse files Browse the repository at this point in the history
This makes it actually work with remote execution :)
  • Loading branch information
illicitonion authored and Stu Hood committed Sep 24, 2018
1 parent 1924650 commit 7ad9f90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def relative_to_exec_root(path):
zinc_args.append('-no-color')

compiler_bridge_classpath_entry = self._zinc.compile_compiler_bridge(self.context)
zinc_args.extend(['-compiled-bridge-jar', compiler_bridge_classpath_entry.path])
zinc_args.extend(['-compiled-bridge-jar', relative_to_exec_root(compiler_bridge_classpath_entry.path)])
zinc_args.extend(['-scala-path', ':'.join(scala_path)])

zinc_args.extend(self._javac_plugin_args(javac_plugin_map))
Expand Down

0 comments on commit 7ad9f90

Please sign in to comment.