Created
September 29, 2010 00:16
-
-
Save davidsantiago/602067 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 {:env ["development"], :swank ["10.0.1.12:4005"]}, :env {"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"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment