hi
I have soluved the same problem. the conclusion is when ant made
vimclojure.jar, ant failed compiling it. Please check local.propaties
out. or you modify 'CLOJURE', 'CLOJURECONTRIB' and 'VIMCOLJUREHOME' of
my installer.sh. This script works on sh/bash/zsh ...
---- installer.sh
#!/bin/sh
# installer.sh - a simple vimclojure installer.
# Please rewrite CLOJURE, CLOJURECONTRIB and VIMCLOJUREHOME.
# The example is that CLOJURE is ~/opt/clojure/clojure.jar,
# that CLOJURECONTRIB is ~/opt/clojure-contrib/clojure-contrib.jar
# and that VIMCLOJUREHOME is ~/opt/vimclojure .
CLOJURE=${HOME}/opt/clojure/clojure.jar
CLOJURECONTRIB=${HOME}/opt/clojure-contrib/clojure-contrib.jar
NAILGUNCLIENT=ng
VIMCLOJUREHOME=${HOME}/opt/vimclojure
cp -r {autoload,doc,ftdetect,ftplugin,indent,syntax} ${HOME}/.vim
ant -Dnailgun-client=${NAILGUNCLIENT} -Dclojure.jar=${CLOJURE} -
Dclojure-contrib.jar=${CLOJURECONTRIB}
# ./ngserver is a shell script for clojure server of vimclojure.
echo '#!/bin/sh' > ngserver
echo java -cp ${CLOJURE}:${CLOJURECONTRIB}:${VIMCLOJUREHOME}/
vimclojure.jar com.martiansoftware.nailgun.NGServer 127.0.0.1 >>
ngserver
chmod 755 ngserver
# If 'ng' don't add on $PATH, please erase '#' of the below.
# echo let vimclojure#NailgunClient=\"${VIMCLOJUREHOME}/ng\">> $
{HOME}/.vimrc
------ end of the script
On Mar 14, 10:50pm, stephaner <[email protected]> wrote:
> Hi Mr Brandmeyer,
>
> The server is running:
> NGServer started on 127.0.0.1, port 2113.
>
> Here is the output using the client alone:
> ~/src/vimclojure-2.0.0$ ./ng de.kotka.vimclojure.nails.NamespaceOfFile
> < /home/steph/testsrc/test.clj java.lang.ClassNotFoundException:
> de.kotka.vimclojure.nails.NamespaceOfFile
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>
> Thank you,
>
> Stephane
>
> On Mar 14, 8:49 am, Meikel Brandmeyer <[email protected]> wrote:
>
> > Hi,
>
> > Am 14.03.2009 um 13:33 schrieb stephaner:
>
> > > When I try to read a clojure source file, I have the following
> > > exception:
>
> > > Error detected while processing function
> > > vimclojure#ExecuteNailWithInput:
> > > line 23:
> > > E605: Exception not caught: Couldn't execute Nail! /home/steph/src/
> > > vimclojure
> > > -2.0.0/ng de.kotka.vimclojure.nails.NamespaceOfFile </tmp/v42025/1
> > > Error detected while processing /home/steph/.vim/ftplugin/clojure.vim:
> > > line 131:
> > > E171: Missing :endif
> > > Error detected while processing function <SNR>5_LoadFTPlugin:
> > > line 17:
> > > E170: Missing :endfor
>
> > > The nailgun server is running.
>
> > > Anyone has a clue?
>
> > Please check the following:
>
> > - The ng *server* needs the following in the Classpath:
> > vimclojure.jar, clojure.jar, clojure-contrib.jar
>
> > - Does running the client manually work?
> > ng de.kotka.vimclojure.nails.NamespaceOfFile < your_src.clj
> > Does this give an exception?
>
> > There were several threads in the past days just about this problem.
> > Maybe check for them also.
>
> > Sincerely
> > Meikel
>
> > smime.p7s
> > 5KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---