This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.sql.Connection | |
import java.sql.PreparedStatement | |
import java.sql.ResultSet | |
import javax.sql.DataSource | |
import akka.stream.Attributes | |
import akka.stream.Outlet | |
import akka.stream.SourceShape | |
import akka.stream.stage.GraphStage | |
import akka.stream.stage.GraphStageLogic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/framework/project/Build.scala b/framework/project/Build.scala | |
index 4f6a639..872b74e 100644 | |
--- a/framework/project/Build.scala | |
+++ b/framework/project/Build.scala | |
@@ -51,7 +51,6 @@ object BuildSettings { | |
* These settings are used by all projects | |
*/ | |
def playCommonSettings: Seq[Setting[_]] = { | |
- | |
scalariformSettings ++ Seq( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build.sbt b/build.sbt | |
index dbaea19..1ace900 100644 | |
--- a/build.sbt | |
+++ b/build.sbt | |
@@ -2,12 +2,12 @@ lazy val `play-doc` = (project in file(".")) | |
.enablePlugins(PlayLibrary, SbtTwirl, PlayReleaseBase) | |
// we need crossVersionScala since interplay won't build PlayLibrary for 2.10.6 | |
-crossScalaVersions := Seq("2.10.6", "2.11.8") | |
+crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.0-RC2") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.util.NoSuchElementException: key not found: value urlEncoded$1 | |
at scala.collection.MapLike.default(MapLike.scala:232) | |
at scala.collection.mutable.HashMap.apply(HashMap.scala:65) | |
at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder$locals$.load(BCodeSkelBuilder.scala:392) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:352) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genLoadArguments$1(BCodeBodyBuilder.scala:940) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadArguments(BCodeBodyBuilder.scala:940) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:633) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genBlock(BCodeBodyBuilder.scala:818) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Just follow the commands closely, no need to ++2.12.0-RC1, et all | |
1. Get Twirl | |
> git clone https://github.com/schmitch/twirl.git | |
> cd twirl | |
> git fetch | |
> git checkout pr113 | |
> sbt +publishLocal plugin/publishLocal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.util.NoSuchElementException: key not found: value urlEncoded$1 | |
at scala.collection.MapLike.default(MapLike.scala:232) | |
at scala.collection.mutable.HashMap.apply(HashMap.scala:65) | |
at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder$locals$.load(BCodeSkelBuilder.scala:392) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:352) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genLoadArguments$1(BCodeBodyBuilder.scala:940) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadArguments(BCodeBodyBuilder.scala:940) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:633) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genBlock(BCodeBodyBuilder.scala:818) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/framework/project/Build.scala b/framework/project/Build.scala | |
index b8b1b55..c0a695a 100644 | |
--- a/framework/project/Build.scala | |
+++ b/framework/project/Build.scala | |
@@ -103,6 +104,7 @@ object BuildSettings { | |
autoScalaLibrary := false, | |
crossPaths := false | |
) | |
+ .settings(crossScalaVersions := Seq("2.11.8", "2.12.0-RC1")) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build.sbt b/build.sbt | |
index dbaea19..e158fa3 100644 | |
--- a/build.sbt | |
+++ b/build.sbt | |
@@ -2,12 +2,12 @@ lazy val `play-doc` = (project in file(".")) | |
.enablePlugins(PlayLibrary, SbtTwirl, PlayReleaseBase) | |
// we need crossVersionScala since interplay won't build PlayLibrary for 2.10.6 | |
-crossScalaVersions := Seq("2.10.6", "2.11.8") | |
+crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.0-RC1") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.inject.{ Inject, Provider, Singleton } | |
import akka.NotUsed | |
import akka.stream.scaladsl.{ Keep, Sink, Source, SourceQueueWithComplete } | |
import akka.stream.{ Materializer, OverflowStrategy } | |
import play.api.http.websocket.Message | |
import play.api.inject.{ Binding, Module } | |
import play.api.{ Configuration, Environment } | |
case class ConcurrentChannel(channel: SourceQueueWithComplete[Message], source: Source[Message, NotUsed]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.util.NoSuchElementException: key not found: value urlEncoded$1 | |
at scala.collection.MapLike.default$(MapLike.scala:232) | |
at scala.collection.MapLike.default(MapLike.scala:231) | |
at scala.collection.mutable.HashMap.apply(HashMap.scala:65) | |
at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder$locals$.load(BCodeSkelBuilder.scala:393) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:351) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genLoadArguments$1(BCodeBodyBuilder.scala:935) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadArguments(BCodeBodyBuilder.scala:935) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:632) | |
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:297) |