In play framework 2.0.8 with Java is it possible to do a verbose compile?
Currently I only see:
[info] Compiling 131 Scala sources and 10 Java sources to ...
I'm trying to determine why so many files are recompiled when changing a controller.
Thanks in advance
menu (compile your project first). To debug, start your application with activator -jvm-debug 9999 run and in Eclipse right-click on the project and select Debug As, Debug Configurations. In the Debug Configurations dialog, right-click on Remote Java Application and select New. Change Port to 9999 and click Apply.
You can run the created application and view the result in the default browser http://localhost:9000. To run a Play application: Create a new Run Configuration – From the main menu, select Run -> Edit Configurations. Click on the + to add a new configuration.
Overriding configuration with system properties The default is to listen on port 9000 at the 0.0. 0.0 address (all addresses).
Play wraps sbt, so you could use the sbt command set logLevel in compile := Level.Debug
within the play console to set the logging level. Source: Configure and use logging
Changing a controller could trigger the routes compiler, which would need reverse routes to be recompiled, and then potentially anything using those reverse routes as well. I'm not sure of the details, but I can almost guarantee the routes compiler is involved with most mass re-compiles.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With