Closed nloyola closed 9 years ago
Hi, you must have the scala-2.11 distribution available and its '/bin' directory on your PATH.
The shell script tries to find the scala libraries relative to the 'scala' executable. I should make it fail earlier with a descriptive message.
Hi, changed the sctags to fail fast if it can't find the "scala" executable. Also improved the README to clearly state this dependency.
I can get it to work now, but I still have problems. I'm running Ubuntu 14.10 and I installed scala from here:
http://www.scala-lang.org/files/archive/scala-2.11.6.deb
This installs scala to /usr/bin/scala
, but the file /usr/bin/scala
is a symlink to /usr/share/scala/bin/scala
.
To run sctags successfully I have to use the command:
SCALA_LIB="/usr/share/scala/lib" ~/sctags -f TAGS -R src/main/scala
If I don't specify SCALA_LIB
on the command line, the script thinks that SCALA_LIB
is /usr/bin/../lib
which is the wrong directory.
Thanks
Yes, right. It should be fixed in the last commit - now it will follow symlinks when trying to find where are the scala libraries.
Perfect! It works now without specifying SCALA_LIB
.
Thank you
I just cloned the repository and built it following your instructions. When I run
sctags
on the sctags project I get an exception:Command:
Backtrace:
How do I fix this?
Thanks