-
Notifications
You must be signed in to change notification settings - Fork 1k
[2.x] After deleting the disk cache, the creation of symlinks stops #8478
Copy link
Copy link
Closed
Labels
Description
steps
- Open project with sbt 2.0.0-RC8 (maybe the behaviour is the same in the previous versions, I was testing with this one). Add any scala code to the project.
- Start the sbt shell
- Execute
compiletask
Expected & actual result:target/out/valuecontains many directories named with hashes, each containing symlinks to the CAS inside. - Remove the disk cache (both AC & CAS)
- Execute
compiletask - Remove whole
target/out/value - Execute
compiletask
Expected result:target/out/valuecontains directories named with hashes, each containing symlinks to the CAS inside.
Actual result:target/out/valuecontains directories named with hashes, each containing real files instead of symlinks.
problem
It seems that the symlinkSupported flag was somehow set to false during these steps, which caused symlink creation to stop.
It also affects the results of tasks such as exportedProductJars, where instead of creating symlinks, the jar is copied when symlinkSupported is set to false.
Reactions are currently unavailable