Re: Leiningen Local Repositories

2011-10-05 Thread Rob Wolfe
Dave Sann daves...@gmail.com writes: Hey Rob, Thanks for your reply, I will try that for my projects My use case is slightly different though. I want to be able to build other peoples projects from source (e.g. from github) without editing any of the project.clj files - but still

Re: ANN: tools.trace 0.7.1

2011-10-03 Thread Rob Wolfe
Luc Prefontaine lprefonta...@softaddicts.ca writes: [...] Just add: [org.clojure/tools.trace 0.7.1] to your dependency list in your project.clj. This should be a straight replacement for clojure.contrib.trace in your code. If you find suggestions/improvements it's time to let me know

Re: Leiningen Local Repositories

2011-10-02 Thread Rob Wolfe
Dave Sann daves...@gmail.com writes: Hi, I run Artifactory as a local repository manager. Currently, I am adding :omit-default-repositories true :repositories {releases http://artifactory/artifactory/libs-release; snapshots

Re: Lein uberjar hangs when swank is required in the namespace.

2011-08-26 Thread Rob Wolfe
On 25 Sie, 23:10, Lars Rune Nøstdal larsnost...@gmail.com wrote: It's hanging here too, but I have no idea why; I'm not including swank. Is there any verbose mode for lein? Maybe there is some problem with network (firewall or something) and you can not get jars from remote repository. Does

Re: having trouble with http.async.client

2011-03-08 Thread Rob Wolfe
Kevin Archie karc...@wustl.edu writes: I'm trying to use http.async.client to do a PUT request (where I don't care about the response) and my code is hanging -- apparently after succesfully completing the PUT, from the server's perspective. This isn't quite what I'm doing, but exhibits the

Re: http.async.client v0.2.2 released

2011-02-09 Thread Rob Wolfe
On 7 Lut, 19:30, Hubert Iwaniuk neo...@kungfoo.pl wrote: Hi All, Just released v0.2.2 of HTTP Asynchronous Client. I have some problem using this library. Having such simple testing program: code (ns test.http (:require [http.async.client :as c])) (defn test-http [] (println start)

Re: http.async.client v0.2.2 released

2011-02-09 Thread Rob Wolfe
...@kungfoo.pl wrote: Hi Rob, You need to close the client once you are done with it. Please see Managing http.async.client of manual especially Closing http.async.clienthttp://neotyk.github.com/http.async.client/docs.html#sec-1_2_6_11 HTH, Hubert. On Feb 9, 2011, at 3:29 PM, Rob Wolfe

Re: http.async.client v0.2.2 released

2011-02-09 Thread Rob Wolfe
new client. Now that I think of it it probably is a bug that one client is started by default. HTH, Hubert. On Feb 9, 2011, at 4:21 PM, Rob Wolfe wrote: I created another test function like this: code (defn test-http-with-close [] (println start) (binding [*client* (c/create

Re: towards definitive getting started assistance

2010-04-01 Thread Rob Wolfe
On 30 Mar, 19:12, Stuart Halloway stuart.hallo...@gmail.com wrote: The labrepl now has much better getting started instructions, thanks   to everyone who pitched in. But this begs the question: Why hide the   getting started instructions in a single project? So, I am working to   create

Re: ANN: labrepl, making Clojure more accessible

2010-03-25 Thread Rob Wolfe
On 25 Mar, 01:16, Mark Engelberg mark.engelb...@gmail.com wrote: I tried following Rob Wolfe's zip file instructions.  The bin\lein deps command seemed to work fine, but when I then invoked bin\repl, I got the following error: [...]

Re: Choosing a Clojure build tool

2010-03-25 Thread Rob Wolfe
Chas Emerick cemer...@snowtide.com writes: I published a blog post earlier today, along with a short screencast that might be of interest: Like any group of super-smart programmers using a relatively new language, a lot of folks in the Clojure community have looked at existing build tools

Re: ANN: labrepl, making Clojure more accessible

2010-03-23 Thread Rob Wolfe
Stuart Halloway stuart.hallo...@gmail.com writes: The labrepl project (http://github.com/relevance/labrepl) is a tutorial environment for learning Clojure. It is open source under the same license as Clojure. Whether you are learning Clojure on your own, or teaching or learning in a classroom

Re: Swank, ELPA and Emacs version do you use?

2010-03-21 Thread Rob Wolfe
alux alu...@googlemail.com writes: Okay. So I switched to version 23.1. that had already been installed. AFAIK it uses all the things I installed the last days. Or do I have to update some other stuff? I tried to put together all steps needed to install SLIME for Clojure using ELPA:

Re: Leiningen, Clojure and libraries: what am I missing?

2010-03-04 Thread Rob Wolfe
On 5 Mar, 01:03, Felix Breuer fe...@fbreuer.de wrote: I am also on Windows and have struggled a good deal with Leiningen (I [...] On 5 Mrz., 00:32, Glen Stampoultzis gst...@gmail.com wrote: On 5 March 2010 04:39, Chris Perkins chrisperkin...@gmail.com wrote: The situation is worse

Re: leiningen powershell script

2010-02-15 Thread Rob Wolfe
On 15 Lut, 07:42, Brian Wolf brw...@gmail.com wrote: Hi, I am trying to run    (http://bit.ly/82zo95http://bit.ly/82zo95 )   powershell script for leiningen install under windows, but it says it can't find file, which file it doesn't say. I was wondering  what dependencies leiningen  has?

Re: leiningen powershell script

2010-02-15 Thread Rob Wolfe
On 15 Lut, 20:50, Brian Wolf brw...@gmail.com wrote: Rob Wolfe wrote: On 15 Lut, 07:42, Brian Wolf brw...@gmail.com wrote: Hi, I am trying to run    (http://bit.ly/82zo95http://bit.ly/82zo95 )   powershell script for leiningen install under windows, but it says it can't find file

Re: building clojure-contrib without downloading clojure.jar from elsewhere

2010-02-02 Thread Rob Wolfe
Ramakrishnan Muthukrishnan vu3...@gmail.com writes: Hi, I am trying to package clojure-contrib for Debian and one of the debian java packaging practices is that the build should not download any external dependencies. All the dependencies should be debian packages themselves. I tried

Re: Full Disclojure - I Need Topics!

2010-01-25 Thread Rob Wolfe
Sean Devlin napisał(a): Rock, Could you please proved a link to Alan Bawden's paper? I guess Rock meant Quasiquotation in Lisp: https://eprints.kfupm.edu.sa/60346/1/60346.pdf BTW many thanks for your awesome videos. :) Br, Rob -- You received this message because you are subscribed to the

Re: Swing unit testing

2010-01-12 Thread Rob Wolfe
Eric Thorsen napisał(a): Anyone have any recommendation/experience for a unit testing library for testing swing components? For simple module testing I use marathon [1] and for this purpose can recommend it. Test scripts can be written in Python not Clojure, though. ;) [1]

Re: newbie swank clojure emacs

2010-01-10 Thread Rob Wolfe
brian brw...@gmail.com writes: Hi, I'm trying to follow the directions at: http://riddell.us/tutorial/slime_swank/slime_swank.html I'm doing this under cygwin. I think I did everything correctly, but it seems not to find the clojure.jar file although I have it and the

Re: C interop lib (JNA wrapper)

2010-01-08 Thread Rob Wolfe
mac markus.gustavs...@gmail.com writes: Hello all. I've started work on a clojure library for interoperating with C. It's always been a pain to do in Java but recently JNA (java native access) has taken away most of that pain. When using clojure however, it's nice to be able to stay in

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-07 Thread Rob Wolfe
Rob Lachlan napisał(a): Thanks for the help. I had initially installed slime, clojure-mode and swank following the instructions at http://riddell.us/tutorial/slime_swank/slime_swank.html I tried simply installing swank-clojure, but that seemed to conflict with what I already had. So I

Re: SLIME/Swank problem with swank.util.sys/get-pid and RuntimeMXBean

2010-01-03 Thread Rob Wolfe
Steven E. Harris s...@panix.com writes: Steven E. Harris s...@panix.com writes: Now get this: Right before the SLIME-Swank connection completes, Emacs beeps and prints the following two lines in the *Messages* buffer: , | error in process filter: cond: etypecase failed: defun, (number

Re: Clojure/SLIME/Emacs questions

2010-01-02 Thread Rob Wolfe
Phil Hagelberg p...@hagelb.org writes: Rob Wolfe r...@smsnet.pl writes: Stefan Tilkov stefan.til...@innoq.com writes: Two quick Emacs/Clojure questions I can't seem to find the answer to: - In his screencasts, Sean Devlin moves the mouse over an item in his REPL history and it becomes

Re: SLIME/Swank problem with swank.util.sys/get-pid and RuntimeMXBean

2010-01-02 Thread Rob Wolfe
Steven E. Harris s...@panix.com writes: [...] Here's the stack: o swank-clojure Git head. o SLIME Both CVS head and git://git.boinkor.net/slime.git head behave the same way, as the offending calls are in swank-clojure. o Clojure 1.1.0 Downloaded Jar from code.google.com. o

Re: Clojure/SLIME/Emacs questions

2010-01-01 Thread Rob Wolfe
Steven E. Harris s...@panix.com writes: Rob Wolfe r...@smsnet.pl writes: I did it like this (I assume that clojure-mode.el has been installed): Thanks, Rob. I followed your instructions after not being able to get Clojure to cooperate with my normal Swank/SLIME installation, and it works

Re: Clojure/SLIME/Emacs questions

2009-12-31 Thread Rob Wolfe
Stefan Tilkov stefan.til...@innoq.com writes: Two quick Emacs/Clojure questions I can't seem to find the answer to: - In his screencasts, Sean Devlin moves the mouse over an item in his REPL history and it becomes highlighted (and he can paste it to the current prompt with one click) - Also

Re: leiningen javac plugin

2009-12-30 Thread Rob Wolfe
Saul shaz...@gmail.com writes: On Dec 9, 7:53 am, antoniogarrote listasantoniogarr...@gmail.com wrote: A quick and dirty hack to compile java files in clojure projects usingleiningen. Just run $lein compile-java to transforms 'src/**.java' into 'classes/ **.class' Many thanks. This

Re: Leiningen in Python

2009-12-20 Thread Rob Wolfe
John john.b.ga...@gmail.com writes: Hi Rob, I made the changes src/leiningen/jar.clj that you suggested. Then issued the commands: E:\etc\clojure\Leiningen\lein.py clean E:\etc\clojure\Leiningen\lein.py deps E:\etc\clojure\Leiningen\lein.py compile E:\etc\clojure\Leiningen\lein.py jar

Re: Leiningen in Python

2009-12-19 Thread Rob Wolfe
John john.b.ga...@gmail.com writes: Hi, I am trying to use lein.py, from above, on Windows (Vista). It works nicely for some commands (e.g. lein.py compile), after removing the extra space in two places e.g. 'leiningen-%s-standalone .jar' - 'leiningen-%s-standalone.jar' and

Re: Leiningen in Python

2009-12-15 Thread Rob Wolfe
Phil Hagelberg napisał(a): Rob Wolfe r...@smsnet.pl writes: Yes, there are some escaping problems on Windows. I changed a little bit lein.py and this worked for me on Windows and Linux: Can I include this in Leiningen 1.1.0+ with a note saying it's only experimentally supported? Sure

Re: what is the correct way to mvn install clojure-contrib

2009-12-14 Thread Rob Wolfe
B Smith-Mannschott bsmith.o...@gmail.com writes: On Sun, Dec 13, 2009 at 23:15, dysinger t...@dysinger.net wrote: I highly recommend you use the snapshots on build.clojure.org.  Lein already has build.clojure.org snapshots in it's repo list.  You don't need to do anything more than put  

Re: Leiningen in Python

2009-12-12 Thread Rob Wolfe
Mike K mbk.li...@gmail.com writes: All, I tried to use this script on Windows and it blew up real good! I'm a Clojure, Java, and Leiningen newbie, so perhaps a kind soul can help me out. 1. lein self-install worked. It downloaded leiningen-1.0.0- standalone.jar. However, that

Re: FileNotFoundException (Access is denied)

2009-11-26 Thread Rob Wolfe
Robert Campbell napisał(a): I'm trying to write a file scanner very similar to the one on page 131 of Stuart's book: (ns user (:use [clojure.contrib.duck-streams :only [reader]])) (defn scan [dir] (for [file (file-seq dir)] (with-open [rdr (reader file)] (count (filter

Re: Clojure contrib http-agent hangs when making a POST request

2009-10-30 Thread Rob Wolfe
Alex alexspurl...@gmail.com writes: Hi, I'm getting some strange errors when trying to make a POST request using the Clojure contrib http-agent library (http:// richhickey.github.com/clojure-contrib/http.agent-api.html). When I run: (use 'clojure.contrib.http.agent) (println (string

Re: Writing binary data using http.agent and duck-streams

2009-10-24 Thread Rob Wolfe
Baishampayan Ghose b.gh...@ocricket.com writes: Hello, I was trying to download a zip file using clojure.contrib.http.agent and writing it to a file using clojure.contrib.duck-streams. Apparently the zip file is getting corrupt because I was trying to treat the stream as a string. Is

third party libraries and agents shutdown

2009-10-12 Thread Rob Wolfe
Hi, I'm wondering how do you guys use libraries, which use agents under the hood? Let's suppose I'd like to use clojure.contrib.http.agent. My program might look like this: code (ns eu.rwdev.html (:require [clojure.contrib.http.agent :as http]) (:import [java.net URL] [java.io

Re: vs. Python

2009-08-30 Thread Rob Wolfe
Dan Fichter napisał(a): I'd like to convince some Python developers that Clojure is not foreign and does many things better than Python. I'd appreciate whatever suggestions you have about what I've written. [...] Check whether every object in the collection x can be called like a

Re: ANN: clojure-maven-plugin 1.0 released and in maven central

2009-08-26 Thread Rob Wolfe
ngocdaothanh napisał(a): I'm new to Maven. Thank you for the explanation. Using git-submodules and sourceDirectories is a good idea. Prior to using your plugin, I use clojure and clojure-contrib with Maven like this: 1. Manually download from GitHub and compile clojure and clojure-

Re: Build error in latest clojure checkout

2009-08-05 Thread Rob Wolfe
Chad Harrington napisał(a): I just reinstalled my Clojure environment using the Emacs Starter Kit + Clojure Mode. The M-x clojure-install command has worked fine in the past, but this time, it hits an error in compiling PersistentArrayMap.java: -- Begin output

Re: Solving memory problems with Clojure code

2009-06-22 Thread Rob Wolfe
BerlinBrown napisał(a): I want to make it clear, that it probably isn't Clojure's memory problem but something with my code. Anyway, I was trying to figure out my heap memory goes up so much on various operations in my application. Sure, it could be anything but I know I am doing

with-open and java interoperability

2009-06-06 Thread Rob Wolfe
Hi, I'm trying to understand why this program throws an exception: $ clojure -e (clojure-version) 1.0.0- $ cat test1.clj (ns rw.test (:import (java.io StringReader))) (def x (with-open [s (- (new StringReader abc) (new clojure.lang.LineNumberingPushbackReader))]

Re: with-open and java interoperability

2009-06-06 Thread Rob Wolfe
Meikel Brandmeyer napisał(a): Hi, Am 06.06.2009 um 21:40 schrieb Rob Wolfe: I'm trying to understand why this program throws an exception: It doesn't work because (- (new StringReader abc) (new clojure.lang.LineNumberingPushbackReader)) expands to (new (new StringReader abc

Re: swank-clojure + slime

2009-03-08 Thread Rob Wolfe
youngblood.carl napisał(a): Thanks Lucio, but you can see on git-hub that the head version of core.clj uses lazy-seq: http://github.com/jochu/swank-clojure/blob/349cb3b93a7bd8bcc86ffd0fd5415d84ed5f4028/swank/core.clj I read somewhere too that lazy-seq dissapeared from clojure and that is