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

REPL does not start: filename is too long #875

Open
noncom opened this issue Aug 18, 2016 · 1 comment
Open

REPL does not start: filename is too long #875

noncom opened this issue Aug 18, 2016 · 1 comment
Milestone

Comments

@noncom
Copy link
Contributor

noncom commented Aug 18, 2016

I am having a project where CCW refuses to start a REPL both in Lein-enabled and Java-launcher-enabled ways. The project depends on two other projects in the workspace, referenced from within checkouts as well as marked dependant in Eclipse project dependencies.

My current Eclipse is

Version: Neon Release (4.6.0)
Build id: 20160613-1800
CCW is Version 0.35.0.STABLE001
OS: Windows 7

Previously it worked just fine on Eclipse Mars + CCW 0.34.0.STABLE001 but there is this issure with CCW on Neon for me. Plain lein repl in the OS command line works OK and starts the repl. In this case if I "Connect to REPL" that is started in the OS command line with lein repl, it connects and everything is fine.

But there is a hint for what's going on: lein clean or lein repl via CCW's "Generic Leiningen Command Line" says "Exception occurred executing command line.

Cannot run program "C:\Program Files\Java\jre1.8.0_91\bin\javaw.exe" (in directory "D:\my_project_dir"): CreateProcess error=206, The filename is too long"

lein clean and lein run from the OS command line work OK
Eclipse Mars + CCW 0.34 also work OK

@laurentpetit laurentpetit added this to the 0.36.0 milestone Sep 29, 2016
@noncom
Copy link
Contributor Author

noncom commented Jan 2, 2017

This issue is gradually becoming more and more pressing, effectively preventing me from using newer versions of CCW, Eclipse and, consequently, Clojure in some not so distant future. I envision this becoming critical in a matter of 6-12 months or so.

Therefore I am willing to help to sort it out. I'd be glad to thoroughly investigate it and maybe factor a fix if I can. The problem here is that I do not know how to begin debugging CCW for it. I have found no "How to contribute" (or smth like that) section in the manual to describe how to work with the sources of CCW and to debug them.

If someone would provide a hint or a bunch of links with a brief instruction on how can I setup the environment for that and work on finding the source of the issue in CCW code, I would take from there and try fixing it.

Failing to do so would mean that the issue will eventually force me to move to another IDE, likely Emacs/Spacemacs (which I found to be mostly ok), however, I like CCW workflow and while I do use Emacs on remote PCs, still I would not like to have to switch to something else for my main local PC devopment.

I also think that other users can come across the issue if their projects have a certain feature in their configuration. As of now, I am not sure what feature exactly causes this failure, so I can't name it or determine what kind of projects is in the group of risk.

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

2 participants