Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

how to use this tool with scala sbt? #31

Open
listen-lavender opened this issue Nov 27, 2016 · 0 comments
Open

how to use this tool with scala sbt? #31

listen-lavender opened this issue Nov 27, 2016 · 0 comments

Comments

@listen-lavender
Copy link

how to use this tool with scala sbt?

The log of sbt shell:
(workspace) ➜ zeromq sbt
[info] Loading project definition from /Users/lavenderuni/workspace/lesson/scala/zeromq/project
[info] Set current project to scala-zeromq (in build file:/Users/lavenderuni/workspace/lesson/scala/zeromq/)

test
[warn] Credentials file /Users/lavenderuni/.nexuscredentials does not exist
[info] Compiling 10 Scala sources to /Users/lavenderuni/workspace/lesson/scala/zeromq/target/scala-2.11/classes...
[error] /Users/lavenderuni/workspace/lesson/scala/zeromq/src/main/scala/zeromq/PollIInterrupter.scala:4: object zeromq is not a member of package org
[error] import org.zeromq.{ ZMQ, ZMQException }
[error] ^
[error] /Users/lavenderuni/workspace/lesson/scala/zeromq/src/main/scala/zeromq/PollIInterrupter.scala:15: not found: value ZMQ
[error] private[zeromq] class PollInterrupter(socket: ZMQ.Socket) extends Actor {

But it is right in scala shell:

(workspace) ➜ zeromq scala
Welcome to Scala 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_91).
Type in expressions for evaluation. Or try :help.

scala> import org.zeromq.ZMQ
import org.zeromq.ZMQ

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant