Re: Newbie questions about leiningen

2010-07-07 Thread songoku
 Thanks for both answers. Two ways of doing it. Great!

The :jvm-opts -Xmx1g -option in the project-file doesnt seem to work
with the swank-server.

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


Re: Newbie questions about leiningen

2010-07-03 Thread Saul Hazledine
On Jul 2, 6:35 pm, Nicolas Oury nicolas.o...@gmail.com wrote:

 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?

I'd recommend the sample project file as a good place to look for
various settings:

http://github.com/technomancy/leiningen/blob/master/sample.project.clj

Saul

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


Re: Newbie questions about leiningen

2010-07-03 Thread Nicolas Oury
Thanks for both answers. Two ways of doing it. Great!

On Sat, Jul 3, 2010 at 9:56 AM, Saul Hazledine shaz...@gmail.com wrote:

 On Jul 2, 6:35 pm, Nicolas Oury nicolas.o...@gmail.com wrote:
 
  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?

 I'd recommend the sample project file as a good place to look for
 various settings:

 http://github.com/technomancy/leiningen/blob/master/sample.project.clj

 Saul

 --
 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.comclojure%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


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

Newbie questions about leiningen

2010-07-02 Thread Nicolas Oury
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

Re: Newbie questions about leiningen

2010-07-02 Thread Moritz Ulrich
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