senny / emacs-eclim

This project brings some of the great eclipse features to emacs developers. It is based on the eclim project, which provides eclipse features for vim.
http://www.emacswiki.org/emacs/EmacsEclim
587 stars 102 forks source link

eclim-run-java-doc fails for multiple projects #263

Open nloyola opened 8 years ago

nloyola commented 8 years ago

The command eclim-run-java-doc fails when running it for multiple projects in the same workspace. I get the following error:

shell-quote-argument: Wrong type argument: listp, "/home/user/workspace/myproj"

I changed the code so that it would call the eclim executable with the correct parameters, but it still fails after successfully building the Javadoc for the first proejct. It does not execute the command for a second project. You can have a look at my code changes here: nloyola/emacs-eclim@ed8dbded7dcbc6a4e3f2e13c67d06f73bff13c70.

Does anyone know why it fails?

Also, should the code be changed so that the command is executed asynchronously since it takes a while to generate the Javadoc?

nloyola commented 8 years ago

The reason it fails after building the Javadoc for the fist project is because the eclim executable is not returning a valid Json string for the javadoc command.