Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a good setup to work with multiple Play version?

I now have a few different projects using different Play versions, and I need to context switch between them constantly.

What's a good setup for my Windows machine?

  1. Should I add both folders to PATH and rename play.bat to play1 and play2 ? Does the order between the libs matter?
  2. Should I prepare a batch script that switches my path variable?

Has anyone does this and can recommend a working setup? Specifically I'm using 1.2.4 and 2.1.0.

like image 357
ripper234 Avatar asked Feb 17 '23 09:02

ripper234


1 Answers

The first approach should work as expected, I'm using similar approach on my unix stations/servers but with usage of symlinks in /usr/bin ie: play200, play204, play210 etc.

Of course for most recent version you can keep just a play :)

like image 194
biesior Avatar answered Mar 02 '23 19:03

biesior