Hi all,
As I’m sure many of you know, for the past few major releases the recommended way to get started with Play was using Activator. The original idea of Activator was to be a full featured environment for tutorials, training, and example projects across all of Lightbend’s technologies. Once you got started with Play you could of course just use SBT, but Activator provided a unified platform for getting started with Play and other reactive technologies.
Over time we’ve realized that Activator is not an ideal solution for most Play developers. If you just need a starter project, you shouldn’t need to download a 600MB+ application with a UI for that. There are far simpler and more robust solutions, including giter8 and simply cloning projects from GitHub and modifying them for your needs. We’ve also found that the tutorial aspects of Activator have not been used widely by the community, and most people seem to prefer web-based tutorials and blogs to learn about Play.
Since we believe those solutions are better for the majority of Play users, we’ve decided not to support Activator at all for the coming Play 2.6 release. We’ve updated the Play download page to describe the new methods you can use to get started.
So, how does this impact you?
Creating new applications:
SBT has added support for the sbt new command with support for giter8 templates. We’ve also internally developed an Example Code Service that packages sample projects for download on the Play website. The example projects actually include a local “sbt” executable so there is no need to download anything manually besides the example project.
You can see all Lightbend example projects on the Tech Hub. This also includes many tutorials and guides that were previously on Activator.
Creating and migrating templates:
If you are a template author, we recommend using giter8 instead. You can follow this guide for migrating your template to giter8.
Is activator still working?
You can still run the activator command to compile and package your applications, but we recommend that you adapt your workflow to use sbt directly. This should be easy to achieve since most activator commands (besides “ui” and “new”) just delegate to SBT.
More news about what will happen to existing activator templates will be coming soon.
Please let us know if you have any questions or feedback on this. Overall we believe this will be a strong positive change for the Play community and make it much easier to get started with Play.
Just yesterday I started working with Play. I felt the same with activator. I have worked with Grails before, its simplicity is just superb.
And also for the first time activator run took more than 15 minutes to run the application. Seriously that time I had a second thought about play!
Glad to see your taking this into consideration!
As I’m sure many of you know, for the past few major releases the recommended way to get started with Play was using Activator. The original idea of Activator was to be a full featured environment for tutorials, training, and example projects across all of Lightbend’s technologies. Once you got started with Play you could of course just use SBT, but Activator provided a unified platform for getting started with Play and other reactive technologies.
--
You received this message because you are subscribed to the Google Groups "Play framework dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework-dev+unsub...@googlegroups.com.
--
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/2089a012-b8b5-4e04-84be-e86330a89a0a%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Play framework dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework-dev+unsub...@googlegroups.com.
I have looked into it and there are some tricks to cut this time down. For example, I can relax the name change rules. That makes it really fast, but result in some strange side-effect, making it non-usable.
Another area that it is consuming a lot of time is the dependency check time. I can use the offline mode and also it makes the compile time significantly shorter but, again, with some strange side-effects that I do not want to investigate further.
Alex,
Thank you for the tips. Yes, definitely I’ve tried to mean the Name Hashing rules. There was a post about it I found a while ago. We’ve tried it. It worked mostly but at some point the code compiled but the app did not run quite right, as I recall.
I will now look into https://github.com/coursier/coursier it should help the lookup time significantly during the build and report back my experience.
--
You received this message because you are subscribed to a topic in the Google Groups "Play Framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/NeMD04W6bN4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/ed4f10c8-880a-4b2f-9cb2-c9c2c9879b96%40googlegroups.com.
I second Tiabault on the compilation time issue.I switch between C# MVC and Play in my work. C# is a breeze, it compiles fast and I am up and running with a single line change in just a few seconds.When I change one line of code in Play (actually even one letter in my code), it often results in iterative compile starting with 60 or more Scala or Java files. Then after that's done, it often generates more compiles. This result often in 2-5 minutes wait, and I have a relatively small project consisting no more than 100 files.We can be told, our SBT is not configured right, or we could be missing Spring. But there is no easy way to find out what's causing this enormous waste of time, and Googling for this answer, there is not much out there. It almost feels like people have accepted this as the norm.
Will the activator be still supported for existing productions services. We have 100s of services in production and we don't have any plan to migrate the services to latest version soon due to number of constraints.Play 2.6 dropping support for Activator -Will we be able to build and upgrade the services after the EOL(2017) for existing services or we need to migrate all our services before end of 2017?
1) Normal people don't understand it. To be somewhat productive, you need to grasp Scala. This results in copy & paste of random pieces of code until it works
2) It's "incremental compiler" is all but incremental. Compile X java and Y scala sources with 1 error, on the next run it compiles them all again.
3) It's dependency management is full of issues, often requiring a wipe of .ivy2
--
You received this message because you are subscribed to the Google Groups "Play framework dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework-dev+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.