nakkaya/static — comment on commit a4776278c2baff9f48951aa71e53153738aa6403
File:  line 0
By nakkaya:

On 12/11/11 6:53 PM, Jasper Lievisse Adriaanse wrote:
> Either I'm missing something in my config:
>
> :host "http-host"
> :user "jasper"
> :deploy-dir "/tmp/blag2/"
>
> or something else is wrong:
>
> java -jar lib/static-app.jar --rsync
> Exception in thread "main" java.lang.IllegalArgumentException: No value supplied for key: jasper@http-host:static.io$deploy_rsync@7564debb
> at clojure.lang.PersistentHashMap.createWithCheck(PersistentHashMap.java:89)
> at clojure.core$hash_map.doInvoke(core.clj:327)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.core$apply.invoke(core.clj:540)
> at clojure.java.shell$parse_args.invoke(shell.clj:50)
> at clojure.java.shell$sh.doInvoke(shell.clj:111)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.core$apply.invoke(core.clj:540)
> at static.io$deploy_rsync.invoke(io.clj:100)
> at static.core$_main.doInvoke(core.clj:330)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at static.core.main(Unknown Source)
>
> Any idea?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/nakkaya/static/commit/a4776278c2baff9f48951aa71e53153738aa6403#commitcomment-785206
Since it depends on an external executable I've added another key :rsync
"path/to/rsync", previously it was hardcoded to "rsync".

--
Nurullah Akkaya
http://nakkaya.com