You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2018/06/24 21:18:10 UTC
[GitHub] erenavsarogullari commented on issue #2937: Use latest scala rules
to fix tests
erenavsarogullari commented on issue #2937: Use latest scala rules to fix tests
URL: https://github.com/apache/incubator-heron/pull/2937#issuecomment-399788380
Hi @Code0x58,
Firstly, thanks to having a look this.
It looks like _no matching toolchains found_ from latest travis log:
```
(18:43:50) ERROR: While resolving toolchains for target //heron/api/src/scala:api-scala: no matching toolchains found for types @io_bazel_rules_scala//scala:toolchain_type
(18:43:51) ERROR: Analysis of target '//heron/api/src/scala:api-scala' failed; build aborted: no matching toolchains found for types @io_bazel_rules_scala//scala:toolchain_type
```
From bazel doc, we can try setting default toolchain if no concern.
```
# WORKSPACE
# register default scala toolchain
load("@io_bazel_rules_scala//scala:toolchains.bzl", "scala_register_toolchains")
scala_register_toolchains()
```
Ref: https://github.com/bazelbuild/rules_scala/blob/master/README.md
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services