Closed worldofprasanna closed 4 years ago
per https://travis-ci.org/github/scylladb/scylla-migrator/branches the builds work on master, e.g. https://travis-ci.org/github/scylladb/scylla-migrator/builds/708254582 scala used is however 2.11 which might be the prob let me retry in my env
btw. note that the full clean way to build is in https://github.com/scylladb/scylla-migrator/issues/8#issuecomment-552019596 so you can try that in the mean time @worldofprasanna
@worldofprasanna Can you verify you have JAVA_HOME
exported? This looks like https://github.com/sbt/sbt/issues/5452. If that solves the problem we'll add that to the build script.
so for me
sbt clean
before running build.sh worked
I run it on same sbt version as you have, java "1.8.0_265" and scala should be picked by sbt from project properties automatically as 2.11
(I am on Ubuntu 20.04)
so can you please try this or any of the mentioned clean full way steps? and as Itamar suggests - if you are on Mac the missing JAVA_HOME might be a problem
Hey sorry for the late reply. I could able to do this & get it worked 👍
export JAVA_HOME=$(/usr/libexec/java_home)
sbt clean
- In the log it mentioned that it started using scala 2.11./build.sh
and it worked.Thanks guys !!
I am trying to build the Scylla Migrator project using the command
./build.sh
But I am getting the below error,This is my environment,
Please let me know if I am missing something. I have asked for help in the slack channel and I was redirected to creating an issue in Github. Thanks in advance.