You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@predictionio.apache.org by Jim Zuppan <jz...@apple.com> on 2019/09/05 19:36:27 UTC

SBT address issue

When I try to build the engine I get the following: 

MacBook-Pro-83:MyRecommendation jimzuppan$ pio-docker build --verbose
[INFO] [Engine$] Using command '/usr/share/predictionio/sbt/sbt' at /templates/MyRecommendation to build.
[INFO] [Engine$] If the path above is incorrect, this process will fail.
[INFO] [Engine$] Uber JAR disabled. Making sure lib/pio-assembly-0.13.0.jar is absent.
[INFO] [Engine$] Going to run: /usr/share/predictionio/sbt/sbt  package assemblyPackageDependency in /templates/MyRecommendation
[ERROR] [Engine$] Downloading sbt launcher for 1.2.8:
[ERROR] [Engine$]   From  http://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt-launch/1.2.8/sbt-launch.jar
[ERROR] [Engine$]     To  /root/.sbt/launchers/1.2.8/sbt-launch.jar
[INFO] [Engine$] Download failed. Obtain the jar manually and place it at /root/.sbt/launchers/1.2.8/sbt-launch.jar
[ERROR] [Engine$] Return code of build command: /usr/share/predictionio/sbt/sbt  package assemblyPackageDependency is 1. Aborting.

I can’t seem to be able to redirect the call for SBT to the /Users/predictionio/sbt directory?