If you launch swank with 'lein swank', there is probably an option.

lein is just a shell-script which calls the following at the end:

exec $RLWRAP $JAVA_CMD -Xbootclasspath/a:"$CLOJURE_JAR" -client $JAVA_OPTS \
                      -cp "$CLASSPATH" -Dleiningen.version="$VERSION" $JLINE \
                      clojure.main -e "(use 'leiningen.core)(-main)"
$NULL_DEVICE $@

A quick test on my machine showed that changing the environment
variable JAVA_OPTS can be used to pass arguments to the java vm.

On Fri, Jul 2, 2010 at 7:35 PM, Nicolas Oury <nicolas.o...@gmail.com> wrote:
> Dear all,
> I am moving from netbeans to leiningen + swank + emacs.
> Enclojure was great but I wanted to try somnething else. Leiningen is
> amazing. Thanks to the author(s).
> I am looking for a way to tell leiningen what JVM options to use with the
> SWANK server. (I need a lot of Heap size to do anything useful...)
> I wasn't able to find that in the doc. Is it not the right way of
> proceeding?
> Best regards,
> Nicolas.
>
> --
> 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



-- 
Moritz Ulrich
Programmer, Student, Almost normal Guy

http://www.google.com/profiles/ulrich.moritz

-- 
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