[info] Compiling 151 Scala sources and 1224 Java sources to C:\dev\CS\trunk\target\scala-2.11\classes...
[info] C:\dev\CS\trunk\app\services\xxxxx.java: Some input files use or override a deprecated API.
[info] C:\dev\CS\trunk\app\services\xxxxxxx.java: Recompile with -Xlint:deprecation for details.
[info] C:\dev\CS\trunk\app\com\EnumValueMarshaller.java: C:\dev\CS\trunk\app\com\EnumValueMarshaller.java uses unchecked or unsafe operations.
[info] C:\dev\CS\trunk\app\com\EnumValueMarshaller.java: Recompile with -Xlint:unchecked for details.
[info] LESS compiling on 1 source(s)
INFO - Creating Pool for datasource 'default'
INFO - Database [default] connected at jdbc:mysql://localhost/database?characterEncoding=UTF-8
DEBUG - Starting application default Akka system: actorWorld
log4j:WARN No appenders could be found for logger (org.jboss.logging).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
INFO - Application started (Dev)
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/e1a0ae9e-256c-4122-83c6-b8901eee4b55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
Thanks for your input. Quick questions to sort it out:-Do you have a single module?
-Do you have a single route file or did you split it in multiple route files?
-Do you have any views (or is it a simple REST api)
This has been the biggest pain point in using the play framework. I really like Scala, I really like that this is similar to .NET MVC, since I move back and forth. But a large size MVC project builds in just a few seconds, but with a single line of change, especially in our DAO object, it takes up several minutes for me to get the web page up and running.
Hello Justin,
Thank you for taking time and providing some great insight into this. For Java/Scala, play makes it very easy to whip up an web app and the possibility of scaling up big-time, and so I will continue to be a part of the community.
At any rate, I think part of the compilation (and my complain) time issue for us ties very much in dependencies as you point out. Likely we (over) use Spring DI, and I think if we change any Component it results in long compilation time. In our C# MVC, we are archaic (in healthcare as you can guess) and don’t do any D-I.
What has been puzzling me for years is that “activator ~run” will launch right away.
Then after we fire http://localhost:9000 it does several re-compile cycles, often not just once. It looks as though the first set outputs more dynamic sources and that in turn emits more sources. Often resulting in hundreds of sources over a one line change.
Now we have a bit better ideas.
Thanks again for the insights and also my apology for diverting this topic.
At any rate, I think part of the compilation (and my complain) time issue for us ties very much in dependencies as you point out. Likely we (over) use Spring DI, and I think if we change any Component it results in long compilation time. In our C# MVC, we are archaic (in healthcare as you can guess) and don’t do any D-I.
Then after we fire http://localhost:9000 it does several re-compile cycles, often not just once. It looks as though the first set outputs more dynamic sources and that in turn emits more sources. Often resulting in hundreds of sources over a one line change.
Thanks again for the insights and also my apology for diverting this topic.
That's insanely faster. We also do have the enhancer on so I ought to try this. We will give this a shot. Time is $.I've also read elsewhere that people who switched to Graddle had much less issue with compile time. From I recall in the post, SBT performs a lot more dependency scanning or checking and that eats up a lot of time. I have neither confirmed nor tried it, so it could be a fake news.
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/CANVzukRZQithnVM%2BkQNa%3D8kq6xXVR%2B97hwCbB8q%2B0DauxAHyrw%40mail.gmail.com.
Thanks for reporting that, Jean-François! Curious to see a more detailed article about it.Best.
On Tue, Jan 9, 2018 at 3:04 PM, Manabu Tokunaga <man...@wingumd.com> wrote:
That's insanely faster. We also do have the enhancer on so I ought to try this. We will give this a shot. Time is $.I've also read elsewhere that people who switched to Graddle had much less issue with compile time. From I recall in the post, SBT performs a lot more dependency scanning or checking and that eats up a lot of time. I have neither confirmed nor tried it, so it could be a fake news.
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/CANVzukRZQithnVM%2BkQNa%3D8kq6xXVR%2B97hwCbB8q%2B0DauxAHyrw%40mail.gmail.com.