Re: Cursive and gen-class

2015-08-25 Thread Alan Moore
I'll second that motion. A minor point of clarification re my previous comment: the issues with Eclipse have nothing to do with CCW as it wasn't even installed. My comment was more broadly aimed, lest anyone mistakenly think I was slighting CCW in any way. Moving on... Alan On Tuesday, Augu

Re: Cursive and gen-class

2015-08-25 Thread William la Forge
Actually what happened is that the cursive plugin continued working even after I upgraded to idea 14.1. Though obviously I could not reinstall the same plugin subsequent to that upgrade after an uninstall. At least, I am pretty sure that that is what happened. :-) Can we close this thread please?

Re: Cursive and gen-class

2015-08-25 Thread Niels van Klaveren
If you had read more attentively, he uninstalled Cursive because he suspected a reinstall might fix an error. However, the error was caused because in Cursive, an extra step is necessary configuring the project to make gen-class work in certain situations, so the unistall was unnecessary. When

Re: Cursive and gen-class

2015-08-25 Thread Fluid Dynamics
On Tuesday, August 25, 2015 at 1:05:30 PM UTC-4, Colin Fleming wrote: > > On 25 August 2015 at 18:22, Fluid Dynamics > wrote: > >> I seem to recall criticizing a piece of Clojure-relevant *technology* >> that had the rather remarkable property that it could be working, be >> deleted and reinstal

Re: Cursive and gen-class

2015-08-25 Thread Colin Yates
+1, let's keep the Clojure community respectful and welcoming. This has been distracting enough already. On 25 Aug 2015 18:12, "Alex Miller" wrote: > > On Tuesday, August 25, 2015 at 11:23:00 AM UTC-5, Fluid Dynamics wrote: >> >> On Tuesday, August 25, 2015 at 8:25:12 AM UTC-4, Alex Miller wrote

Re: Cursive and gen-class

2015-08-25 Thread Alex Miller
On Tuesday, August 25, 2015 at 11:23:00 AM UTC-5, Fluid Dynamics wrote: > > On Tuesday, August 25, 2015 at 8:25:12 AM UTC-4, Alex Miller wrote: >> >> Fluid, I agree with Daniel that calling something "junk" is unnecessary, >> especially when the people making and using such a tool are on the list

Re: Cursive and gen-class

2015-08-25 Thread Colin Fleming
On 25 August 2015 at 18:22, Fluid Dynamics wrote: > I seem to recall criticizing a piece of Clojure-relevant *technology* that > had the rather remarkable property that it could be working, be deleted and > reinstalled (exact same version), and suddenly be *not* working. > Except that's not actu

Re: Cursive and gen-class

2015-08-25 Thread Fluid Dynamics
On Tuesday, August 25, 2015 at 8:25:12 AM UTC-4, Alex Miller wrote: > > Fluid, I agree with Daniel that calling something "junk" is unnecessary, > especially when the people making and using such a tool are on the list. We > would like this to be a thoughtful, encouraging forum for discussion. >

Re: Cursive and gen-class

2015-08-25 Thread Alex Miller
Fluid, I agree with Daniel that calling something "junk" is unnecessary, especially when the people making and using such a tool are on the list. We would like this to be a thoughtful, encouraging forum for discussion. Alex -- You received this message because you are subscribed to the Google

Re: Cursive and gen-class

2015-08-24 Thread Fluid Dynamics
Daniel Compton, your comment was neither nice, nor helpful, and doesn't have a place in the Clojure mailing list. Please keep your inflammatory comments to yourself. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Cursive and gen-class

2015-08-24 Thread Daniel Compton
Fluid Dynamics, your comment was neither nice, nor helpful, and doesn't have a place in the Clojure mailing list. Please keep your inflammatory comments to yourself. On Tue, Aug 25, 2015 at 3:07 AM Alan Moore wrote: > FWIW - My experience with Eclipse vs IntelliJ is exactly the opposite - we > h

Re: Cursive and gen-class

2015-08-24 Thread Alan Moore
FWIW - My experience with Eclipse vs IntelliJ is exactly the opposite - we have been using Eclipse at my day job but I have recently abandoned it due to hangs, crashes, slow downs, etc. and have moved over to IntelliJ. YMMV. Alan -- You received this message because you are subscribed to the G

Re: Cursive and gen-class

2015-08-23 Thread William la Forge
OK. NOW I see support for 14.1. Why I didn't see that before! (hand slaps forehead) On Sunday, August 23, 2015 at 4:00:33 AM UTC-4, Colin Fleming wrote: > > Hi William, > > You have to ensure that you download the version of Cursive that > corresponds to your IntelliJ version - the links are in

Re: Cursive and gen-class

2015-08-23 Thread Colin Fleming
I totally agree that some people are endlessly amazing. On 23 August 2015 at 03:14, Fluid Dynamics wrote: > On Saturday, August 22, 2015 at 8:42:42 PM UTC-4, William la Forge wrote: >> >> Loving this. I had uninstalled cursive so I could reinstall. But the >> download of the plugin fails and whe

Re: Cursive and gen-class

2015-08-23 Thread Colin Fleming
Hi William, You have to ensure that you download the version of Cursive that corresponds to your IntelliJ version - the links are in the getting started guide here: https://cursiveclojure.com/userguide/. It's unfortunate but necessary that the versions coincide since the IntelliJ APIs change from

Re: Cursive and gen-class

2015-08-22 Thread William la Forge
Set the ide to Java 8 and clojure 1.7. And now it works great. Good catch. Thanks! As for Cursive, I'm guessing it is set to be compatible with idea 14.0.x, though fortunately when you go to 14.1 the plugins get grandfathered in. Which is a bit weird! On Saturday, August 22, 2015 at 8:12:30 PM

Re: Cursive and gen-class

2015-08-22 Thread Fluid Dynamics
On Saturday, August 22, 2015 at 8:42:42 PM UTC-4, William la Forge wrote: > > Loving this. I had uninstalled cursive so I could reinstall. But the > download of the plugin fails and when installing from disk it says > cursive-14-0.1.60 is not compatible. (I'm running with idea 14.1.4.) > > Delete

Re: Cursive and gen-class

2015-08-22 Thread William la Forge
Woh! I had to revert to 14.0.2 before idea accepted the clojure plugin as being compatible. On Saturday, August 22, 2015 at 8:42:42 PM UTC-4, William la Forge wrote: > > Loving this. I had uninstalled cursive so I could reinstall. But the > download of the plugin fails and when installing from

Re: Cursive and gen-class

2015-08-22 Thread William la Forge
Loving this. I had uninstalled cursive so I could reinstall. But the download of the plugin fails and when installing from disk it says cursive-14-0.1.60 is not compatible. (I'm running with idea 14.1.4.) Deleted the idea system cache, restarted, still incompatible. :-( On Saturday, August 22

Re: Cursive and gen-class

2015-08-22 Thread William la Forge
lean version shows java 8, but the ide sdk is java7. Didn't know they would be connected. :0 On Saturday, August 22, 2015 at 6:56:46 PM UTC-4, Colin Fleming wrote: > > That's very strange. I'd need more detailed instructions to try to > reproduce this. But the class it can't find is new in Java

Re: Cursive and gen-class

2015-08-22 Thread William la Forge
At the moment I am dead in the water. Uninstalled cursive and now I can't reinstall. Dies after downloading. Using Java 1.7.0_65 in the IDE. Lein says: Leiningen 2.5.2 on Java 1.8.0_31 Java HotSpot(TM) 64-Bit Server VM. Going to try manually downloading cursive, if I can figure out how. On Sat

Re: Cursive and gen-class

2015-08-22 Thread Colin Fleming
That's very strange. I'd need more detailed instructions to try to reproduce this. But the class it can't find is new in Java 8 so it looks like you have a JVM version issue. I suspect that this shows up in Cursive but not in lein because you're using a different JDK version in your Cursive project

Re: Cursive and gen-class

2015-08-22 Thread William la Forge
Bingo! Everything works when I revert to clojure 1.6.0. On Saturday, August 22, 2015 at 5:49:24 PM UTC-4, William la Forge wrote: > > More weirdness. This works: > > (let [^Object aa (.seq a5)] > (println (.getClass aa))) > > > But not this: > > > (let [^AASetSequence aa (.seq a5)] > (println

Re: Cursive and gen-class

2015-08-22 Thread William la Forge
More weirdness. This works: (let [^Object aa (.seq a5)] (println (.getClass aa))) But not this: (let [^AASetSequence aa (.seq a5)] (println (.getClass aa Nor, of course, this: (let [^AASetSequence aa (.seq a5)] (println (.count aa))) Here's the error I'm getting now: Informat

Re: Cursive and gen-class

2015-08-22 Thread William la Forge
Hi Colin! I've set it up to compile all. No doubt this will be very helpful as I will no longer need to compile using an external `lein compile`. But run still dies on the call (.getClass x), when x is a gen-class compiled class instance. On the other hand I still can not credit this as a Curs

Re: Cursive and gen-class

2015-08-22 Thread Colin Fleming
Hi William, Right, you'll need to tell Cursive to compile that namespace in *Settings->Build, Execution, Deployment->Compiler->Clojure Compiler*. Once you've done that things should work. Cursive doesn't currently pick the set of namespaces to be compiled up from lein - it probably should. Cheers

Cursive and gen-class

2015-08-22 Thread William la Forge
I searched and did not see anything recent on gen-class problems in Cursive. I find when I have a reference to a gen-class instance that instance? works in Cursive but .getClass does not. (Everything works with lein, of course.) What I am trying to do is to call the count method via (.count x).