Skip to content

Instantly share code, notes, and snippets.

@davidsantiago
Created September 29, 2010 00:57
Show Gist options
  • Save davidsantiago/602111 to your computer and use it in GitHub Desktop.
Save davidsantiago/602111 to your computer and use it in GitHub Desktop.
[david@localhost servlet]$ cake swank 10.0.1.12:4005 --env=development
/home/david/bin/cake:537:in `inspect': undefined method `start_with?' for #<String:0x2b3af5aa8c68> (NoMethodError)
from /home/david/bin/cake:382:in `reload_stale_files'
from /home/david/bin/cake:555:in `with_socket'
from /home/david/bin/cake:374:in `reload_stale_files'
from /home/david/bin/cake:330:in `init'
from /home/david/bin/cake:852
[david@localhost servlet]$ cake kill all
[david@localhost servlet]$ cake swank 10.0.1.12:4005 --env=development
/home/david/bin/cake:72:in `wait': Interrupt
from /home/david/bin/cake:72:in `duplex'
from /home/david/bin/cake:652:in `send_command'
from /home/david/bin/cake:555:in `with_socket'
from /home/david/bin/cake:648:in `send_command'
from /home/david/bin/cake:890
[david@localhost servlet]$ cake kill all
[david@localhost servlet]$ cake swank 10.0.1.12:4005 --env=development
[bake.task.swank ((:require [bake.swank :as swank])) (let [] (if (not (swank/installed?)) (do (println "swank-clojure is not in your library path.") (println "add swank-clojure as a dev-dependency in ~/.cake/project.clj to enable")) (if (swank/running?) (let [num (swank/num-connections) s (if (= 1 num) "" "s")] (println (format "swank currently running on port %d with %d active connection%s" (clojure.core/deref swank/current-port) num s))) (if (swank/start (or (first (:swank *opts*)) "localhost:4005")) (println "started swank-clojure server on port" (clojure.core/deref swank/current-port)) (println "unable to start swank-clojure server, port already in use")))))] {:opts {:swank ["10.0.1.12:4005"], :env ["development"]}, :shellenv {"SSH_CLIENT" "10.0.1.195 65351 22", "SSH_TTY" "/dev/pts/5", "HISTSIZE" "1000", "LESSOPEN" "|/usr/bin/lesspipe.sh %s", "PATH" "/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/david/bin", "LS_COLORS" "no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:", "USER" "david", "TERM" "xterm-color", "SHLVL" "1", "LANG" "en_US.UTF-8", "LOGNAME" "david", "SHELL" "/bin/bash", "HOSTNAME" "localhost.localdomain", "SSH_CONNECTION" "10.0.1.195 65351 10.0.1.12 22", "OLDPWD" "/home/david/bin/cake-src", "MAIL" "/var/spool/mail/david", "G_BROKEN_FILENAMES" "1", "INPUTRC" "/etc/inputrc", "PWD" "/Users/David/Documents/Development/site/servlet", "_" "/home/david/bin/cake", "HOME" "/home/david"}, :args ["swank" "10.0.1.12:4005" "--env=development"], :script "/home/david/bin/cake", :pwd "/Users/David/Documents/Development/site/servlet"}
/home/david/bin/cake:72:in `wait': Interrupt
from /home/david/bin/cake:72:in `duplex'
from /home/david/bin/cake:652:in `send_command'
from /home/david/bin/cake:555:in `with_socket'
from /home/david/bin/cake:648:in `send_command'
from /home/david/bin/cake:890
[david@localhost servlet]$ cake kill all
[david@localhost servlet]$ cake deps --global
[pom] creating pom.xml
[deps] Fetching dependencies...
[deps] Copying 2 files to /home/david/.cake/build/lib
[deps] Copying 1 file to /home/david/.cake/build/lib/dev
[deps] Deleting directory /home/david/.cake/lib
[deps] Attempting to rename dir: build/lib to lib
[deps] Restarting project jvm.
[david@localhost servlet]$ cake swank 10.0.1.12:4005 --env=development
[cake] connection to cake jvm is taking a long time...
[cake] you can use ^C to abort and use 'cake kill' or 'cake kill -9' to force the jvm to restart
started swank-clojure server on port 4005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment