Re: [ANN] Counterclockwise 0.26.0

2014-07-13 Thread casper
Nice. Keep up the awesome work :)

On Thursday, July 10, 2014 10:53:59 PM UTC+2, laurent.petit wrote:

 Hello, 

 Counterclockwise 0.26.0 has just been released.

 This version fixes lots of longstanding, unnerving usability issues.

 Please see the Changelog for detailed explanations: 

 Release Note
 ===


 http://doc.ccw-ide.org/ChangeLog.html#_changes_between_counterclockwise_0_25_2_and_0_26_0

 Install
 ===

 Installation instructions:

 http://doc.ccw-ide.org/documentation.html#_install_counterclockwise

 Cheers,

 -- 
 Laurent Petit


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to return a value from catch block

2014-07-13 Thread sindhu hosamane
(defn convert-to-float [a]
   (try
(if (not= a   )
  (read-string a))
   (catch Exception e (str caught exception :  (.getMessage e)

After using the above convert-to-float function ,I get output like below 
when i have empty strings . 

---

37799

3779

54.4

caught exception: EOF while reading

caught exception: EOF while reading

caught exception: EOF while reading

37.9

caught exception: EOF while reading

37.9

How do i return nil or zero value from catch block ?  so that my output 
should look like 


37799

3779

54.4

0

0

ß

37.9

0

37.9

---

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to return a value from catch block

2014-07-13 Thread Torsten Uhlmann
You could wrap the catch expression in a do block and return something at 
the end of the block.
That means that the other statements in the do block must produce some side 
effect, like logging the error message:

(defn convert-to-float [a]
  (try
(if (not= a   )
  (read-string a))
  (catch Exception e (do 
   (println caught exception :  (.getMessage e))
   0

Does that help?

Torsten.

PS: I'm new to Clojure, so if I missed something please correct me.


On Sunday, July 13, 2014 12:53:14 PM UTC+2, sindhu hosamane wrote:

 (defn convert-to-float [a]
(try
 (if (not= a   )
   (read-string a))
(catch Exception e (str caught exception :  (.getMessage e)

 After using the above convert-to-float function ,I get output like below 
 when i have empty strings . 


 ---

 37799

 3779

 54.4

 caught exception: EOF while reading

 caught exception: EOF while reading

 caught exception: EOF while reading

 37.9

 caught exception: EOF while reading

 37.9

 
 How do i return nil or zero value from catch block ?  so that my output 
 should look like 

 

 37799

 3779

 54.4

 0

 0

 ß

 37.9

 0

 37.9


 ---


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to return a value from catch block

2014-07-13 Thread Thomas Heller
catch returns the value of the last statement, so instead of the (str) you 
could just return 0.0.

Also don't use read-string if you only expect floating point numbers, 
otherwise (convert-to-float :hmm) returns :hmm, not exactly a float.

Since closure uses Double as the default floating point type (I think) you 
should probably use something like:

(defn convert-to-float [a]
  (try
(Double/valueOf a)
(catch NumberFormatException e
  0.0)))

HTH,
/thomas

On Sunday, July 13, 2014 12:53:14 PM UTC+2, sindhu hosamane wrote:

 (defn convert-to-float [a]
(try
 (if (not= a   )
   (read-string a))
(catch Exception e (str caught exception :  (.getMessage e)

 After using the above convert-to-float function ,I get output like below 
 when i have empty strings . 


 ---

 37799

 3779

 54.4

 caught exception: EOF while reading

 caught exception: EOF while reading

 caught exception: EOF while reading

 37.9

 caught exception: EOF while reading

 37.9

 
 How do i return nil or zero value from catch block ?  so that my output 
 should look like 

 

 37799

 3779

 54.4

 0

 0

 ß

 37.9

 0

 37.9


 ---


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to use functions from clojure.contrib?

2014-07-13 Thread Pierre Masci
Haha, I've randomly come accross this exact same function in 
Prismatic/plumbing https://github.com/Prismatic/plumbing, plus a bunch of 
other interesting ones.
I'll use that version from now.


On Wednesday, 9 July 2014 13:26:21 UTC+1, Pierre Masci wrote:

 Thank you Andy, that's exactly the answer I needed.
 I thought I might be missing the right place where to look, because I'm 
 new to the ecosystem.
 http://crossclj.info 
 http://www.google.com/url?q=http%3A%2F%2Fcrossclj.infosa=Dsntz=1usg=AFQjCNG-DyQUTVfpaTQKl0M8glmTtO-tMQ
  is 
 a very good resource to know of.

 I will copy-paste that function for now.


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Determine file of auxiliary test method with clojure.test?

2014-07-13 Thread Colin Fleming
Hi Jeff,

Sorry for the late reply - that's great, thanks very much, looks like I can
hack something together with that.

Cheers,
Colin


On 11 July 2014 03:12, Jeff Valk jv-li...@tx.rr.com wrote:

 You could override the clojure.test/do-report implementation and use the
 same stack frame trick that the default :fail case uses. Then from there,
 either use the file name from the StackTraceElement, or demunge the
 method name to get the var. I wouldn't really call that obvious, though.
 :-)

 Cheers,
 Jeff

 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Protocol equivalent of Python's `repr`?

2014-07-13 Thread Sam Raker
I'm working my way through an intro to Clojure book, and I just got to the 
section on protocols. I might be missing something/committing a category 
error, but I'm wondering if there's a way to change the way a protocol is 
represented in the repl, akin to redefining `__repr__`/`__str__` in Python. 
The example protocol in the book involves a matrix (i.e., a vector of 
vectors). I can do this

(extend-protocol Matrix
clojure.lang.IPersistentVector
...
(pprint [vov] (clojure.pprint/pprint vov)))


which works fine when I call (pprint m) on a Matrix m:

(pprint m)
; [[0 0 0]
   [0 0 0]
   [0 0 0]]

What I'd like is to just have the same behavior calling the variable from 
the repl, i.e.

m
; [[0 0 0]
   [0 0 0]
   [0 0 0]]


Can/should this be done? Is this a job for macros? Am I just being 
lazy/un-Clojuric and just get over it and use (pprint m)?

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Protocol equivalent of Python's `repr`?

2014-07-13 Thread James Reeves
The multimethods print-method and print-dup handle this.

- James


On 13 July 2014 18:51, Sam Raker sam.ra...@gmail.com wrote:

 I'm working my way through an intro to Clojure book, and I just got to the
 section on protocols. I might be missing something/committing a category
 error, but I'm wondering if there's a way to change the way a protocol is
 represented in the repl, akin to redefining `__repr__`/`__str__` in Python.
 The example protocol in the book involves a matrix (i.e., a vector of
 vectors). I can do this

 (extend-protocol Matrix
 clojure.lang.IPersistentVector
 ...
 (pprint [vov] (clojure.pprint/pprint vov)))


 which works fine when I call (pprint m) on a Matrix m:

 (pprint m)
 ; [[0 0 0]
[0 0 0]
[0 0 0]]

 What I'd like is to just have the same behavior calling the variable
 from the repl, i.e.

 m
 ; [[0 0 0]
[0 0 0]
[0 0 0]]


 Can/should this be done? Is this a job for macros? Am I just being
 lazy/un-Clojuric and just get over it and use (pprint m)?

 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Protocol equivalent of Python's `repr`?

2014-07-13 Thread Jony Hudson
You might also enjoy looking at Gorilla REPL [1], which has an easily 
extensible renderer [2] for just this sort of thing. Disclosure: I'm one of 
its authors!


Jony

[1] http://gorilla-repl.org
[2] http://vimeo.com/89532785

On Sunday, 13 July 2014 18:51:40 UTC+1, Sam Raker wrote:

 I'm working my way through an intro to Clojure book, and I just got to the 
 section on protocols. I might be missing something/committing a category 
 error, but I'm wondering if there's a way to change the way a protocol is 
 represented in the repl, akin to redefining `__repr__`/`__str__` in Python. 
 The example protocol in the book involves a matrix (i.e., a vector of 
 vectors). I can do this

 (extend-protocol Matrix
 clojure.lang.IPersistentVector
 ...
 (pprint [vov] (clojure.pprint/pprint vov)))


 which works fine when I call (pprint m) on a Matrix m:

 (pprint m)
 ; [[0 0 0]
[0 0 0]
[0 0 0]]

 What I'd like is to just have the same behavior calling the variable 
 from the repl, i.e.

 m
 ; [[0 0 0]
[0 0 0]
[0 0 0]]


 Can/should this be done? Is this a job for macros? Am I just being 
 lazy/un-Clojuric and just get over it and use (pprint m)?


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Protocol equivalent of Python's `repr`?

2014-07-13 Thread Sam Raker
James: I haven't gotten to multimethods yet--I'll definitely check that out!

Jony: I use Gorilla REPL for basically all my clojure stuff already! It's
really great, thanks so much. I know you can add stuff to project.clj to
pretty-print everything in the repl, I was just wondering about targeting
specific protocols and types.



On Sun, Jul 13, 2014 at 2:29 PM, Jony Hudson jonyepsi...@gmail.com wrote:

 You might also enjoy looking at Gorilla REPL [1], which has an easily
 extensible renderer [2] for just this sort of thing. Disclosure: I'm one of
 its authors!


 Jony

 [1] http://gorilla-repl.org
 [2] http://vimeo.com/89532785


 On Sunday, 13 July 2014 18:51:40 UTC+1, Sam Raker wrote:

 I'm working my way through an intro to Clojure book, and I just got to
 the section on protocols. I might be missing something/committing a
 category error, but I'm wondering if there's a way to change the way a
 protocol is represented in the repl, akin to redefining
 `__repr__`/`__str__` in Python. The example protocol in the book involves a
 matrix (i.e., a vector of vectors). I can do this

 (extend-protocol Matrix
 clojure.lang.IPersistentVector
 ...
 (pprint [vov] (clojure.pprint/pprint vov)))


 which works fine when I call (pprint m) on a Matrix m:

 (pprint m)
 ; [[0 0 0]
[0 0 0]
[0 0 0]]

 What I'd like is to just have the same behavior calling the variable
 from the repl, i.e.

 m
 ; [[0 0 0]
[0 0 0]
[0 0 0]]


 Can/should this be done? Is this a job for macros? Am I just being
 lazy/un-Clojuric and just get over it and use (pprint m)?

  --
 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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Clojure group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/clojure/ClQ4LwjyxNo/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


working intellij plugin?

2014-07-13 Thread Brian Craft
In need of a way to breakpoint in java code, I decided to look at intellij. 
I tried the directions here:

http://wiki.jetbrains.net/intellij/Getting_started_with_La_Clojure

which don't work. When trying to open a project, it throws:

java.lang.NoSuchMethodError: 
com.intellij.openapi.module.ModifiableModuleModel.newModule(Ljava/lang/String;Lcom/intellij/openapi/module/ModuleType;)Lcom/intellij/openapi/module/Module;
at 
de.janthomae.leiningenplugin.project.LeiningenProject.reimport(LeiningenProject.java:133)
at 
de.janthomae.leiningenplugin.project.LeiningenProjectsManager.importLeiningenProject(LeiningenProjectsManager.java:71)
at 
de.janthomae.leiningenplugin.project.LeiningenProjectBuilder.commit(LeiningenProjectBuilder.java:57)


Tracking down the leinningen plugin project I see that it's dead, and 
points to the cursive project, which has no downloads.

Is there a way to get this working? Or, alternatively, is there a less 
painful way to set a breakpoint in java code from a lein project? My usual 
environment is fireplace. Command line would be great, but I'm not up for 
switching to emacs this week. ;)

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: working intellij plugin?

2014-07-13 Thread Mark Mandel
Try this for IntelliJ instead. It's far better:

https://cursiveclojure.com/

Mark


On Mon, Jul 14, 2014 at 11:35 AM, Brian Craft craft.br...@gmail.com wrote:

 In need of a way to breakpoint in java code, I decided to look at
 intellij. I tried the directions here:

 http://wiki.jetbrains.net/intellij/Getting_started_with_La_Clojure

 which don't work. When trying to open a project, it throws:

 java.lang.NoSuchMethodError:
 com.intellij.openapi.module.ModifiableModuleModel.newModule(Ljava/lang/String;Lcom/intellij/openapi/module/ModuleType;)Lcom/intellij/openapi/module/Module;
 at
 de.janthomae.leiningenplugin.project.LeiningenProject.reimport(LeiningenProject.java:133)
 at
 de.janthomae.leiningenplugin.project.LeiningenProjectsManager.importLeiningenProject(LeiningenProjectsManager.java:71)
 at
 de.janthomae.leiningenplugin.project.LeiningenProjectBuilder.commit(LeiningenProjectBuilder.java:57)


 Tracking down the leinningen plugin project I see that it's dead, and
 points to the cursive project, which has no downloads.

 Is there a way to get this working? Or, alternatively, is there a less
 painful way to set a breakpoint in java code from a lein project? My usual
 environment is fireplace. Command line would be great, but I'm not up for
 switching to emacs this week. ;)

 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
E: mark.man...@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

2 Devs from Down Under Podcast
http://www.2ddu.com/

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [nginx-clojure] Getting started question

2014-07-13 Thread Xfeep Zhang
Hi Boris

If there 's no port conflict, you can run multiple nginx instances without 
any problem. So if you do installation by binary you needn't remove the 
prior version.
If you don't want to run multiple nginx instances , you can stop the old 
one and copy the configuration files to the new one related directories. 
Then do additional 
configurations for nginx-clojure module, start the new nginx instance 
(including nginx-clojure).

If you want to replace the old nginx, you need to some things  to keep the 
default behaviors the same with you old nginx.

(1) Get the build configure arguments with your old nginx  you can run 

nginx -V
(2) Get the nginx souce and nginx-clojure source
(3) rebuild nginx-clojure with not only the build configure arguments with 
your old nginx but also the build configure arguments with nginx-clojure. 
e.g.

$./configure MY-OLD-BUILD-CONFIGURE-ARGUMENTS\
--add-module=nginx-clojure/src/c
$make

(4) replace the old nginx binary file with the new one.

regards
xfeep




On Wednesday, July 9, 2014 4:24:02 AM UTC+8, Boris Kourtoukov wrote:

 I am working on a small personal project and want to use/learn nginx and 
 clojure as the web backend. Unfortunately I am bogged down my the 
 installation instructions.

 I have Nginx running and serving html on a Linode instance, I just don't 
 know enough about it's plugins to do step 1.1 Installation by Binary  in 
 the nginx-clojure instructions: 
 https://github.com/nginx-clojure/nginx-clojure#11-installation-by-binary

 The way I read it nginx-clojure is meant to completely replace nginx on 
 the machine? So should I remove the prior version, install this from binary 
 and then re-setup the served sites? 

 Thanks and sorry for the basic question,
 Boris


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: working intellij plugin?

2014-07-13 Thread Colin Fleming
HI Brian,

Both La Clojure and the IntelliJ Leiningen plugin are effectively
discontinued in favour of Cursive. There's full instructions on how to get
started here: https://cursiveclojure.com/userguide. Let me know if you have
any more questions.

Cheers,
Colin


On 14 July 2014 03:35, Brian Craft craft.br...@gmail.com wrote:

 In need of a way to breakpoint in java code, I decided to look at
 intellij. I tried the directions here:

 http://wiki.jetbrains.net/intellij/Getting_started_with_La_Clojure

 which don't work. When trying to open a project, it throws:

 java.lang.NoSuchMethodError:
 com.intellij.openapi.module.ModifiableModuleModel.newModule(Ljava/lang/String;Lcom/intellij/openapi/module/ModuleType;)Lcom/intellij/openapi/module/Module;
 at
 de.janthomae.leiningenplugin.project.LeiningenProject.reimport(LeiningenProject.java:133)
 at
 de.janthomae.leiningenplugin.project.LeiningenProjectsManager.importLeiningenProject(LeiningenProjectsManager.java:71)
 at
 de.janthomae.leiningenplugin.project.LeiningenProjectBuilder.commit(LeiningenProjectBuilder.java:57)


 Tracking down the leinningen plugin project I see that it's dead, and
 points to the cursive project, which has no downloads.

 Is there a way to get this working? Or, alternatively, is there a less
 painful way to set a breakpoint in java code from a lein project? My usual
 environment is fireplace. Command line would be great, but I'm not up for
 switching to emacs this week. ;)

 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.