I'm using Bloop with bazel and I'm running into a snag wit the detection of the Scala compiler.
The long story short is that the scala-compiler file recognition fails because the file name is changed to processed_scala-compiler-2.13.16.jar:
Caused by: java.lang.RuntimeException: Missing compiler jar in Scala jars /home/oyvind/bazel-orfs/bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_jvm_external++maven+maven/org/scala-lang/scala-compiler/2.13.16/processed_scala-compiler-2.13.16.jar, ...
|
private def hasScalaCompilerName(filename: String): Boolean = |
|
filename.startsWith(ScalacCompilerName) || |
|
(isDotty && (filename.startsWith("dotty-compiler") || filename.startsWith("scala3-compiler"))) |
Feature request: make compiler detection a bit more flexible or change it to a warning so that processed_ prefixes doesn't stop it from working.
I'm using Bloop with bazel and I'm running into a snag wit the detection of the Scala compiler.
The long story short is that the scala-compiler file recognition fails because the file name is changed to
processed_scala-compiler-2.13.16.jar:bloop/backend/src/main/scala/bloop/ScalaInstance.scala
Lines 73 to 75 in b90aaa8
Feature request: make compiler detection a bit more flexible or change it to a warning so that
processed_prefixes doesn't stop it from working.