[Notice] Announcing the End of Demo Server [Read me]
--- app/models/NullUser.java
+++ app/models/NullUser.java
... | ... | @@ -25,6 +25,7 @@ |
25 | 25 |
import java.util.Map; |
26 | 26 |
|
27 | 27 |
public class NullUser extends User { |
28 |
+ private static final long serialVersionUID = -1L; |
|
28 | 29 |
public Long id = -1l; |
29 | 30 |
public String name = "Guest"; |
30 | 31 |
|
--- project/Build.scala
+++ project/Build.scala
... | ... | @@ -36,6 +36,7 @@ |
36 | 36 |
"commons-codec" % "commons-codec" % "1.2", |
37 | 37 |
// apache-mails |
38 | 38 |
"org.apache.commons" % "commons-email" % "1.2", |
39 |
+ "info.schleichardt" %% "play-2-mailplugin" % "0.8", |
|
39 | 40 |
"commons-lang" % "commons-lang" % "2.6", |
40 | 41 |
"org.apache.tika" % "tika-core" % "1.2", |
41 | 42 |
"commons-io" % "commons-io" % "2.4", |
... | ... | @@ -54,15 +55,10 @@ |
54 | 55 |
javaOptions in test ++= Seq("-Xmx512m", "-XX:MaxPermSize=512m"), |
55 | 56 |
javacOptions ++= Seq("-Xlint:all", "-Xlint:-path"), |
56 | 57 |
scalacOptions ++= Seq("-feature") |
57 |
-// Play2WarKeys.servletVersion := "3.0" |
|
58 |
- // Or Play2WarKeys.servletVersion := "2.5" |
|
59 | 58 |
) |
60 | 59 |
|
61 | 60 |
val main = play.Project(appName, appVersion, appDependencies).settings( |
62 | 61 |
projectSettings: _* |
63 |
- // fork in Test := true |
|
64 |
- // |
|
65 |
- // Add your own project settings here |
|
66 | 62 |
) |
67 | 63 |
|
68 | 64 |
} |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?