changeset 2:3990c89ea03b

~ updated to Scala 2.8.0.Beta1, sbt and dispatch 0.7.1
author Alexandre Bertails <bertails@w3.org>
date Wed, 24 Feb 2010 14:23:51 -0500
parents 0a487b4c948b
children 1133234bce9a
files project/build.properties project/build/Project.scala src/main/scala/Main.scala
diffstat 3 files changed, 11 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/project/build.properties	Mon Feb 08 19:07:39 2010 -0500
+++ b/project/build.properties	Wed Feb 24 14:23:51 2010 -0500
@@ -1,7 +1,9 @@
-#Project Properties
-#Mon Jan 18 00:10:10 CET 2010
-project.organization=
-project.name=pubrules
-sbt.version=0.5.6
-scala.version=2.7.7
+#Project properties
+#Wed Feb 24 14:11:00 EST 2010
+project.organization=W3C
+project.name=pubruleschecker
+sbt.version=0.7.1
 project.version=1.0
+def.scala.version=2.7.7
+build.scala.versions=2.8.0.Beta1
+project.initialize=false
--- a/project/build/Project.scala	Mon Feb 08 19:07:39 2010 -0500
+++ b/project/build/Project.scala	Wed Feb 24 14:23:51 2010 -0500
@@ -6,9 +6,9 @@
   val smackRepo = "m2-repository-smack" at "http://maven.reucon.com/public"
   val databinder_net = "databinder.net repository" at "http://databinder.net/repo"
 
-  val scalatest = "org.scalatest" % "scalatest" % "1.0" % "test->default"
+  val scalatest = "org.scalatest" % "scalatest" % "1.0.1-for-scala-2.8.0.Beta1-with-test-interfaces-0.3-SNAPSHOT" % "test->default"
   val jodatime = "joda-time" % "joda-time" % "1.6"
-  val dispatch = "net.databinder" %% "dispatch-twitter" % "0.6.6"
+  val dispatch = "net.databinder" %% "dispatch-http" % "0.7.1"
 
   val jtidy = "jtidy" % "jtidy" % "r938" from "http://downloads.sourceforge.net/project/jtidy/JTidy/r938/jtidy-r938.jar"
   val saxon = "saxon" % "saxon" % "9.2.0.5j" from "http://www.bertails.org/jar/saxonhe9-2-0-5j.jar"
--- a/src/main/scala/Main.scala	Mon Feb 08 19:07:39 2010 -0500
+++ b/src/main/scala/Main.scala	Wed Feb 24 14:23:51 2010 -0500
@@ -10,7 +10,7 @@
   /**
    * utility method to concert an InputStream into a String by reading from this stream
    */
-  def convertStreamToString(is:InputStream):String = scala.io.Source.fromInputStream(is).getLines.reduceLeft(_ + _)
+  def convertStreamToString(is:InputStream):String = scala.io.Source.fromInputStream(is).getLines().reduceLeft(_ + _)
 
   /**
    * utility method that invokes the jtidy library
Set up and maintained by W3C Systems Team, please report bugs to sysreq@w3.org.

W3C would like to thank Microsoft who donated the server that allows us to run this service.