Skip to content

Missing DOS batch files in Scala 3? #12593

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
cebaraldi opened this issue May 25, 2021 · 1 comment
Closed

Missing DOS batch files in Scala 3? #12593

cebaraldi opened this issue May 25, 2021 · 1 comment

Comments

@cebaraldi
Copy link

Hello!

Sorry for bothering you w/ such details. I am missing the usually available dos batch for the Windows version of Scala 3.

As a workaround and because I hoped these batch files could be created as a side-effect, So I tried to compile this version myself. The sbt compile command stopped w/ the following lines:

sbt:scala3> compile
[info] Unpacking scalajs-ir sources to C:\Users\ceb\Downloads\dotty-3.0.0\compiler\target\scala-3.0.0-RC2-bin-20210325-ab2664f-NIGHTLY\src_managed\main\scalajs-ir-src...
[info] compiling 7 Java sources to C:\Users\ceb\Downloads\dotty-3.0.0\interfaces\target\classes ...
[info] compiling 66 Scala sources and 25 Java sources to C:\Users\ceb\Downloads\dotty-3.0.0\library\target\scala-3.0.0-RC2-bin-20210325-ab2664f-NIGHTLY\classes ...
[info] compiling 7 Scala sources to C:\Users\ceb\Downloads\dotty-3.0.0\tasty\target\scala-3.0.0-RC2-bin-20210325-ab2664f-NIGHTLY\classes ...
[info] compiling 480 Scala sources and 6 Java sources to C:\Users\ceb\Downloads\dotty-3.0.0\compiler\target\scala-3.0.0-RC2-bin-20210325-ab2664f-NIGHTLY\classes ...
[error] stack trace is suppressed; run last scala3-compiler / Compile / managedResources for the full output
[error] (scala3-compiler / Compile / managedResources) java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.
[error] Total time: 168 s (02:48), completed 25 May 2021, 13:01:45

What am I missing and/or what is my mistake?

Possibly it would be easier to edit the batch files from a previous version like 2.13.6? As you will notice, I am eager to try Scala 3 out. In the meantime I will start first from my usual Linux OS.

Congratulations for the new release! Thanks a lot and kind regards

Claudio

@michelou
Copy link
Contributor

Duplicate of #12551.

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