.clojure handling of launcher

Create issue
Issue #42 resolved
Meikel Brandmeyer repo owner created an issue

The new launcher supports a {{{.clojure}}} file in the current directory which is supposed to contain items for the classpath. Each line will be added as an item to the classpath.

However the concatenation is not done correctly and the user needs to add a colon to the end of each line.

Reported by [[http://groups.google.com/group/vimclojure/msg/9162a14f0ce44d4|Mike Mazur]].

Comments (3)

  1. Mike
    • changed status to open

    This fix also needs to be applied to the bin/ng-server script, something like the following works for me:

    --- ng-server-old	2010-01-02 22:10:50.000000000 +0800
    +++ ng-server	2010-07-04 11:24:08.915705393 +0800
    @@ -64,7 +64,7 @@
     if [ -f .clojure ]; then
         for path in `cat .clojure`; do
             if [ -n "${CLASSPATH:-}" ]; then
    -            export CLASSPATH="${path}${CLASSPATH}"
    +            export CLASSPATH="${path}:${CLASSPATH}"
                 export CLASSPATH="${path%:}"

    BTW this is on the latest 2.2.0 SNAPSHOT preview you announced 2010-07-04: http://groups.google.com/group/vimclojure/browse_thread/thread/a717b33d63178abd

  2. Log in to comment