I am trying to add a dependency to a scala project, and I can't seem to figure out what I need to add to fetch the jar. The code that does not fetch the jar looks like this:
import sbt._
import sbt.CompileOrder._
import de.element34.sbteclipsify._
class ProjectName(info: ProjectInfo) extends DefaultWebProject(info)
with AkkaProject with IdeaProject with Eclipsify with Exec {
/// STUFF HERE
val pircbot = "pircbot" % "pircbot" % "1.4.2"
val pircSnapshots = "pircbot" at "http://repo1.maven.org"
// STUFF HERE
}
I've tried numerous different snapshots, and ways to import the jar, but whenever I go into sbt>console I see this:
> update
[info]
[info] == update ==
[info] :: retrieving :: Where.com#scalairc_2.8.1 [sync]
[info] confs: [compile, runtime, test, provided, system, optional, sources, javadoc]
[info] 0 artifacts copied, 134 already retrieved (0kB/193ms)
[info] == update ==
[success] Successful.
[info]
[info]开发者_开发知识库 Total time: 36 s, completed May 7, 2011 12:27:50 PM
> console
scala> import org.jibble._
<console>:5: error: value jibble is not a member of package org
import org.jibble._
^
Any pointers on how to get this jar into my project would be appreciated.
精彩评论