Play! : SBT proxy settings

Source: Internet
Author: User

Play2.3.x, creating a new project is a headache, and many SBT parsing tasks are blocked. Use Gae Proxy:

set HTTP_PROXY=http://localhost:8087activator

The SBT still cannot be found. It is estimated that the official source has a problem:

SBT. resolveexception: unresolved dependency: COM. typesafe. SBT # SBT-native-packager; 0.7.4: not found

Add a line to the project/plugins. SBT file:

resolvers += Resolver.url("bintray-sbt-plugins", url("https://dl.bintray.com/sbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns) 

Note that empty lines are used to separate the front and back fields. Otherwise, an error message is returned. Finally, several SBT packages are provided below:

[info] downloading http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-native-packager/scala_2.10/sbt_0.13/0.7.4/jars/sbt-native-packager.jar ...[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-native-packager;0.7.4!sbt-native-packager.jar (6472ms)[info] downloading http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-js-engine/scala_2.10/sbt_0.13/1.0.1/jars/sbt-js-engine.jar ...[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-js-engine;1.0.1!sbt-js-engine.jar (4464ms)[info] downloading http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-webdriver/scala_2.10/sbt_0.13/1.0.0/jars/sbt-webdriver.jar ...[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-webdriver;1.0.0!sbt-webdriver.jar (4957ms)[info] downloading http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-web/scala_2.10/sbt_0.13/1.0.2/jars/sbt-web.jar ...[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-web;1.0.2!sbt-web.jar (8086ms)[info] Done updating.

 

Play! : SBT proxy settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.