Skip to content
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

Support running on Windows #43

Open
Bouke opened this issue Nov 28, 2019 · 4 comments
Open

Support running on Windows #43

Bouke opened this issue Nov 28, 2019 · 4 comments

Comments

@Bouke
Copy link

Bouke commented Nov 28, 2019

This tool looks like something that could be useful to me. I'm mostly developing on my Mac, however the build runs on Windows (VM). I'd like to mirror two folders, as the virtual network share just is too damn slow.

I can't get it to startup, and I'm unsure where to take it from here. watchman.exe is in the same folder as where I'm running this command from.

> java -version
java version "1.8.0_231"
> java -cp mirror-all.jar mirror.Mirror server
Exception in thread "main" java.lang.UnsatisfiedLinkError: The operation completed successfully.

        at jnr.ffi.provider.jffi.AsmRuntime.newUnsatisifiedLinkError(AsmRuntime.java:40)
        at jnr.posix.WindowsLibC$jnr$ffi$0.getrlimit(Unknown Source)
        at jnr.posix.BaseNativePOSIX.getrlimit(BaseNativePOSIX.java:244)
        at jnr.posix.BaseNativePOSIX.getrlimit(BaseNativePOSIX.java:254)
        at mirror.SystemChecks.checkFileDescriptorLimit(SystemChecks.java:51)
        at mirror.SystemChecks.checkLimits(SystemChecks.java:39)
        at mirror.Mirror$BaseCommand.run(Mirror.java:97)
        at mirror.Mirror.main(Mirror.java:55)
@stephenh
Copy link
Owner

Hi @Bouke, yeah unfortunately I've only personally needed to support Linux and so haven't investigated Windows support. I'd be happy to accept PRs though!

@Bessonov
Copy link

Bessonov commented Jan 4, 2020

I'm not windows user, but did you tried wsl (maybe with docker image) to run mirror?

@stephenh
Copy link
Owner

stephenh commented Jan 5, 2020

@Bessonov that's interesting, but no I haven't tried that. I don't have any Windows machines available and could probably find a virtualbox / something to run, but haven't really been that curious about it.

@stephenh stephenh changed the title Could this tool run on Windows? Support running on Windows Oct 12, 2020
@razem-io
Copy link

razem-io commented Mar 8, 2022

Just to confirm, WSL works. The performance is not as good as with running it on Windows, but once the initial sync is done it is more than fast enough.

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

4 participants