Avoid duplicate recompile many time with small change in Play 2.3

25 views
Skip to first unread message

Tu Pham Phuong

unread,
Oct 8, 2015, 11:26:44 PM10/8/15
to play-framework
Hi guys, 

I have a problem that my application run in play framework 2.3.8 recompile many time, I have use 

javacOptions ++= Seq("-encoding", "UTF-8", "-Xlint", "unchecked")

or

scalacOptions ++= Seq("-encoding", "UTF-8", "-Xlint", "unchecked")

... but nothing work. Please help me, every compile eat up to 1 -> 3 minutes. Thanks you so much.

P/S: My problem bellow!

[new-mail-service] $ compile
[info] Compiling 1 Java source to .../new-mail-service/target/scala-2.10/classes...
[warn] Note:.../new-mail-service/app/service/subscriber/SubscriberService.java uses or overrides a deprecated API.
[warn] Note: Recompile with -Xlint:deprecation for details.
[warn] Note: .../new-mail-service/app/service/subscriber/SubscriberService.java uses unchecked or unsafe operations.
[warn] Note: Recompile with -Xlint:unchecked for details.
[info] Compiling 13 Java sources to.../new-mail-service/target/scala-2.10/classes...
[warn] Note: Some input files use or override a deprecated API.
[warn] Note: Recompile with -Xlint:deprecation for details.
[warn] Note: Some input files use unchecked or unsafe operations.
[warn] Note: Recompile with -Xlint:unchecked for details.
[success] Total time: 16 s, completed Oct 8, 2015 8:28:17 PM
Reply all
Reply to author
Forward
0 new messages