We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mill init
When attempting to run mill init <Giter8 template> on Windows 11, I get the following:
mill init <Giter8 template>
PS C:\Users\joshua\g\test> mill init scalalib/web/3-scalajs-module [1/1] init [1] Downloading example from https://github.com/com-lihaoyi/mill/releases/download/0.12.5/0.12.5-example-scalalib-web-3-scalajs-module.zip... [1] Unpacking example... [1] .mill-version [1] build.mill [1] foo [1] foo/src [1] foo/src/Foo.scala [1] foo/test [1] foo/test/src [1] foo/test/src/FooTests.scala [1] mill [1] mill.bat [1] null [1/1] ================== init scalalib/web/3-scalajs-module ================= 1 tasks failed init java.lang.Exception: 1 tasks failed mill.init.InitModule.init java.lang.UnsupportedOperationException java.base/java.nio.file.Files.setPosixFilePermissions(Files.java:2168) os.perms$set$.apply(PermsOps.scala:28) mill.init.InitModule.$anonfun$init$3(InitModule.scala:80) mill.init.InitModule.$anonfun$usingExamples$2(InitModule.scala:102) scala.util.Using$.apply(Using.scala:296) mill.init.InitModule.usingExamples(InitModule.scala:98) mill.init.InitModule.$anonfun$init$2(InitModule.scala:34) mill.main.MainModule.$anonfun$init$1(MainModule.scala:575) mill.define.Task$TraverseCtx.evaluate(Task.scala:219)
There's a line of code which sets permissions to 777 on the downloaded copy of mill... under the hood, is this calling setPosixFilePermissions?
mill/main/init/src/mill/init/InitModule.scala
Line 80 in e009563
I see elsewhere (mill.util.jvm) where setPosixFilePermissions is guarded behind a check for isWin:
mill.util.jvm
mill/main/util/src/mill/util/Jvm.scala
Lines 403 to 422 in b795622
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When attempting to run
mill init <Giter8 template>
on Windows 11, I get the following:There's a line of code which sets permissions to 777 on the downloaded copy of mill... under the hood, is this calling setPosixFilePermissions?
mill/main/init/src/mill/init/InitModule.scala
Line 80 in e009563
I see elsewhere (
mill.util.jvm
) where setPosixFilePermissions is guarded behind a check for isWin:mill/main/util/src/mill/util/Jvm.scala
Lines 403 to 422 in b795622
The text was updated successfully, but these errors were encountered: