Skip to content

Projects in the mounted WSL filesystem #5564

@stellerex

Description

@stellerex

Latest versions of Mill doesn't support projects located in the mounted WSL filesystem. The core issue is microsoft/WSL#5762.

java.io.IOException: Incorrect function
        at java.base/sun.nio.ch.FileDispatcherImpl.lock0(Native Method)
        at java.base/sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:107)
        at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1529)
        at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1360)
        at mill.main.client.lock.FileLock.tryLock(FileLock.java:24)
        at mill.main.client.ServerLauncher.acquireLocksAndRun(ServerLauncher.java:99)
        at mill.runner.client.MillClientMain.main(MillClientMain.java:65)

It would be nice to add an option to skip locking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions