Skip to content
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

Fix coursier/coursier#1957: Always use the original sbt launcher. #119

Merged
merged 2 commits into from
Feb 1, 2022

Conversation

sjrd
Copy link
Contributor

@sjrd sjrd commented Nov 12, 2021

This uses the new features merged in coursier:

  • The ability to install from the contents of a .zip file
  • The prebuilt launcher type

to ensure that we always install sbt and sbtn using their official distribution.

This uses the new features merged in coursier:

* The ability to install from the contents of a .zip file
* The `prebuilt` launcher type

to ensure that we always install sbt and sbtn using their official
distribution.
Copy link
Member

@alexarchambault alexarchambault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sjrd! Is this PR still a draft?

Comment on lines 6 to 7
"org.scala-sbt:sbt-launch:latest.stable",
"io.get-coursier.sbt:sbt-runner:latest.stable"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep those. These can be helpful when running cs launch sbt, which doesn't use prebuilt binaries for now.

Comment on lines 9 to 14
"properties": {
"jline.shutdownhook": "false",
"jna.nosys": "true"
},
"javaOptions": ["-Xms512m", "-Xss2m"],
"jvmOptionFile": ".jvmopts"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above. We should keep those. These should be ignored by cs install anyway, when it's using the prebuilt launcher.

@sjrd
Copy link
Contributor Author

sjrd commented Feb 1, 2022

Thanks @sjrd! Is this PR still a draft?

It's still a draft in the sense that, if it is merged now, all default installs of cs will be broken. It depends on the default installation instructions to point to a version of cs that can handle prebuilt and the features that go with it.

@alexarchambault alexarchambault marked this pull request as ready for review February 1, 2022 16:30
@alexarchambault alexarchambault merged commit ed5dbd6 into coursier:master Feb 1, 2022
@sjrd sjrd deleted the new-sbt branch February 2, 2022 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants