Install an older play version

427 views
Skip to first unread message

Stéphane Emery

unread,
Feb 22, 2016, 10:37:56 AM2/22/16
to play-framework
Hello,

I want to install Play 2.3 but it automatically updates.

Does anyone know how?

Thanks.

Brian T. Grant

unread,
Feb 23, 2016, 11:19:37 AM2/23/16
to play-framework
How did you install it? Did you download the binary or are you using a package management tool?

Stéphane Emery

unread,
Feb 23, 2016, 11:32:38 AM2/23/16
to play-framework
I download typesafe activator 1.3.7 from the Play site and I followed the instructions on the site for install. Then I noticed that I had installed the 2.4.6 release then for the version 2.3 I download 1.3.5 typesafe activator which is automatically updates.

Maybe I didn't understand the link between typesafe activator and Play.

Thanks

raunak

unread,
Feb 23, 2016, 6:29:00 PM2/23/16
to play-framework
1.3.7 is the version of activator, not Play. You can specify the version of Play in ../<project_name>/project/plugins.sbt file.  

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.0")


Stéphane Emery

unread,
Feb 24, 2016, 5:10:50 AM2/24/16
to play-framework
I have this error:

  • D:\activator-dist-1.3.7\test\build.sbt:18: error: not found: value routesGenerator
  • routesGenerator := InjectedRoutesGenerator
 

Greg Methvin

unread,
Feb 24, 2016, 5:59:45 AM2/24/16
to play-framework
Yes, the problem is that the routesGenerator setting in sbt didn't exist in play 2.3.

I'm not sure I would advise using a more recent template and just updating the play version, since a lot of things could break. For example a lot of the built-in dependency injection functionality won't work in 2.3.

There are play 2.3 activator templates such as https://www.lightbend.com/activator/template/hello-play-2_3-scala (though it looks like the site is down now).

--
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/65e8b083-9f7b-4895-84bb-fa0afe819ff2%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Greg Methvin
Senior Software Engineer

Sivakumar Raja

unread,
Feb 24, 2016, 9:20:07 AM2/24/16
to play-fr...@googlegroups.com
To create a project for play 2.3 in recent activator, try the following command in your terminal activator new project-name play-java-2.3

Above command will create a new play project of version 2.3.10

Thanks,
Sivakumar

Stéphane Emery

unread,
Feb 24, 2016, 1:58:58 PM2/24/16
to play-framework
It's working :D

thank you very much.
Reply all
Reply to author
Forward
0 new messages