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
Cloning fails on Windows #218
Comments
that's a surprising problem... only Svante (who is traveling currently) knows if these can be renamed but the "test-reference" indicates that it's something generated and to be compared with future results of the code generation... i tried it with git-for-windows and apparently it depends on the total length of the path: is it possible to configure Idea to store it in a shorter path? |
No, that's a known problem on Windows with filenames and folders (in combination) should not be longer than 255 characters... and this although NTFS is able to handle even more characters... 🙈
might help to shorten the links to a minimum in my experience. (so creating another (virtual) partition linking to the git folder) Well, this subst'ing commands needs to be typed every startup as windows forgets such stuff sadly. |
Interesting, I was not aware that such long file name exists (and as developers usually say - works on my laptop) ;-) But honestly, first this long path including the file name to a test reference file exists: this generated from a very special case of the RelaxNG XML Grammar, where a single element might have 7 different names: If there is such choice of names for the same entitiy of element - same (sub)content - the unique name is equal to the concatenation of the choices, see so far it seems quite correct and reasonable to me! :-) The complete path (including the default odftoolkit repo name counts 232 character but strangely my directory path counts 29 characters and no error for me! So I took a look and if you have a Windows docu: I suggest Dennis approach above use "subst" or a smaller director or a Windows update ;-) Nevertheless, thanks for pointing this out! Now we have a reference for this problem and work-around! |
Hi
I try to clone the project into Idea on Windows, but the cloning fails because four filenames are too long. I then try to clone on Linux and it succeeds without problems. I know Windows has a character limit on filenames.
Is it possible to get these four filenames shortened for Windows support?
Error log
The text was updated successfully, but these errors were encountered: