Re: labrepl updated

2010-05-08 Thread Craig Andera
> Changed my mind and fixed this on the Clojure side [1]. Now you should be > able to bind *err* to any old Writer you like. > > Stu > > [1] > http://github.com/richhickey/clojure/tree/c4eb5719b0f30ea4c113e6e98a1c171c43a01abe Just checked this out. Working fine now. Thanks! I'll let you know if I

Re: labrepl updated

2010-05-07 Thread Stuart Halloway
I have fixed it on the clojure side, so it should work with swank 1.1.0 now anyway. On Thu, May 6, 2010 at 6:49 AM, Stuart Halloway wrote: If there is not a principled reason swank works the way it does, let's fix it. I'll get to it eventually myself if nobody else does, but it isn't nea

Re: labrepl updated

2010-05-07 Thread Phil Hagelberg
On Thu, May 6, 2010 at 6:49 AM, Stuart Halloway wrote: > If there is not a principled reason swank works the way it does, let's fix > it. I'll get to it eventually myself if nobody else does, but it isn't near > the top of my list. It looks like labrepl is still using swank 1.1.0. Does upgrading

Re: labrepl updated

2010-05-07 Thread Stuart Halloway
Changed my mind and fixed this on the Clojure side [1]. Now you should be able to bind *err* to any old Writer you like. Stu [1] http://github.com/richhickey/clojure/tree/c4eb5719b0f30ea4c113e6e98a1c171c43a01abe So if someone produces a fork of incanter that doesn't have the warning (or Dav

Re: labrepl updated

2010-05-06 Thread Laurent PETIT
master version of labrepl tested with ccw succesfully. Remarks: * The pom.xml should have xmlns etc. stuff declared at its top, so that IDEs able to interpret it can assist people for verification, code completion, etc. * I still see lots of SNAPSHOT dependencies "not fixed to a particular sna

Re: labrepl updated

2010-05-06 Thread Michael Wood
On 6 May 2010 15:45, Craig Andera wrote: > So if someone produces a fork of incanter that doesn't have the > warning (or David fixes up Incanter), then the problem goes away? I don't use Incanter and I haven't tried labrepl, but I thought David had fixed Incanter a week or so ago to rename group-

Re: labrepl updated

2010-05-06 Thread Stuart Halloway
You would have to fix *all* warnings. If there is not a principled reason swank works the way it does, let's fix it. I'll get to it eventually myself if nobody else does, but it isn't near the top of my list. Stu So if someone produces a fork of incanter that doesn't have the warning (or

Re: labrepl updated

2010-05-06 Thread Craig Andera
So if someone produces a fork of incanter that doesn't have the warning (or David fixes up Incanter), then the problem goes away? Because the other place I see the warnings coming out of is swank itself. On Thu, May 6, 2010 at 9:33 AM, Stuart Halloway wrote: > This is another variant of the "Swan

Re: labrepl updated

2010-05-06 Thread Stuart Halloway
This is another variant of the "Swank likes StringWriters, everybody else likes PrintWriters" problem, see e.g. [1] I would love to see somebody fix this, and I think it is simpler (and probably conceptually correct) to make swank use a PrintWriter, instead of requiring all possible tools t

Re: labrepl updated

2010-05-06 Thread Craig Andera
Update: Using the latest labrepl commit (fa89411ae "use private compojure snapshot"), I'm now able to pull in incanter and use it (albeit with tons of warnings about group-by and flatten from both incanter and swank)...but only if I use script/repl via inferior-lisp. I still can't get swank to work

Re: labrepl updated

2010-05-05 Thread David Edgar Liebke
Let me know if you need me to make any changes. David On Wed, May 5, 2010 at 9:13 AM, Stuart Halloway wrote: > I'll have a fix up within a half hour that should require *no* changes to > incanter. > >> On 5 May 2010 14:26, Craig Andera wrote: >>> I have updated the labrepl [1] to use the l

Re: labrepl updated

2010-05-05 Thread Stuart Halloway
I'll have a fix up within a half hour that should require *no* changes to incanter. On 5 May 2010 14:26, Craig Andera wrote: I have updated the labrepl [1] to use the latest clojure 1.2 and contrib 1.2 snapshots. Also, most of the dependencies are now frozen to specific snapshot timestam

Re: labrepl updated

2010-05-05 Thread Michael Wood
On 5 May 2010 14:26, Craig Andera wrote: > > > I have updated the labrepl [1] to use the latest clojure 1.2 and contrib 1.2 > > snapshots. Also, most of the dependencies are now frozen to specific > > snapshot timestamps (the project.clj file may be of interest to people > > living > > on the dev

Re: labrepl updated

2010-05-05 Thread Stuart Halloway
Nevermind, I am seeing what Craig sees. Found the issue and am on it. Stu Against the same commit I just did: lein clean; lein deps. After which both script/repl and script/swank run fine (albeit with lots of the new "WARNING: group-by already refers to:") warnings. Here's exactly what "le

Re: labrepl updated

2010-05-05 Thread Stuart Halloway
Against the same commit I just did: lein clean; lein deps. After which both script/repl and script/swank run fine (albeit with lots of the new "WARNING: group-by already refers to:") warnings. Here's exactly what "lein deps" installed in the lib. Craig: do you see the same? -rw-r--r-- 1

Re: labrepl updated

2010-05-05 Thread Craig Andera
> I have updated the labrepl [1] to use the latest clojure 1.2 and contrib 1.2 > snapshots. Also, most of the dependencies are now frozen to specific > snapshot timestamps (the project.clj file may be of interest to people living > on the development edge). > > After a "lein clean;  lein deps" ever

Re: labrepl updated

2010-05-02 Thread Laurent PETIT
Can you send your .project and .classpath files, for analysis ? (Place them in the files section of the google group, please) 2010/5/1 Keno : > I'm getting this error in Eclipse: > > Clojure 1.2.0-master-SNAPSHOT > 1:1 user=>     * (require 'labrepl) >    * (labrepl/-main) > # > java.lang.Exceptio

Re: labrepl updated

2010-05-02 Thread Stuart Halloway
More than one clojure or contrib jar file one the classpath, perhaps. Can you try starting the labrepl from the command line and see if you get the same error? Stu I'm getting this error in Eclipse: Clojure 1.2.0-master-SNAPSHOT 1:1 user=> * (require 'labrepl) * (labrepl/-main) # ja

Re: labrepl updated

2010-05-01 Thread Keno
I'm getting this error in Eclipse: Clojure 1.2.0-master-SNAPSHOT 1:1 user=> * (require 'labrepl) * (labrepl/-main) # java.lang.ExceptionInInitializerError (control.clj:9) 1:2 user=> # 1:3 user=> java.lang.Exception: No such var: labrepl/-main (repl-1:2) Do you maybe have an idea what I'm

Re: labrepl updated

2010-05-01 Thread Keno
I'm getting an error using labrepl in Eclipse. I followed these instructions: http://www.assembla.com/wiki/show/clojure/Getting_Started_with_Eclipse_and_Counterclockwise. This is what I get: Clojure 1.2.0-master-SNAPSHOT 1:1 user=> * (require 'labrepl) * (labrepl/-main) # java.lang.Except

labrepl updated

2010-04-30 Thread Stuart Halloway
I have updated the labrepl [1] to use the latest clojure 1.2 and contrib 1.2 snapshots. Also, most of the dependencies are now frozen to specific snapshot timestamps (the project.clj file may be of interest to people living on the development edge). After a "lein clean; lein deps" everythi