Permalink
Browse files

changed build dependencies and updated readme

  • Loading branch information...
1 parent b2a8e6a commit 7a0797fd02fd2afe0a235c84ba5b6c0743714a4e @TiarkRompf committed Oct 7, 2010
Showing with 12 additions and 7 deletions.
  1. +7 −2 README.md
  2. +5 −5 project/build/Project.scala
View
9 README.md
@@ -1,7 +1,7 @@
Scala REPL HTML Interface
=========================
-This project provides the Scala REPL with a GUI inspired by Mathematica worksheets. Commands can be edited and deleted, and new commands can be inserted anywhere. Whole worksheets can be re-evaluated with one click. Sessions can be saved and restored.
+This project provides a Scala REPL with a GUI inspired by Mathematica worksheets. Commands can be edited and deleted, and new commands can be inserted anywhere. Whole worksheets can be re-evaluated with one click. Sessions can be saved and restored.
The frontend is just an HTML page that communicates with a backend servlet via web sockets. The backend servlet does the actual command execution. The servlet is not multi-user save; the program is meant to be run on a single computer.
@@ -10,7 +10,12 @@ The frontend is just an HTML page that communicates with a backend servlet via w
How to Run it
-------------
-Use SBT to run the REPL servlet within an embedded Jetty server:
+After downloading, use SBT to build
+
+ sbt update
+ sbt compile
+
+and then run the REPL servlet within an embedded Jetty server:
sbt run
View
10 project/build/Project.scala
@@ -2,13 +2,13 @@ import sbt._
class Project(info: ProjectInfo) extends DefaultWebProject(info)
{
- val jetty7 = "org.eclipse.jetty" % "jetty-webapp" % "7.0.2.RC0" % "provided"
- val jetty7webSocket = "org.eclipse.jetty" % "jetty-websocket" % "7.0.2.RC0" % "provided"
- val servlet = "javax.servlet" % "servlet-api" % "2.5" % "provided"
+ val jetty7 = "org.eclipse.jetty" % "jetty-webapp" % "7.0.2.RC0" % "compile"
+ val jetty7webSocket = "org.eclipse.jetty" % "jetty-websocket" % "7.0.2.RC0" % "compile"
+ val servlet = "javax.servlet" % "servlet-api" % "2.5" % "compile"
//override def unmanagedClasspath = super.unmanagedClasspath +++ ("lib2" / "scala-compiler.jar")
- val scalac = "org.scala-lang" % "scala-compiler" % "2.8.0" % "provided"
- val scala = "org.scala-lang" % "scala-library" % "2.8.0" % "provided"
+ val scalac = "org.scala-lang" % "scala-compiler" % "2.8.0" % "compile"
+ val scala = "org.scala-lang" % "scala-library" % "2.8.0" % "compile"
override def mainClass = Some("ch.epfl.lamp.replhtml.ReplMain")

0 comments on commit 7a0797f

Please sign in to comment.