[Notice] Announcing the End of Demo Server [Read me]

change build option
@91fed5d4761ac64a25a6d1a93185bedf43602f01
--- app/controllers/Application.java
+++ app/controllers/Application.java
... | ... | @@ -20,8 +20,9 @@ |
20 | 20 |
|
21 | 21 |
public class Application extends Controller { |
22 | 22 |
|
23 |
-// @Cached(key = "index") |
|
24 | 23 |
public static Result index() { |
24 |
+// changeLang("ko"); |
|
25 |
+ |
|
25 | 26 |
UserApp.isRememberMe(); |
26 | 27 |
|
27 | 28 |
if (session().containsKey(UserApp.SESSION_LOGINID)) { |
+++ app/views/debug.scala.html
... | ... | @@ -0,0 +1,6 @@ |
1 | +@()(implicit lang:Lang) | |
2 | +@import play.api.Play.current | |
3 | + | |
4 | +<div class="container"> | |
5 | + lang = @lang.code | |
6 | +</div> |
--- app/views/layout.scala.html
+++ app/views/layout.scala.html
... | ... | @@ -1,4 +1,4 @@ |
1 |
-@(title: String)(thema:String)(content: Html) |
|
1 |
+@(title: String)(thema:String)(content: Html)(implicit lang:Lang) |
|
2 | 2 |
@import utils.TemplateHelper._ |
3 | 3 |
<!DOCTYPE html> |
4 | 4 |
|
... | ... | @@ -44,5 +44,6 @@ |
44 | 44 |
<script type="text/javascript"> |
45 | 45 |
$('input, textarea').placeholder(); |
46 | 46 |
</script> |
47 |
+@debug() |
|
47 | 48 |
</body> |
48 | 49 |
</html> |
--- project/Build.scala
+++ project/Build.scala
... | ... | @@ -51,7 +51,8 @@ |
51 | 51 |
templatesImport += "models.enumeration._", |
52 | 52 |
lessEntryPoints <<= baseDirectory(_ / "app" / "assets" / "stylesheets" ** "nforge.less"), |
53 | 53 |
// jacoco.settings:_*, |
54 |
- fork in Test := false, |
|
54 |
+// fork in Test := false, |
|
55 |
+ javaOptions in test ++= Seq("-Xmx512m", "-XX:MaxPermSize=512m"), |
|
55 | 56 |
parallelExecution in Test := false |
56 | 57 |
// Play2WarKeys.servletVersion := "3.0" |
57 | 58 |
// Or Play2WarKeys.servletVersion := "2.5" |
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?