-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala 3.5 is using the wrong launcher #238
Comments
@bishabosha I think either this might interest you, or you could suggest who else might want to take a look? |
You need to reinstall coursier, or at least try to update it first, then reinstall scala - there should probably be a note added to the blog post e.g. if you read the error message, it tells you what to do
@JD557 did you follow the steps before opening the issue? - perhaps the message is incorrect |
Well well. Still only a few early adopters have already installed. (But I'm counting the hours until my 200+ students will go ahead and install on all sorts of boxes...) |
For some reason running |
@bjornregnell hopefully this shouldn't affect users who install coursier for the first time Edit: it seems it is incorrect - version overrides only kick in apparently for explicit versions |
I have followed all the steps and it only works if you give an explicit See further here: https://contributors.scala-lang.org/t/3-5-0-release-thread/6666/66 |
@bishabosha how fast can a new cs version be released if needed? or an updated JSON if that is enough? |
ok I can reproduce that, perhaps we can rewrite the scala.json to make the native runner the default, and then version overrides use jvm launcher? |
that would be great! Do you know what the JSON should say instead? |
@JD557 To clarify, it definitely isn't about the main class, so might be worth it to update the issue name, to avoid confusion. |
Ok, I edited the title to a more generic one |
Scala 3.5.0 is using the default
dotty.tools.MainGenericRunner
: https://github.com/coursier/apps/blob/main/apps/resources/scala.json#L2In turn, the following warning is launched:
So I think we need to define a
mainClass
override, similar to https://github.com/coursier/apps/blob/main/apps/resources/scala.json#L35But I don't know what's the new main class 😓
The text was updated successfully, but these errors were encountered: