-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
lein.bat trampoline is constrained by command-line string limitation #982
Comments
What was the line you were trying to use? Windows XP? Looks like this should occur only on older systems. |
It's XP, in my case. |
What was the line that caused "The input line is too long"? The sample may help others think how to break it down into smaller chunks. |
It happened right after copying resource files using lein-resource plugin. |
I'm not sure how far we should go when it comes to backward compatibility. In addition, someone's working on a PowerShell implementation of the bat file, which will likely fix this issue. |
The trampoline handling in |
This is still an issue on windows, because with 'call' the part that is longer then 8191 chars will silently get dropped instead of an 'input line is too long'. With some manual hackery, trampolining with Powershell seems to be a solution. I am not sure about backwards compatibillity, but Leiningen already has a dependency on Powershell for installation, so is it ok to convert it? |
Does https://github.com/technomancy/grenchman work with trampoline on Windows? |
@ekroon: IIRC @technomancy has said that converting the |
@kumarshantanu I am not completely sure about the Grenchman hint, but there isn't a binary for Windows available. @hypirion that is my question indeed 😄 |
Grenchman uses libraries that haven't been ported to Windows. Porting to Powershell would be fine; happy to take a patch for that. |
Just noting I'm almost positive that this issue appeared for me with figwheel like this and this. I think this because I can see a file I'm almost entirely unfamiliar with leiningen but perhaps this could be worked around by creating one directory in |
I got "The input line is too long." on windows.
See: http://support.microsoft.com/kb/830473
The text was updated successfully, but these errors were encountered: