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
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
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
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
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
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)
...@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
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
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
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:
[...]
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
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
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:
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
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?
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
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
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
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]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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-
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
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
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))]
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
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
44 matches
Mail list logo