-
Notifications
You must be signed in to change notification settings - Fork 209
Use java nio to fix broken symlink #165
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
Conversation
|
Thanks for the pull. Checking it now ;-) |
|
Does it work for a npm specified with npmVersion (not bundled with node) ? |
|
That is actually a different issue, which has been resolved by one of the latest versions. This fix does not change any behavior but doesn't use gradles tar plugin which does not support symlinks. |
|
Oh I see ... actually #134 would be fixed by this change |
|
For the npm bundled with node if I understand well but not for the separately donwloaded npm. Is that correct ? |
|
That's correct. I'll have a look on that tomorrow and try to find a solution for that issue as well |
|
Cool ! Thanks ! |
|
@s0x Does it also work on Windows ? |
|
This does not change anything on the windows installation, since this is handled separately. Is this broken on windows as well? |
|
I don't know. I use Linux. But I need it to work on Windows. |
|
Same here. |
|
@srs: Is there anything which prevents you from merging this? |
|
Not sure if this will work on every installation since it's executing the |
|
It seems that there is no pure-java version of it. The other option would be to not use the symlink at all. I'm working on it atm. |
023e086 to
e9b8acf
Compare
|
@srs I fixed the symlink using java nio. I guess that is the best option we have |
|
Nice one! Thanks. Now I haven no more concerns. Will pull this tomorrow and a lot of other PR's. |
This fixes #164