Why does compilation take longer in Play 2.3.4 (activator) versus Play 2.2.4 (play)?

Scenario 1:

Start playing the 2.2.4 project with the command play ~run

, then move the code from A.java to B.java => the following output:

[info] Compiling 2 Java sources to D:\MyProject\target\scala-2.10\classes... [info] Compiling 1 Java source to D:\MyProject\target\scala-2.10\classes... [warn] Note: D:\MyProject\app\controllers\AdminController.java uses or overrides a deprec ated API. [warn] Note: Recompile with -Xlint:deprecation for details. [success] Compiled in 4s

Scenario 2:

Start game 2.3.4 (activator) with the command activator ~run

, then move the code from A.java to B.java => the following output:

[info] Compiling 9 Scala sources and 368 Java sources to D:\MyProject\target\scala-2.11\c lasses... [warn] Note: Some input files use or override a deprecated API. [warn] Note: Recompile with -Xlint:deprecation for details. [success] Compiled in 64s

Why does Play 2.3.4 recompile all sources in the second case? Are there settings for this? Both scenarios are designed for a single project, and in both cases, I ran play/activator clean

, and play/activator compile

before making any changes.

+3
java scala playframework-2.0 sbt typesafe-activator


source to share


No one has answered this question yet

Check out similar questions:

1722
Why is this code using random lines to print "hello world"?
1338
Why does Java have transient fields?
21
How do I get more information about the feature flag warning?
6
How can I do complex compilation in Play Framework?
five
Scala Play 2.3 InteliJ community version 14 * - is it possible to run a project without the cmd group activation command
2
Play 2.3.x framework does not run JUnit tests in child project
2
How do I calculate the minimum set of jars needed to compile a Play application?
0
play sbt dist team stuck
0
How is the Game going! is the compiler recursive in some cases?
-1
Why am I getting HelloWorld.java using or overriding deprecated API when compiling java using cmd?



All Articles
Loading...
X
Show
Funny
Dev
Pics