-
Notifications
You must be signed in to change notification settings - Fork 206
Description
In my project's 'resources', I have two files with the same filename but different paths. They are both listed in the bloop config "resources" section. When I build, Bloop throws AccessDeniedException (see below).
This is likely due to change made in #1631 .
Ideally the resources would be put in their appropriate place in the 'classes' folder, then everything would work. But that would take some more specification in the bloop config, or mapping (#2592), or heuristics.
Below is the error I get... in bloop config I have listed in resources both a LowEnd\Quad.glsl and a HighEnd\Quad.glsl.
Unexpected error when copying \XXX\resources\LowEnd\Quad.glsl to .bloop\XXX\bloop-bsp-clients-classes\classes-Metals-EvCmu-WwSrOP6PClmtGf6A==\Quad.glsl, you might need to restart the build server.
java.nio.file.AccessDeniedException: .bloop\XXX\bloop-bsp-clients-classes\classes-Metals-EvCmu-WwSrOP6PClmtGf6A==\QuadPS.glsl
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:171)
at java.base/sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:284)
at java.base/java.nio.file.Files.copy(Files.java:1305)
at bloop.io.ParallelOps$.copy$1(ParallelOps.scala:214)
at bloop.io.ParallelOps$.$anonfun$copyDirectories$10(ParallelOps.scala:251)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
at monix.eval.internal.TaskRunLoop$.startFuture(TaskRunLoop.scala:494)
at monix.eval.Task.runToFutureOpt(Task.scala:586)
at monix.eval.internal.TaskDeprecated$Extensions.runSyncMaybeOptPrv(TaskDeprecated.scala:128)
at monix.eval.internal.TaskDeprecated$Extensions.$anonfun$coeval$1(TaskDeprecated.scala:303)
at monix.eval.Coeval$Always.apply(Coeval.scala:1451)
at monix.eval.Coeval.value(Coeval.scala:258)
at bloop.io.ParallelOps$.$anonfun$copyDirectories$9(ParallelOps.scala:279)
at monix.reactive.internal.consumers.ForeachAsyncConsumer$$anon$1.onNext(ForeachAsyncConsumer.scala:44)
at monix.reactive.internal.consumers.LoadBalanceConsumer$$anon$1.$anonfun$signalNext$1(LoadBalanceConsumer.scala:218)
at monix.execution.internal.InterceptRunnable.run(InterceptRunnable.scala:27)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)