首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Activator中,sbt探针-0-13和sbt ui-接口-0-13的目的是什么?

在Activator中,sbt探针-0-13和sbt ui-接口-0-13的目的是什么?
EN

Stack Overflow用户
提问于 2014-09-26 17:47:39
回答 1查看 53关注 0票数 0

当使用Typesafe活化剂启动activator ui时,有以Getting开头的消息。sbt-rc-probe-0-13sbt-rc-ui-interface-0-13对激活剂做了什么?

代码语言:javascript
复制
➜  no-trace-deps  activator ui
Checking for a newer version of Activator (current version 1.2.10)...
   ... our current version 1.2.10 looks like the latest.
Found previous process id: 36033
FOUND REPO = activator-local @ file:/usr/local/Cellar/typesafe-activator/1.2.10/libexec/repository
Play server process ID is 39625
[info] play - Application started (Prod)
[info] play - Listening for HTTP on /127.0.0.1:8888
[info] a.e.s.Slf4jLogger - Slf4jLogger started
Getting com.typesafe.sbtrc sbt-rc-probe-0-13 1.0-c50ddab5e1332398049a2a649261e1ca24577479 ...
downloading file:/usr/local/Cellar/typesafe-activator/1.2.10/libexec/repository/com.typesafe.sbtrc/sbt-rc-probe-0-13/1.0-c50ddab5e1332398049a2a649261e1ca24577479/jars/sbt-rc-probe-0-13.jar ...
    [SUCCESSFUL ] com.typesafe.sbtrc#sbt-rc-probe-0-13;1.0-c50ddab5e1332398049a2a649261e1ca24577479!sbt-rc-probe-0-13.jar (12ms)
:: retrieving :: org.scala-sbt#boot-app
    confs: [default]
    2 artifacts copied, 0 already retrieved (414kB/8ms)
Getting com.typesafe.sbtrc sbt-rc-ui-interface-0-13 1.0-c50ddab5e1332398049a2a649261e1ca24577479 ...
downloading file:/usr/local/Cellar/typesafe-activator/1.2.10/libexec/repository/com.typesafe.sbtrc/sbt-rc-ui-interface-0-13/1.0-c50ddab5e1332398049a2a649261e1ca24577479/jars/sbt-rc-ui-interface-0-13.jar ...
    [SUCCESSFUL ] com.typesafe.sbtrc#sbt-rc-ui-interface-0-13;1.0-c50ddab5e1332398049a2a649261e1ca24577479!sbt-rc-ui-interface-0-13.jar (4ms)
:: retrieving :: org.scala-sbt#boot-app
    confs: [default]
    1 artifacts copied, 0 already retrieved (32kB/4ms)
[info] application - error getting name from sbt: sbt process never got in touch, so unable to handle request NameRequest(true)
[info] application - using file basename as app name: no-trace-deps
[INFO] [09/26/2014 19:41:14.587] [default-akka.actor.default-dispatcher-3] [akka://default/user/app-no-trace-deps-1/socket] Firing up web socket
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-09-26 17:57:45

这些都是旧的sbt远程控制API (sbt服务器的原型)的一部分.

“探针”位于sbt内部,并将任务结果/命令与激活程序和sbt服务器进行通信。

“ui-接口”是一个API,插件可以直接从sbt内部向激活器发送消息。

在新的sbt服务器预发布版中,“ui接口”被重新命名为“服务器接口”(我认为),而Play插件可以直接与客户端通信(比如IDE/Activator),这将更有意义。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26065428

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档