Hallo,

Am Freitag, 27. Mai 2011 14:38:35 UTC+2 schrieb sthu...@googlemail.com:

> development "swank-clojure:swank-clojure:1.2.1" // <- NOTE the difference
> main = "swank.swank/start-repl" // <- NOTE the difference

I'm a vim guy. :) So I don't know the swank details. :)

> task runSwank(type: clojuresque.ClojureExec)

You can also add "import clojuresque.ClojureExec" at the top. Then you can 
abbreviate things when you use several clojure exec tasks. BTW: clojuresque 
also supports "project.clojureExec" so you can something like this

task doStuff << {
    do_stuff()

    project.clojureExec {
        classpath = project.files(
            project.sourceSets.main.clojure.srcDirs,
            project.sourceSets.main.classesDir,
            project.sourceSets.test.clojure.srcDirs,
            project.configurations.testRuntime,
            project.configurations.development
        )
        main = "do-more/clojure-stuff"
        args = [ "a", "b", "c" ]
    }

    and_more(gradle(), here())
}

> now after 'gradle runSwank' from project root I can 'M-x slime-connect'
> to the local swank server running on port 4005.

Good to know, it worked. :)

> Thanks again and greetings to Frankfurt!

Danke und Grüsse zurück.

Gruss
Meikel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to