Groups
Groups
Sign in
Groups
Groups
日本Playframeworkユーザー会
Conversations
About
Send feedback
Help
Play 2.1.5 を使ってJavaで開発している時のコンパイルについて
430 views
Skip to first unread message
akiyama masahiro
unread,
Dec 23, 2013, 8:29:28 AM
12/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pla...@googlegroups.com
こんにちは akiyama と申します。
現在、Play 2.1.5 を Java で開発しています。開発中は play debug run で Play Framework を起動しています。
Play Framework は devモードで起動しているので、Javaのソースファイルもしくはテンプレートの .scala.html を
編集した後には自動的に差分コンパイルと内部での再起動(?)が行なわれるのは便利なのですが、
ブラウザからリクエストを受ける、コンパイル、レスポンスを返し終わるまでの時間が長くて開発が途切れ気味です。
コンパイルにかかる時間は、長いと感じて計った時には短い時でも2分、長いと5分かかることがあります。
コンソールのメッセージを見ていると、 Java をコンパイル、 scalaのテンプレートをコンパイル、再度Javaコンパイルと
繰返しコンパイルが行なわれます。依存関係でコンパイルが行なわれるのは理解できます。
しかし、継続して作業を行なっていると リクエストを受け付けてからレスポンスを返すまでの時間が長くなっていきます。
JDKは 1.7系の32bit を使っています。OSはWindows7に12Gbyteのメモリを乗せているので、
メモリ不足の可能性は低いとおもっています。
できれば、サクサクと開発したいとおもっています。何か、妙案をお持ちの方がいらっしゃったら
教えていてだけますか。
Kenji Yoshida
unread,
Dec 23, 2013, 8:28:55 PM
12/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pla...@googlegroups.com
こんにちは。アドベントカレンダーのネタにさせてもらう関係で、blogのほうに書いてみました
http://d.hatena.ne.jp/xuwei/20131224/1387848493
Reply all
Reply to author
Forward
0 new messages