How to Install conscript in Windows

五迷三道 提交于 2019-12-10 11:35:20

问题


Conscript is needed for giter8 to check out project templates directly from Github and as Scalatra.org states

is recommended way to generate Scalatra project skeletons.

When conscript-0.4.4.jar is ran error "Error downloading sbt-launch-0.13.0 happens".


回答1:


sbt-launch-0.13.0.jar was removed from sbt site. so you have to:

  1. Install sbt from the official site.
  2. Copy "sbt-launch.jar" from "C:\Program Files (x86)\sbt\bin" into "C:\Users{Username}.conscript"
  3. Make another copy of "sbt-launch.jar" in "C:\Program Files (x86)\sbt\bin" and rename it to "sbt-launch-0.13.0.jar"
  4. Run your conscript installation jar ("conscript-0.4.4-1.jar") and wait for it to finish.
  5. Add "C:\Users{Username}\bin" to your PATH environment variable.


来源:https://stackoverflow.com/questions/34837278/how-to-install-conscript-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!