Hi,

Am Freitag, 27. Mai 2011 12:19:55 UTC+2 schrieb sthu...@googlemail.com:
>
> can anybody recommend a way to integrate clojuresque (1.4.1) with SLIME? I 
> did
> some googling but couldn't find any helpful pointers.
>

You do something like:

dependencies {
    compile "org.clojure:clojure:1.3.+"

    development "swank:swank:whateverversion" // <- Don't know the details.
}

task runSwank(type: 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 = "swank.swank/start-server"
    args = []
}

This should do the trick. If you have to set the options of the server 
(different port), you'll have to write a wrapper, because swank expects 
keywords, but ClojureExec passes arguments as strings.

Hope that gets you started.

Sincerely
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