KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In Lift Web Framework, dependencies for Simple Build Tool (SBT) are specified in LiftProject.scala. That file includes this code: override def libraryDependencies = Set( "net.liftweb" %% "lift-webkit" % liftVersion % "compile->default", "net.liftweb" %% "lift-mapper" % liftVersion % "compile->default", "org.mortbay.jetty" % "jetty" % "6.1.22" % "test->default", "junit" % "junit" % "4.5" % "test->default", "org.scala-tools.testing" %% "specs" % "1.6.6" % "test->default", "org.scala-lang" % "scala-compiler" % "2.8.1" % "test->default", "org.apache.tomcat" % "tomcat-juli" % "7.0.0" % "test->default", "com.h2database" % "h2" % "1.2.138" ) ++ super.libraryDependencies What do the % and %% operators do here? If I paste this code into the scala interpreter, it errors out, and neither % nor %% is defined for String or RichString. What's going on here?
Tags (comma-separated)
Save Edits
Cancel