Support for scala 2.12

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

vinhbt
Posts: 5
Joined: 01 Sep 2017, 14:55

Support for scala 2.12

Postby vinhbt » 18 Jul 2018, 03:43

can you support me for migrate from scala 2.11 to 2.12
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Support for scala 2.12

Postby Lapo » 18 Jul 2018, 07:30

Hi,
I am not sure what you mean by that? Do you mean migrating your code?
In terms of changing the scala runtime in SFS2X, it is not recommended as it might introduce unexpected issues.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
vinhbt
Posts: 5
Joined: 01 Sep 2017, 14:55

Re: Support for scala 2.12

Postby vinhbt » 24 Jul 2018, 04:04

Yes I wan't to migrate my project from scala 2.11 to 2.12 but scala runtime in SFS2X is 2.11.
Can you support me to change it to 2.12
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Support for scala 2.12

Postby Lapo » 24 Jul 2018, 07:31

You can try replacing the scala library jar under SFS2X/lib/ but we can't guarantee everything will keep working.
Scala is known for breaking existing code in new updates.

If it doesn't work we have no immediate way to fix it as we would need to investigate what has changed in the new Scala and fix/test/redeploy the necessary libraries. We might do it for the next major release but we don't have a quick workaround to offer.

What is new in Scala 12, by the way? And what's the reason you need it for you project?

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 37 guests