[Notice] Announcing the End of Demo Server [Read me]
Sangcheol Hwang 2013-01-24
change build option
@91fed5d4761ac64a25a6d1a93185bedf43602f01
app/controllers/Application.java
--- app/controllers/Application.java
+++ app/controllers/Application.java
@@ -20,8 +20,9 @@
 
 public class Application extends Controller {
 
-//	@Cached(key = "index")
     public static Result index() {  
+//    	changeLang("ko");
+    	
     	UserApp.isRememberMe();
     	
         if (session().containsKey(UserApp.SESSION_LOGINID)) {        	
 
app/views/debug.scala.html (added)
+++ app/views/debug.scala.html
@@ -0,0 +1,6 @@
+@()(implicit lang:Lang)
+@import play.api.Play.current
+
+<div class="container">
+    lang = @lang.code
+</div>
app/views/layout.scala.html
--- app/views/layout.scala.html
+++ app/views/layout.scala.html
@@ -1,4 +1,4 @@
-@(title: String)(thema:String)(content: Html)
+@(title: String)(thema:String)(content: Html)(implicit lang:Lang)
 @import utils.TemplateHelper._
 <!DOCTYPE html>
 
@@ -44,5 +44,6 @@
     <script type="text/javascript">
         $('input, textarea').placeholder();
     </script>
+@debug()    
 </body>
 </html>
project/Build.scala
--- project/Build.scala
+++ project/Build.scala
@@ -51,7 +51,8 @@
       templatesImport += "models.enumeration._",
       lessEntryPoints <<= baseDirectory(_ / "app" / "assets" / "stylesheets" ** "nforge.less"),
         //      jacoco.settings:_*,
-      fork in Test := false,  
+//      fork in Test := false,
+      javaOptions in test ++= Seq("-Xmx512m", "-XX:MaxPermSize=512m"),  
       parallelExecution in Test := false
 //      Play2WarKeys.servletVersion := "3.0"
       // Or Play2WarKeys.servletVersion := "2.5"
Add a comment
List