Skip to content

sbt-dotty looks for wrong doctool jar since bump to 3.0.1-RC1 #11940

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

Closed
griggt opened this issue Mar 29, 2021 · 3 comments
Closed

sbt-dotty looks for wrong doctool jar since bump to 3.0.1-RC1 #11940

griggt opened this issue Mar 29, 2021 · 3 comments
Assignees

Comments

@griggt
Copy link
Contributor

griggt commented Mar 29, 2021

It's looking for scala3-doc rather than scaladoc:

sbt:scala3-simple> doc
[error] Couldn't retrieve `org.scala-lang:scala3-doc:3.0.1-RC1-bin-SNAPSHOT` : Error downloading org.scala-lang:scala3-doc_3.0.1-RC1:3.0.1-RC1-bin-SNAPSHOT
[error]   Not found
[error]   not found: /home/tgrigg/.ivy2/local/org.scala-lang/scala3-doc_3.0.1-RC1/3.0.1-RC1-bin-SNAPSHOT/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/org/scala-lang/scala3-doc_3.0.1-RC1/3.0.1-RC1-bin-SNAPSHOT/scala3-doc_3.0.1-RC1-3.0.1-RC1-bin-SNAPSHOT.pom.
[error] (doc / scalaInstance) Couldn't retrieve `org.scala-lang:scala3-doc:3.0.1-RC1-bin-SNAPSHOT` : Error downloading org.scala-lang:scala3-doc_3.0.1-RC1:3.0.1-RC1-bin-SNAPSHOT

The hardcoded 3.0.0 looks dubious:

https://github.com/lampepfl/dotty/blob/5bb0e92b33cd96ac96d394068165b38e4ce5b035/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala#L375-L378

@abgruszecki
Copy link
Contributor

@smarter simply checking if v starts with 3 should work, no?

@smarter
Copy link
Member

smarter commented Mar 29, 2021

Yes I think so.

@abgruszecki
Copy link
Contributor

Fixed in #11946.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants