Re: [ANN] Leiningen 2.0.0-preview5 released

2012-05-31 Thread mnicky
Oh, I see, it's issue #616 [1]
Mnicky.

[1] https://github.com/technomancy/leiningen/issues/616

On Friday, June 1, 2012 8:40:40 AM UTC+2, mnicky wrote:
>
> After upgrade from preview4 and installation of OpenJDK, 'lein2 repl' 
> worked exactly once. Since then, it fails with:
>
> Exception in thread "main" java.lang.ExceptionInInitializerError
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:247)
> at clojure.lang.RT.loadClassForName(RT.java:2056)
> at clojure.lang.RT.load(RT.java:419)
> at clojure.lang.RT.load(RT.java:400)
> at clojure.core$load$fn__4890.invoke(core.clj:5415)
> at clojure.core$load.doInvoke(core.clj:5414)
> at clojure.lang.RestFn.invoke(RestFn.java:408)
> at clojure.core$load_one.invoke(core.clj:5227)
> at clojure.core$load_lib.doInvoke(core.clj:5264)
> at clojure.lang.RestFn.applyTo(RestFn.java:142)
> at clojure.core$apply.invoke(core.clj:603)
> at clojure.core$load_libs.doInvoke(core.clj:5298)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.core$apply.invoke(core.clj:603)
> at clojure.core$require.doInvoke(core.clj:5381)
> at clojure.lang.RestFn.invoke(RestFn.java:436)
> at reply.reader.jline$loading__4784__auto__.invoke(jline.clj:1)
> at reply.reader.jline__init.load(Unknown Source)
> at reply.reader.jline__init.(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:247)
> at clojure.lang.RT.loadClassForName(RT.java:2056)
> at clojure.lang.RT.load(RT.java:419)
> at clojure.lang.RT.load(RT.java:400)
> at clojure.core$load$fn__4890.invoke(core.clj:5415)
> at clojure.core$load.doInvoke(core.clj:5414)
> at clojure.lang.RestFn.invoke(RestFn.java:408)
> at clojure.core$load_one.invoke(core.clj:5227)
> at clojure.core$load_lib.doInvoke(core.clj:5264)
> at clojure.lang.RestFn.applyTo(RestFn.java:142)
> at clojure.core$apply.invoke(core.clj:603)
> at clojure.core$load_libs.doInvoke(core.clj:5298)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.core$apply.invoke(core.clj:603)
> at clojure.core$require.doInvoke(core.clj:5381)
> at clojure.lang.RestFn.invoke(RestFn.java:805)
> at reply.eval_modes.nrepl$loading__4784__auto__.invoke(nrepl.clj:1)
> at reply.eval_modes.nrepl__init.load(Unknown Source)
> at reply.eval_modes.nrepl__init.(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:247)
> at clojure.lang.RT.loadClassForName(RT.java:2056)
> at clojure.lang.RT.load(RT.java:419)
> at clojure.lang.RT.load(RT.java:400)
> at clojure.core$load$fn__4890.invoke(core.clj:5415)
> at clojure.core$load.doInvoke(core.clj:5414)
> at clojure.lang.RestFn.invoke(RestFn.java:408)
> at clojure.core$load_one.invoke(core.clj:5227)
> at clojure.core$load_lib.doInvoke(core.clj:5264)
> at clojure.lang.RestFn.applyTo(RestFn.java:142)
> at clojure.core$apply.invoke(core.clj:603)
> at clojure.core$load_libs.doInvoke(core.clj:5298)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.core$apply.invoke(core.clj:603)
> at clojure.core$require.doInvoke(core.clj:5381)
> at clojure.lang.RestFn.invoke(RestFn.java:703)
> at reply.main$loading__4784__auto__.invoke(main.clj:1)
> at reply.main__init.load(Unknown Source)
> at reply.main__init.(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:247)
> at clojure.lang.RT.loadClassForName(RT.java:2056)
> at clojure.lang.RT.load(RT.java:419)
> at clojure.lang.RT.load(RT.java:400)
> at clojure.core$load$fn__4890.invoke(core.clj:5415)
> at clojure.core$load.doInvoke(core.clj:5414)
> at clojure.lang.RestFn.invoke(RestFn.java:408)
> at clojure.core$load_one.invoke(core.clj:5227)
> at clojure.core$load_lib.doInvoke(core.clj:5264)
> at clojure.lang.RestFn.applyTo(RestFn.java:142)
> at clojure.core$apply.invoke(core.clj:603)
> at clojure.core$load_libs.doInvoke(core.clj:5298)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.core$apply.invoke(core.clj:603)
> at clojure.core$require.doInvoke(core.clj:5381)
> at clojure.lang.RestFn.invoke(RestFn.java:1096)
> at leiningen.repl$loading__4784__auto__.invoke(repl.clj:1)
> at leiningen.repl__init.load(Unknown Source)
> at leiningen.repl__init.(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:247)
> at clojure.lang.RT.loadClassForName(RT.java:2056)
> at clojure.lang.RT.load(RT.java:419)
> at clojure.lang.RT.load(RT.java:400)
> at clojure.core$load$fn__4890.invoke(core.clj:5415)
> at clojure.core$load.doInvoke(core.clj:5414)
> at clojure.lang.RestFn.invoke(RestFn.java:408)
> at clojure.core$load_one.invoke(core.clj:5227)
> at clojure.core$load_lib.doInvoke(core.clj:5264)
> at clojure.lang.RestFn.applyTo(RestFn.java:142)
> at clojure.core$apply.invoke(core.clj:603)
> at clojure.core$load_libs.doInvoke(core.clj:5298)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.core$apply.invoke(core.clj:603)
> at clojure.core$require.doInvoke(core.clj:5381)
> at clojure.la

Re: [ANN] Leiningen 2.0.0-preview5 released

2012-05-31 Thread mnicky
After upgrade from preview4 and installation of OpenJDK, 'lein2 repl' 
worked exactly once. Since then, it fails with:

Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at clojure.lang.RT.loadClassForName(RT.java:2056)
at clojure.lang.RT.load(RT.java:419)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$require.doInvoke(core.clj:5381)
at clojure.lang.RestFn.invoke(RestFn.java:436)
at reply.reader.jline$loading__4784__auto__.invoke(jline.clj:1)
at reply.reader.jline__init.load(Unknown Source)
at reply.reader.jline__init.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at clojure.lang.RT.loadClassForName(RT.java:2056)
at clojure.lang.RT.load(RT.java:419)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$require.doInvoke(core.clj:5381)
at clojure.lang.RestFn.invoke(RestFn.java:805)
at reply.eval_modes.nrepl$loading__4784__auto__.invoke(nrepl.clj:1)
at reply.eval_modes.nrepl__init.load(Unknown Source)
at reply.eval_modes.nrepl__init.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at clojure.lang.RT.loadClassForName(RT.java:2056)
at clojure.lang.RT.load(RT.java:419)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$require.doInvoke(core.clj:5381)
at clojure.lang.RestFn.invoke(RestFn.java:703)
at reply.main$loading__4784__auto__.invoke(main.clj:1)
at reply.main__init.load(Unknown Source)
at reply.main__init.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at clojure.lang.RT.loadClassForName(RT.java:2056)
at clojure.lang.RT.load(RT.java:419)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$require.doInvoke(core.clj:5381)
at clojure.lang.RestFn.invoke(RestFn.java:1096)
at leiningen.repl$loading__4784__auto__.invoke(repl.clj:1)
at leiningen.repl__init.load(Unknown Source)
at leiningen.repl__init.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at clojure.lang.RT.loadClassForName(RT.java:2056)
at clojure.lang.RT.load(RT.java:419)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$require.doInvoke(core.clj:5381)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at leiningen.core.main$resolve_task.invoke(main.clj:65)
at leiningen.core.main$resolve_task.invoke(main.clj:73)
at leiningen.core.main$apply_task.invoke(main.clj:84)
at leiningen.core.main$_main$fn__1587.invoke(main.clj:143)
at leiningen.core.main$_main.doInvoke(main.clj:143)
at clojure.lang.RestFn.invoke(RestFn.java:408

[ANN] Leiningen 2.0.0-preview5 released

2012-05-31 Thread Phil Hagelberg
I'm happy to announce the release of Leiningen 2.0.0-preview5.

This release fixes a bug where the repl would hang under certain
circumstances. It also adds support for encrypting credentials used to
deploy to remote repositories.

## 2.0.0-preview5 / 2012-05-31

* Fix a repl bug where namespaced keywords weren't read right. (Colin Jones)
* Prompt for credentials upon deploy when none are configured.
* Support encrypted deploy credentials using GPG.
* Warn about missing metadata when deploying.
* Default to refusing downloaded jars when checksums don't match.
* Apply middleware before calculating profiles so they work in with-profile.
* Allow reply dependency to be upgraded independently of Leiningen.
* Don't write "stale" directory when running outside a project.
* Proxy settings are passed on to project subprocesses. (Craig McDaniel)
* Revamp tutorial, spin off profiles guide and faq.
* Fix bug that would cause repl task to hang. (Colin Jones)

A few bugs to watch for:

* Traffic to/from Clojars now uses SSL, except on Windows:
https://github.com/technomancy/leiningen/issues/613
* Startup takes a few hundred milliseconds more than preview4 for
unknown reasons: https://github.com/technomancy/leiningen/issues/614
* Credentials can only be decrypted using gpg-agent on Mac OS X due to
a bug in GPG: https://github.com/technomancy/leiningen/issues/615

If you have an earlier preview version of 2.x, `lein upgrade` should
get you the latest. If not you will have to upgrade by hand. So far
we've found the preview releases to be quite stable, so give it a try:

   https://github.com/technomancy/leiningen/wiki/Upgrading

As always, please let me know if you run into any issues.

thanks,
Phil

-- 
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


[ANN] Itsy 0.1.0 released, a threaded web spider written in Clojure

2012-05-31 Thread Lee Hinman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,
I'm pleased to announce the initial 0.1.0 release of Itsy. Itsy is a
threaded web spider written in Clojure. A list of some of the Itsy
features:

- - Multithreaded, with the ability to add and remove workers as needed
- - No global state, run multiple crawlers with multiple threads at once
- - Pre-written handlers for writing to text files and ElasticSearch
- - Skip URLs that have been seen before
- - Domain limiting to crawl pages only belonging to a certain domain

You should be able to use it from Clojars[1] with the following:

[itsy "0.1.0"]

Please give it a try and open any issues on the github repo[2] that
you find. Check out the readme for the full information and usage.

thanks,
Lee Hinman

[1]: https://clojars.org/itsy
[2]: https://github.com/dakrone/itsy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPyDu+AAoJEJ1kZdQ6zsrgseoP/0j4HZ4k0Ok0f2u4HB7xm1kc
V5oE67kqXKCJq7Nb4LQexbxEwbpQF1u6Zg9o7CvtUeMtLkQXAozIjJkk0H05HtEy
lXINNupW2AylXnTzMd75E0ydeY+pvyNrG1EY5W1i5CcKhiruNcAQUNxh4UeCmMw2
G/TBhENW+24KtFEJBd1sum2+o86atMHxvlNruwheLYtzq1iSUbpJe6oZu0EzZaa7
DlrG1r8Gv77Tgbf+pYtFr+Bpf+ILaojh1lBJwb/8jPbaLwrI/TE4qdnOA+BERn0F
7qtNErxq5UBVhrYh9Nit53ZEyDkHLYGWc0P39F8nFfWeWN9C8hAd9GWFddyZw3xL
eop7IF0XerGdPaM93qfnKDMJLUFGfakBeP4hZIH1k5Ouoou+ffqbIZbzKK4yQwlt
9VFKq7z0CsoNQ+sMwPWHjXTqNj62k1DYo1iyGFc0RHLyujuGtOna6ksh10PopIpz
JxZX+txYXI5MsxLo6zGqHbuartXxhNUtoloYBi3BkD1Knmf5qYR/Irlzcy4TUIov
QK/UNtvESSapKO/95HUgnw9wi0UDpOLHFTBTFU2XZkvNAalLwMLX9YZwAH79+htY
C4cKLZjkME7wkvgq/HaMbRsPNuuJN8oBqDpmNzKW2DlJ6TZIdcjlgAVDBFL9oI1+
mMlBkEVBNGMK+9dWMHur
=BcLy
-END PGP SIGNATURE-

-- 
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


Re: ANN factual-clojure-driver 1.3.1, Factual's officially supported Clojure driver

2012-05-31 Thread Sun Ning

Awesome geo-data service! Can't wait to try out your APIs.

On 06/01/2012 10:33 AM, dirtyvagabond wrote:

factual-clojure-driver is Factual's officially supported Clojure driver:
https://github.com/Factual/factual-clojure-driver

Version 1.3.1 has been upgraded to support the latest API feature set:

  * Core: Find places around a given geocode, filter by any
combination of attributes, and conduct full-text searches across
all attributes
  * Places Crosswalk - Lookup places and business entities across 40+
services including Facebook, Foursquare, Yelp, and Twitter
  * Resolve: Enrich, augment and de-dupe existing datasets
  * Geopulse: Low-latency location data for geotargeting
  * Reverse Geocoder: Convert coordinates into addresses

--
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 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

ANN factual-clojure-driver 1.3.1, Factual's officially supported Clojure driver

2012-05-31 Thread dirtyvagabond
factual-clojure-driver is Factual's officially supported Clojure driver:
https://github.com/Factual/factual-clojure-driver

Version 1.3.1 has been upgraded to support the latest API feature set:

   - Core: Find places around a given geocode, filter by any combination of 
   attributes, and conduct full-text searches across all attributes
   - Places Crosswalk - Lookup places and business entities across 40+ 
   services including Facebook, Foursquare, Yelp, and Twitter
   - Resolve: Enrich, augment and de-dupe existing datasets
   - Geopulse: Low-latency location data for geotargeting
   - Reverse Geocoder: Convert coordinates into addresses
   

-- 
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

Re: using -> on a nested hash-map with string keywords.

2012-05-31 Thread Dave Ray
Too true.

On Thu, May 31, 2012 at 10:22 AM, Alan Malloy  wrote:
> Yes, but really to GET a value nested IN a series of maps, he should
> just be using get-in, rather than threading anything at all.
>
> On May 31, 7:59 am, Dave Ray  wrote:
>> Keywords implement IFn meaning they can act as functions that look
>> themselves up in a map. Strings are just strings. Replace "b" with
>> (get "b") and you'll get the behavior you're looking for.
>>
>> Dave
>>
>> On Thu, May 31, 2012 at 7:55 AM, Boris V. Schmid  
>> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Can someone tell me what I'm overlooking (clojure 1.4)
>>
>> > (-> (hash-map :b (hash-map :a 3)) :b :a)
>> > 3
>> > user> (-> (hash-map "b" (hash-map :a 3)) "b" :a)
>> > ; Evaluation aborted: java.lang.String cannot be cast to clojure.lang.IFn
>>
>> > I'm not sure why the first can work, and the second cannot. Is it a logical
>> > limitation of the language, or an oversight in how the macro -> is build?
>>
>> > --
>> > 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 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 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


Re: using -> on a nested hash-map with string keywords.

2012-05-31 Thread Alan Malloy
Yes, but really to GET a value nested IN a series of maps, he should
just be using get-in, rather than threading anything at all.

On May 31, 7:59 am, Dave Ray  wrote:
> Keywords implement IFn meaning they can act as functions that look
> themselves up in a map. Strings are just strings. Replace "b" with
> (get "b") and you'll get the behavior you're looking for.
>
> Dave
>
> On Thu, May 31, 2012 at 7:55 AM, Boris V. Schmid  
> wrote:
>
>
>
>
>
>
>
> > Can someone tell me what I'm overlooking (clojure 1.4)
>
> > (-> (hash-map :b (hash-map :a 3)) :b :a)
> > 3
> > user> (-> (hash-map "b" (hash-map :a 3)) "b" :a)
> > ; Evaluation aborted: java.lang.String cannot be cast to clojure.lang.IFn
>
> > I'm not sure why the first can work, and the second cannot. Is it a logical
> > limitation of the language, or an oversight in how the macro -> is build?
>
> > --
> > 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 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


Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Softaddicts
This lib had repl-utils in its dependencies a month ago. It has removed.
That's why you hit this problem, no idea what specific version is sane.

Luc P.

> Thank you so much for your sincere interest, but i found that
> [com.draines/postal "1.7.1"] was creating mess at downloading.
> so there is no issue of clojure-contrib. now my project is working
> properly.
> 
> On May 31, 7:46 pm, Softaddicts  wrote:
> > repl-util has been moved to clojure.repl.
> >
> > No need to define another dependency in this case. Just require 
> > clojure.repl in your code.
> > The API is here:
> >
> > http://clojure.github.com/clojure/clojure.repl-api.html
> >
> > If you need other components from the old contrib, look at the url I
> > mentioned in my previous email.
> >
> > If you have other deps problems, please post your project.clj, at least the
> > dependencies part of it.
> >
> > Luc
> >
> >
> >
> >
> >
> >
> >
> > > @Softaddicts :
> > > I tried [org.clojure/clojure-contrib "1.2.0"] and this one
> > > [org.clojure.contrib/generic "1.3.0-alpha4"] too,
> > > but it still gives same error.
> > > > And i am new to clojure so can you elaborate for individual libs with
> > > example syntax??
> > > > On May 31, 6:41 pm, Softaddicts  wrote:
> > > > Either this new compatible contrib or the individual libs officially 
> > > > supported.
> > > > I would suggest using the standalone libs when available in lieu of the 
> > > > 13 monolithic
> > > > compatible lib one.
> >
> > > > Luc
> >
> > > > > You are talking about [org.clojure/clojure-contrib "1.2.0"] this.
> > > > > right??
> > > > > and in replacement of that i have to include newer [org.clojure/
> > > > > clojure-contrib "1.3-compat"]. right??
> > > > > > On May 31, 5:17 pm, Softaddicts  wrote:
> > > > > > Since clojure 1.3, contrib as been replaced by distinct libraries:
> >
> > > > > >http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
> >
> > > > > > You should be using them. No idea where the referenced lib you 
> > > > > > specify in your project
> > > > > > comes from.
> > > > > > I did not find it using maven central search or in clojars.
> >
> > > > > > Using the new one is your safest bet.
> >
> > > > > > Luc
> >
> > > > > > > Hello all,
> >
> > > > > > > I am using eclipse IDE on windows 7 for developing clojure project
> > > > > > > with  leiningen plugin.
> >
> > > > > > > I think i have properly installed and configured java, lein and 
> > > > > > > mvn
> > > > > > > commands.
> > > > > > > ==
> > > > > > > D:\Chirag\workspace\process_it>mvn -version
> > > > > > > Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
> > > > > > > Maven home: C:\apache-maven-3.0.3
> > > > > > > Java version: 1.7.0_01, vendor: Oracle Corporation
> > > > > > > Java home: C:\Program Files\Java\jdk1.7.0_01\jre
> > > > > > > Default locale: en_US, platform encoding: Cp1252
> > > > > > > OS name: "windows 7", version: "6.1", arch: "x86", family: 
> > > > > > > "windows"
> > > > > > > ==
> > > > > > > D:\Chirag\workspace\process_it>lein version
> > > > > > > Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM
> > > > > > > ==
> >
> > > > > > > But still when i want to download all dependencies(via "lein deps"
> > > > > > > command) its giving artifact missing error as given below my
> > > > > > > project.clj file is at last.
> > > > > > > Can anybody give some detailed solution for this??
> >
> > > > > > > ===
> > > > > > >  =
> > > > > > > D:\Chirag\workspace\process_it>lein run
> > > > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > > > utils-1.3.0-alpha4.pom from repository clojars 
> > > > > > > athttp://clojarsorg/repo/
> > > > > > > Unable to locate resource in repository
> > > > > > > [INFO] Unable to find resource 
> > > > > > > 'org.clojure.contrib:repl-utils:pom:
> > > > > > > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > > > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > > > utils-1.3.0-alpha4.pom from repository central 
> > > > > > > athttp://repo1.mavenorg/maven2
> > > > > > > Unable to locate resource in repository
> > > > > > > [INFO] Unable to find resource 
> > > > > > > 'org.clojure.contrib:repl-utils:pom:
> > > > > > > 1.3.0-alpha4' in repository central 
> > > > > > > (http://repo1.maven.org/maven2)
> > > > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > > > utils-1.3.0-alpha4.pom from repository java.net 
> > > > > > > athttp://download.java.net/maven/2
> > > > > > > Unable to locate resource in repository
> > > > > > > [INFO] Unable to find resource 
> > > > > > > 'org.clojure.contrib:repl-utils:pom:
> > > > > > > 1.3.0-alpha4' in repository java.net 
> > > > > > > (http://download.java.net/mav

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Chirag Ghiyad
Thank you so much for your sincere interest, but i found that
[com.draines/postal "1.7.1"] was creating mess at downloading.
so there is no issue of clojure-contrib. now my project is working
properly.

On May 31, 7:46 pm, Softaddicts  wrote:
> repl-util has been moved to clojure.repl.
>
> No need to define another dependency in this case. Just require clojure.repl 
> in your code.
> The API is here:
>
> http://clojure.github.com/clojure/clojure.repl-api.html
>
> If you need other components from the old contrib, look at the url I
> mentioned in my previous email.
>
> If you have other deps problems, please post your project.clj, at least the
> dependencies part of it.
>
> Luc
>
>
>
>
>
>
>
> > @Softaddicts :
> > I tried [org.clojure/clojure-contrib "1.2.0"] and this one
> > [org.clojure.contrib/generic "1.3.0-alpha4"] too,
> > but it still gives same error.
> > > And i am new to clojure so can you elaborate for individual libs with
> > example syntax??
> > > On May 31, 6:41 pm, Softaddicts  wrote:
> > > Either this new compatible contrib or the individual libs officially 
> > > supported.
> > > I would suggest using the standalone libs when available in lieu of the 
> > > 13 monolithic
> > > compatible lib one.
>
> > > Luc
>
> > > > You are talking about [org.clojure/clojure-contrib "1.2.0"] this.
> > > > right??
> > > > and in replacement of that i have to include newer [org.clojure/
> > > > clojure-contrib "1.3-compat"]. right??
> > > > > On May 31, 5:17 pm, Softaddicts  wrote:
> > > > > Since clojure 1.3, contrib as been replaced by distinct libraries:
>
> > > > >http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
>
> > > > > You should be using them. No idea where the referenced lib you 
> > > > > specify in your project
> > > > > comes from.
> > > > > I did not find it using maven central search or in clojars.
>
> > > > > Using the new one is your safest bet.
>
> > > > > Luc
>
> > > > > > Hello all,
>
> > > > > > I am using eclipse IDE on windows 7 for developing clojure project
> > > > > > with  leiningen plugin.
>
> > > > > > I think i have properly installed and configured java, lein and mvn
> > > > > > commands.
> > > > > > ==
> > > > > > D:\Chirag\workspace\process_it>mvn -version
> > > > > > Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
> > > > > > Maven home: C:\apache-maven-3.0.3
> > > > > > Java version: 1.7.0_01, vendor: Oracle Corporation
> > > > > > Java home: C:\Program Files\Java\jdk1.7.0_01\jre
> > > > > > Default locale: en_US, platform encoding: Cp1252
> > > > > > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> > > > > > ==
> > > > > > D:\Chirag\workspace\process_it>lein version
> > > > > > Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM
> > > > > > ==
>
> > > > > > But still when i want to download all dependencies(via "lein deps"
> > > > > > command) its giving artifact missing error as given below my
> > > > > > project.clj file is at last.
> > > > > > Can anybody give some detailed solution for this??
>
> > > > > > ===
> > > > > >  =
> > > > > > D:\Chirag\workspace\process_it>lein run
> > > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > > utils-1.3.0-alpha4.pom from repository clojars 
> > > > > > athttp://clojarsorg/repo/
> > > > > > Unable to locate resource in repository
> > > > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > > > > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > > utils-1.3.0-alpha4.pom from repository central 
> > > > > > athttp://repo1.mavenorg/maven2
> > > > > > Unable to locate resource in repository
> > > > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > > > > 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> > > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > > utils-1.3.0-alpha4.pom from repository java.net 
> > > > > > athttp://download.java.net/maven/2
> > > > > > Unable to locate resource in repository
> > > > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > > > > 1.3.0-alpha4' in repository java.net 
> > > > > > (http://download.java.net/maven/
> > > > > > 2)
> > > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > > utils-1.3.0-alpha4.jar from repository clojars 
> > > > > > athttp://clojarsorg/repo/
> > > > > > Unable to locate resource in repository
> > > > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > > > > > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0

Re: using -> on a nested hash-map with string keywords.

2012-05-31 Thread Jay Fields
(:b {:b 1}) => 1
("b" {"b" 1}) => same error.

If you want that to work, you need something that creates ({"b" 1} "b") or
(get {"b" 1} "b")

for your example, I believe this works
(-> (hash-map "b" (hash-map :a 3)) (get "b") :a)

Cheers, Jay

On Thu, May 31, 2012 at 10:55 AM, Boris V. Schmid wrote:

> Can someone tell me what I'm overlooking (clojure 1.4)
>
> (-> (hash-map :b (hash-map :a 3)) :b :a)
> 3
> user> (-> (hash-map "b" (hash-map :a 3)) "b" :a)
> ; Evaluation aborted: java.lang.String cannot be cast to clojure.lang.IFn
>
> I'm not sure why the first can work, and the second cannot. Is it a
> logical limitation of the language, or an oversight in how the macro -> is
> build?
>
>  --
> 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 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

Re: using -> on a nested hash-map with string keywords.

2012-05-31 Thread Dave Ray
Keywords implement IFn meaning they can act as functions that look
themselves up in a map. Strings are just strings. Replace "b" with
(get "b") and you'll get the behavior you're looking for.

Dave

On Thu, May 31, 2012 at 7:55 AM, Boris V. Schmid  wrote:
> Can someone tell me what I'm overlooking (clojure 1.4)
>
> (-> (hash-map :b (hash-map :a 3)) :b :a)
> 3
> user> (-> (hash-map "b" (hash-map :a 3)) "b" :a)
> ; Evaluation aborted: java.lang.String cannot be cast to clojure.lang.IFn
>
> I'm not sure why the first can work, and the second cannot. Is it a logical
> limitation of the language, or an oversight in how the macro -> is build?
>
> --
> 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 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


using -> on a nested hash-map with string keywords.

2012-05-31 Thread Boris V. Schmid
Can someone tell me what I'm overlooking (clojure 1.4)

(-> (hash-map :b (hash-map :a 3)) :b :a)
3
user> (-> (hash-map "b" (hash-map :a 3)) "b" :a)
; Evaluation aborted: java.lang.String cannot be cast to clojure.lang.IFn

I'm not sure why the first can work, and the second cannot. Is it a logical 
limitation of the language, or an oversight in how the macro -> is build?

-- 
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

Re: Network Visual Layout Algorithm

2012-05-31 Thread Boris V. Schmid
I did some network visualization a long time ago, and for big networks I 
found it fast to call toxiclib from clojure for calculating the layout, and 
use repulsive springs to generate my network, and once its relatively 
stable, add additional repulsive springs between overlapping nodes, so that 
these would separate as well.

http://www.shiffman.net/teaching/nature/toxiclibs/


On Thursday, 31 May 2012 15:59:31 UTC+2, Sean Devlin wrote:
>
> This should work great.  You guys rock :)
>
> On Thursday, May 31, 2012 9:48:28 AM UTC-4, daveray wrote:
>>
>> Lacij (https://github.com/pallix/lacij) and Vijual 
>> (https://github.com/drcode/vijual) both implement graph layout 
>> algorithms in Clojure. 
>>
>> Dave 
>>
>> On Thu, May 31, 2012 at 6:42 AM, Ulises  
>> wrote: 
>> >> I have a contest going with a colleague, where we each have to render 
>> a 
>> >> network layout in SVG.  My gut says that Synthetic Annealing is the 
>> right 
>> >> tool for the job here. 
>> > 
>> > I haven't heard of synthetic annealing (I have heard of simulated 
>> > annealing though) but if you're looking to draw a network of nodes and 
>> > to have them self-organise on a 2D space force-directed graphs are a 
>> > pretty nifty technique for that, see an example with d3 (don't know if 
>> > these graphs are available in d2 thought): 
>> > http://mbostock.github.com/d3/ex/force.html 
>> > 
>> > U 
>> > 
>> > -- 
>> > 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 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

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Softaddicts
repl-util has been moved to clojure.repl.

No need to define another dependency in this case. Just require clojure.repl in 
your code.
The API is here:

http://clojure.github.com/clojure/clojure.repl-api.html

If you need other components from the old contrib, look at the url I
mentioned in my previous email.

If you have other deps problems, please post your project.clj, at least the
dependencies part of it.

Luc


> @Softaddicts :
> I tried [org.clojure/clojure-contrib "1.2.0"] and this one
> [org.clojure.contrib/generic "1.3.0-alpha4"] too,
> but it still gives same error.
> > And i am new to clojure so can you elaborate for individual libs with
> example syntax??
> > On May 31, 6:41 pm, Softaddicts  wrote:
> > Either this new compatible contrib or the individual libs officially 
> > supported.
> > I would suggest using the standalone libs when available in lieu of the 13 
> > monolithic
> > compatible lib one.
> >
> > Luc
> >
> >
> >
> >
> >
> >
> >
> > > You are talking about [org.clojure/clojure-contrib "1.2.0"] this.
> > > right??
> > > and in replacement of that i have to include newer [org.clojure/
> > > clojure-contrib "1.3-compat"]. right??
> > > > On May 31, 5:17 pm, Softaddicts  wrote:
> > > > Since clojure 1.3, contrib as been replaced by distinct libraries:
> >
> > > >http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
> >
> > > > You should be using them. No idea where the referenced lib you specify 
> > > > in your project
> > > > comes from.
> > > > I did not find it using maven central search or in clojars.
> >
> > > > Using the new one is your safest bet.
> >
> > > > Luc
> >
> > > > > Hello all,
> >
> > > > > I am using eclipse IDE on windows 7 for developing clojure project
> > > > > with  leiningen plugin.
> >
> > > > > I think i have properly installed and configured java, lein and mvn
> > > > > commands.
> > > > > ==
> > > > > D:\Chirag\workspace\process_it>mvn -version
> > > > > Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
> > > > > Maven home: C:\apache-maven-3.0.3
> > > > > Java version: 1.7.0_01, vendor: Oracle Corporation
> > > > > Java home: C:\Program Files\Java\jdk1.7.0_01\jre
> > > > > Default locale: en_US, platform encoding: Cp1252
> > > > > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> > > > > ==
> > > > > D:\Chirag\workspace\process_it>lein version
> > > > > Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM
> > > > > ==
> >
> > > > > But still when i want to download all dependencies(via "lein deps"
> > > > > command) its giving artifact missing error as given below my
> > > > > project.clj file is at last.
> > > > > Can anybody give some detailed solution for this??
> >
> > > > > ===
> > > > >  =
> > > > > D:\Chirag\workspace\process_it>lein run
> > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > utils-1.3.0-alpha4.pom from repository clojars 
> > > > > athttp://clojarsorg/repo/
> > > > > Unable to locate resource in repository
> > > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > > > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > utils-1.3.0-alpha4.pom from repository central 
> > > > > athttp://repo1.mavenorg/maven2
> > > > > Unable to locate resource in repository
> > > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > > > 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > utils-1.3.0-alpha4.pom from repository java.net 
> > > > > athttp://download.java.net/maven/2
> > > > > Unable to locate resource in repository
> > > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > > > 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
> > > > > 2)
> > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > utils-1.3.0-alpha4.jar from repository clojars 
> > > > > athttp://clojarsorg/repo/
> > > > > Unable to locate resource in repository
> > > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > > > > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > > utils-1.3.0-alpha4.jar from repository central 
> > > > > athttp://repo1.mavenorg/maven2
> > > > > Unable to locate resource in repository
> > > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > > > > 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> > > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > >

Re: Network Visual Layout Algorithm

2012-05-31 Thread Sean Devlin
This should work great.  You guys rock :)

On Thursday, May 31, 2012 9:48:28 AM UTC-4, daveray wrote:
>
> Lacij (https://github.com/pallix/lacij) and Vijual 
> (https://github.com/drcode/vijual) both implement graph layout 
> algorithms in Clojure. 
>
> Dave 
>
> On Thu, May 31, 2012 at 6:42 AM, Ulises  wrote: 
> >> I have a contest going with a colleague, where we each have to render a 
> >> network layout in SVG.  My gut says that Synthetic Annealing is the 
> right 
> >> tool for the job here. 
> > 
> > I haven't heard of synthetic annealing (I have heard of simulated 
> > annealing though) but if you're looking to draw a network of nodes and 
> > to have them self-organise on a 2D space force-directed graphs are a 
> > pretty nifty technique for that, see an example with d3 (don't know if 
> > these graphs are available in d2 thought): 
> > http://mbostock.github.com/d3/ex/force.html 
> > 
> > U 
> > 
> > -- 
> > 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 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

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Chirag Ghiyad
@Softaddicts :
I tried [org.clojure/clojure-contrib "1.2.0"] and this one
[org.clojure.contrib/generic "1.3.0-alpha4"] too,
but it still gives same error.

And i am new to clojure so can you elaborate for individual libs with
example syntax??

On May 31, 6:41 pm, Softaddicts  wrote:
> Either this new compatible contrib or the individual libs officially 
> supported.
> I would suggest using the standalone libs when available in lieu of the 13 
> monolithic
> compatible lib one.
>
> Luc
>
>
>
>
>
>
>
> > You are talking about [org.clojure/clojure-contrib "1.2.0"] this.
> > right??
> > and in replacement of that i have to include newer [org.clojure/
> > clojure-contrib "1.3-compat"]. right??
> > > On May 31, 5:17 pm, Softaddicts  wrote:
> > > Since clojure 1.3, contrib as been replaced by distinct libraries:
>
> > >http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
>
> > > You should be using them. No idea where the referenced lib you specify in 
> > > your project
> > > comes from.
> > > I did not find it using maven central search or in clojars.
>
> > > Using the new one is your safest bet.
>
> > > Luc
>
> > > > Hello all,
>
> > > > I am using eclipse IDE on windows 7 for developing clojure project
> > > > with  leiningen plugin.
>
> > > > I think i have properly installed and configured java, lein and mvn
> > > > commands.
> > > > ==
> > > > D:\Chirag\workspace\process_it>mvn -version
> > > > Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
> > > > Maven home: C:\apache-maven-3.0.3
> > > > Java version: 1.7.0_01, vendor: Oracle Corporation
> > > > Java home: C:\Program Files\Java\jdk1.7.0_01\jre
> > > > Default locale: en_US, platform encoding: Cp1252
> > > > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> > > > ==
> > > > D:\Chirag\workspace\process_it>lein version
> > > > Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM
> > > > ==
>
> > > > But still when i want to download all dependencies(via "lein deps"
> > > > command) its giving artifact missing error as given below my
> > > > project.clj file is at last.
> > > > Can anybody give some detailed solution for this??
>
> > > > ===
> > > >  =
> > > > D:\Chirag\workspace\process_it>lein run
> > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > utils-1.3.0-alpha4.pom from repository clojars 
> > > > athttp://clojars.org/repo/
> > > > Unable to locate resource in repository
> > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > utils-1.3.0-alpha4.pom from repository central 
> > > > athttp://repo1.mavenorg/maven2
> > > > Unable to locate resource in repository
> > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > > 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > utils-1.3.0-alpha4.pom from repository java.net 
> > > > athttp://download.java.net/maven/2
> > > > Unable to locate resource in repository
> > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > > 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
> > > > 2)
> > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > utils-1.3.0-alpha4.jar from repository clojars 
> > > > athttp://clojars.org/repo/
> > > > Unable to locate resource in repository
> > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > > > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > utils-1.3.0-alpha4.jar from repository central 
> > > > athttp://repo1.mavenorg/maven2
> > > > Unable to locate resource in repository
> > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > > > 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> > > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > > utils-1.3.0-alpha4.jar from repository java.net 
> > > > athttp://download.java.net/maven/2
> > > > Unable to locate resource in repository
> > > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > > > 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
> > > > 2)
> > > > An error has occurred while processing the Maven artifact tasks.
> > > >  Diagnosis:
>
> > > > Unable to resolve artifact: Missing:
> > > > --
> > > > 1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4
>
> > > >   Try downloading the file manually from the project website.
>
> > > >   Then, inst

Re: Network Visual Layout Algorithm

2012-05-31 Thread Dave Ray
Lacij (https://github.com/pallix/lacij) and Vijual
(https://github.com/drcode/vijual) both implement graph layout
algorithms in Clojure.

Dave

On Thu, May 31, 2012 at 6:42 AM, Ulises  wrote:
>> I have a contest going with a colleague, where we each have to render a
>> network layout in SVG.  My gut says that Synthetic Annealing is the right
>> tool for the job here.
>
> I haven't heard of synthetic annealing (I have heard of simulated
> annealing though) but if you're looking to draw a network of nodes and
> to have them self-organise on a 2D space force-directed graphs are a
> pretty nifty technique for that, see an example with d3 (don't know if
> these graphs are available in d2 thought):
> http://mbostock.github.com/d3/ex/force.html
>
> U
>
> --
> 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 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


Re: Network Visual Layout Algorithm

2012-05-31 Thread Ulises
> I have a contest going with a colleague, where we each have to render a
> network layout in SVG.  My gut says that Synthetic Annealing is the right
> tool for the job here.

I haven't heard of synthetic annealing (I have heard of simulated
annealing though) but if you're looking to draw a network of nodes and
to have them self-organise on a 2D space force-directed graphs are a
pretty nifty technique for that, see an example with d3 (don't know if
these graphs are available in d2 thought):
http://mbostock.github.com/d3/ex/force.html

U

-- 
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


Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Softaddicts
Either this new compatible contrib or the individual libs officially supported.
I would suggest using the standalone libs when available in lieu of the 13 
monolithic
compatible lib one.

Luc


> You are talking about [org.clojure/clojure-contrib "1.2.0"] this.
> right??
> and in replacement of that i have to include newer [org.clojure/
> clojure-contrib "1.3-compat"]. right??
> > On May 31, 5:17 pm, Softaddicts  wrote:
> > Since clojure 1.3, contrib as been replaced by distinct libraries:
> >
> > http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
> >
> > You should be using them. No idea where the referenced lib you specify in 
> > your project
> > comes from.
> > I did not find it using maven central search or in clojars.
> >
> > Using the new one is your safest bet.
> >
> > Luc
> >
> >
> >
> >
> >
> >
> >
> > > Hello all,
> >
> > > I am using eclipse IDE on windows 7 for developing clojure project
> > > with  leiningen plugin.
> >
> > > I think i have properly installed and configured java, lein and mvn
> > > commands.
> > > ==
> > > D:\Chirag\workspace\process_it>mvn -version
> > > Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
> > > Maven home: C:\apache-maven-3.0.3
> > > Java version: 1.7.0_01, vendor: Oracle Corporation
> > > Java home: C:\Program Files\Java\jdk1.7.0_01\jre
> > > Default locale: en_US, platform encoding: Cp1252
> > > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> > > ==
> > > D:\Chirag\workspace\process_it>lein version
> > > Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM
> > > ==
> >
> > > But still when i want to download all dependencies(via "lein deps"
> > > command) its giving artifact missing error as given below my
> > > project.clj file is at last.
> > > Can anybody give some detailed solution for this??
> >
> > > ===
> > >  =
> > > D:\Chirag\workspace\process_it>lein run
> > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > utils-1.3.0-alpha4.pom from repository clojars athttp://clojars.org/repo/
> > > Unable to locate resource in repository
> > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > utils-1.3.0-alpha4.pom from repository central 
> > > athttp://repo1.mavenorg/maven2
> > > Unable to locate resource in repository
> > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > utils-1.3.0-alpha4.pom from repository java.net 
> > > athttp://download.java.net/maven/2
> > > Unable to locate resource in repository
> > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > > 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
> > > 2)
> > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > utils-1.3.0-alpha4.jar from repository clojars athttp://clojars.org/repo/
> > > Unable to locate resource in repository
> > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > utils-1.3.0-alpha4.jar from repository central 
> > > athttp://repo1.mavenorg/maven2
> > > Unable to locate resource in repository
> > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > > 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> > > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > > utils-1.3.0-alpha4.jar from repository java.net 
> > > athttp://download.java.net/maven/2
> > > Unable to locate resource in repository
> > > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > > 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
> > > 2)
> > > An error has occurred while processing the Maven artifact tasks.
> > >  Diagnosis:
> >
> > > Unable to resolve artifact: Missing:
> > > --
> > > 1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4
> >
> > >   Try downloading the file manually from the project website.
> >
> > >   Then, install it using the command:
> > >   mvn install:install-file -DgroupId=org.clojure.contrib -
> > > DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
> > > path/to/file
> >
> > >   Alternatively, if you host your own repository you can deploy the
> > > file there:
> > >   mvn deploy:deploy-file -DgroupId=org.clojure.contrib -
> > > DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
> > > pa

Network Visual Layout Algorithm

2012-05-31 Thread Sean Devlin
Hey folks,
I'm looking for help demonstrating Clojure's superiority to Scala :)

I have a contest going with a colleague, where we each have to render a 
network layout in SVG.  My gut says that Synthetic Annealing is the right 
tool for the job here.

   1. Does anyone have a better thought than synthetic annealing?  Speed is 
   key in this contest
   2. Does anyone know of an implementation on Clojars, etc?

Thanks,
Sean

-- 
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

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Chirag Ghiyad
You are talking about [org.clojure/clojure-contrib "1.2.0"] this.
right??
and in replacement of that i have to include newer [org.clojure/
clojure-contrib "1.3-compat"]. right??

On May 31, 5:17 pm, Softaddicts  wrote:
> Since clojure 1.3, contrib as been replaced by distinct libraries:
>
> http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
>
> You should be using them. No idea where the referenced lib you specify in 
> your project
> comes from.
> I did not find it using maven central search or in clojars.
>
> Using the new one is your safest bet.
>
> Luc
>
>
>
>
>
>
>
> > Hello all,
>
> > I am using eclipse IDE on windows 7 for developing clojure project
> > with  leiningen plugin.
>
> > I think i have properly installed and configured java, lein and mvn
> > commands.
> > ==
> > D:\Chirag\workspace\process_it>mvn -version
> > Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
> > Maven home: C:\apache-maven-3.0.3
> > Java version: 1.7.0_01, vendor: Oracle Corporation
> > Java home: C:\Program Files\Java\jdk1.7.0_01\jre
> > Default locale: en_US, platform encoding: Cp1252
> > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> > ==
> > D:\Chirag\workspace\process_it>lein version
> > Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM
> > ==
>
> > But still when i want to download all dependencies(via "lein deps"
> > command) its giving artifact missing error as given below my
> > project.clj file is at last.
> > Can anybody give some detailed solution for this??
>
> > === 
> > =
> > D:\Chirag\workspace\process_it>lein run
> > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > utils-1.3.0-alpha4.pom from repository clojars athttp://clojars.org/repo/
> > Unable to locate resource in repository
> > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > utils-1.3.0-alpha4.pom from repository central 
> > athttp://repo1.maven.org/maven2
> > Unable to locate resource in repository
> > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > utils-1.3.0-alpha4.pom from repository java.net 
> > athttp://download.java.net/maven/2
> > Unable to locate resource in repository
> > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> > 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
> > 2)
> > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > utils-1.3.0-alpha4.jar from repository clojars athttp://clojars.org/repo/
> > Unable to locate resource in repository
> > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > utils-1.3.0-alpha4.jar from repository central 
> > athttp://repo1.maven.org/maven2
> > Unable to locate resource in repository
> > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> > Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> > utils-1.3.0-alpha4.jar from repository java.net 
> > athttp://download.java.net/maven/2
> > Unable to locate resource in repository
> > [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> > 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
> > 2)
> > An error has occurred while processing the Maven artifact tasks.
> >  Diagnosis:
>
> > Unable to resolve artifact: Missing:
> > --
> > 1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4
>
> >   Try downloading the file manually from the project website.
>
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=org.clojure.contrib -
> > DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
> > path/to/file
>
> >   Alternatively, if you host your own repository you can deploy the
> > file there:
> >       mvn deploy:deploy-file -DgroupId=org.clojure.contrib -
> > DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
> > path/to/file -Durl=[url] -DrepositoryId=[id]
>
> >   Path to dependency:
> >         1) org.apache.maven:super-pom:pom:2.0
> >         2) com.draines:postal:jar:1.7.1
> >         3) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4
>
> > --
> > 1 required artifact is missing.
>
> > for artifact:
> >   org.apache.maven:super-pom:pom:2.0
>
> > from the specified remote repositories:
> >   central (http

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Stefan Hübner
clojure.contrib.repl-utils migrated to clojure.repl, according to
http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go


Softaddicts  writes:

> Since clojure 1.3, contrib as been replaced by distinct libraries:
>
> http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
>
> You should be using them. No idea where the referenced lib you specify
> in your project
> comes from.
> I did not find it using maven central search or in clojars.
>
> Using the new one is your safest bet.
>
> Luc
>
>> Hello all,
>> 
>> I am using eclipse IDE on windows 7 for developing clojure project
>> with  leiningen plugin.
>> 
>> I think i have properly installed and configured java, lein and mvn
>> commands.
>> ==
>> D:\Chirag\workspace\process_it>mvn -version
>> Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
>> Maven home: C:\apache-maven-3.0.3
>> Java version: 1.7.0_01, vendor: Oracle Corporation
>> Java home: C:\Program Files\Java\jdk1.7.0_01\jre
>> Default locale: en_US, platform encoding: Cp1252
>> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
>> ==
>> D:\Chirag\workspace\process_it>lein version
>> Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM
>> ==
>> 
>> But still when i want to download all dependencies(via "lein deps"
>> command) its giving artifact missing error as given below my
>> project.clj file is at last.
>> Can anybody give some detailed solution for this??
>> 
>> 
>> D:\Chirag\workspace\process_it>lein run
>> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
>> utils-1.3.0-alpha4.pom from repository clojars at http://clojars.org/repo/
>> Unable to locate resource in repository
>> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
>> 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
>> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
>> utils-1.3.0-alpha4.pom from repository central at 
>> http://repo1.maven.org/maven2
>> Unable to locate resource in repository
>> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
>> 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
>> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
>> utils-1.3.0-alpha4.pom from repository java.net at 
>> http://download.java.net/maven/2
>> Unable to locate resource in repository
>> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
>> 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
>> 2)
>> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
>> utils-1.3.0-alpha4.jar from repository clojars at http://clojars.org/repo/
>> Unable to locate resource in repository
>> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
>> 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
>> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
>> utils-1.3.0-alpha4.jar from repository central at 
>> http://repo1.maven.org/maven2
>> Unable to locate resource in repository
>> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
>> 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
>> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
>> utils-1.3.0-alpha4.jar from repository java.net at 
>> http://download.java.net/maven/2
>> Unable to locate resource in repository
>> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
>> 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
>> 2)
>> An error has occurred while processing the Maven artifact tasks.
>>  Diagnosis:
>> 
>> Unable to resolve artifact: Missing:
>> --
>> 1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4
>> 
>>   Try downloading the file manually from the project website.
>> 
>>   Then, install it using the command:
>>   mvn install:install-file -DgroupId=org.clojure.contrib -
>> DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
>> path/to/file
>> 
>>   Alternatively, if you host your own repository you can deploy the
>> file there:
>>   mvn deploy:deploy-file -DgroupId=org.clojure.contrib -
>> DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
>> path/to/file -Durl=[url] -DrepositoryId=[id]
>> 
>>   Path to dependency:
>> 1) org.apache.maven:super-pom:pom:2.0
>> 2) com.draines:postal:jar:1.7.1
>> 3) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4
>> 
>> --
>> 1 required artifact is missing.
>> 
>> for artifact:
>>   org.apache.maven:super-pom:pom:2.0
>> 
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2),
>>   clojars (http://clojars.org/repo/)
>> 
>> 
>> 
>> 
>> Exception in thread "main" Unable to resolve art

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Softaddicts
Since clojure 1.3, contrib as been replaced by distinct libraries:

http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go

You should be using them. No idea where the referenced lib you specify in your 
project
comes from.
I did not find it using maven central search or in clojars.

Using the new one is your safest bet.

Luc

> Hello all,
> 
> I am using eclipse IDE on windows 7 for developing clojure project
> with  leiningen plugin.
> 
> I think i have properly installed and configured java, lein and mvn
> commands.
> ==
> D:\Chirag\workspace\process_it>mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
> Maven home: C:\apache-maven-3.0.3
> Java version: 1.7.0_01, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_01\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> ==
> D:\Chirag\workspace\process_it>lein version
> Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM
> ==
> 
> But still when i want to download all dependencies(via "lein deps"
> command) its giving artifact missing error as given below my
> project.clj file is at last.
> Can anybody give some detailed solution for this??
> 
> 
> D:\Chirag\workspace\process_it>lein run
> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> utils-1.3.0-alpha4.pom from repository clojars at http://clojars.org/repo/
> Unable to locate resource in repository
> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> utils-1.3.0-alpha4.pom from repository central at 
> http://repo1.maven.org/maven2
> Unable to locate resource in repository
> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> utils-1.3.0-alpha4.pom from repository java.net at 
> http://download.java.net/maven/2
> Unable to locate resource in repository
> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
> 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
> 2)
> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> utils-1.3.0-alpha4.jar from repository clojars at http://clojars.org/repo/
> Unable to locate resource in repository
> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> utils-1.3.0-alpha4.jar from repository central at 
> http://repo1.maven.org/maven2
> Unable to locate resource in repository
> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
> Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
> utils-1.3.0-alpha4.jar from repository java.net at 
> http://download.java.net/maven/2
> Unable to locate resource in repository
> [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
> 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
> 2)
> An error has occurred while processing the Maven artifact tasks.
>  Diagnosis:
> 
> Unable to resolve artifact: Missing:
> --
> 1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=org.clojure.contrib -
> DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
> path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the
> file there:
>   mvn deploy:deploy-file -DgroupId=org.clojure.contrib -
> DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
> path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
> 1) org.apache.maven:super-pom:pom:2.0
> 2) com.draines:postal:jar:1.7.1
> 3) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4
> 
> --
> 1 required artifact is missing.
> 
> for artifact:
>   org.apache.maven:super-pom:pom:2.0
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   clojars (http://clojars.org/repo/)
> 
> 
> 
> 
> Exception in thread "main" Unable to resolve artifact: Missing:
> --
> 1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=org.clojure.contrib -
> DartifactId=repl-uti

MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Chirag Ghiyad
Hello all,

I am using eclipse IDE on windows 7 for developing clojure project
with  leiningen plugin.

I think i have properly installed and configured java, lein and mvn
commands.
==
D:\Chirag\workspace\process_it>mvn -version
Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
Maven home: C:\apache-maven-3.0.3
Java version: 1.7.0_01, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_01\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
==
D:\Chirag\workspace\process_it>lein version
Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM
==

But still when i want to download all dependencies(via "lein deps"
command) its giving artifact missing error as given below my
project.clj file is at last.
Can anybody give some detailed solution for this??


D:\Chirag\workspace\process_it>lein run
Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
utils-1.3.0-alpha4.pom from repository clojars at http://clojars.org/repo/
Unable to locate resource in repository
[INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
utils-1.3.0-alpha4.pom from repository central at http://repo1.maven.org/maven2
Unable to locate resource in repository
[INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
utils-1.3.0-alpha4.pom from repository java.net at 
http://download.java.net/maven/2
Unable to locate resource in repository
[INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom:
1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
2)
Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
utils-1.3.0-alpha4.jar from repository clojars at http://clojars.org/repo/
Unable to locate resource in repository
[INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
1.3.0-alpha4' in repository clojars (http://clojars.org/repo/)
Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
utils-1.3.0-alpha4.jar from repository central at http://repo1.maven.org/maven2
Unable to locate resource in repository
[INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2)
Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
utils-1.3.0-alpha4.jar from repository java.net at 
http://download.java.net/maven/2
Unable to locate resource in repository
[INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar:
1.3.0-alpha4' in repository java.net (http://download.java.net/maven/
2)
An error has occurred while processing the Maven artifact tasks.
 Diagnosis:

Unable to resolve artifact: Missing:
--
1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.clojure.contrib -
DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
path/to/file

  Alternatively, if you host your own repository you can deploy the
file there:
  mvn deploy:deploy-file -DgroupId=org.clojure.contrib -
DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) org.apache.maven:super-pom:pom:2.0
2) com.draines:postal:jar:1.7.1
3) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4

--
1 required artifact is missing.

for artifact:
  org.apache.maven:super-pom:pom:2.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  clojars (http://clojars.org/repo/)




Exception in thread "main" Unable to resolve artifact: Missing:
--
1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.clojure.contrib -
DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
path/to/file

  Alternatively, if you host your own repository you can deploy the
file there:
  mvn deploy:deploy-file -DgroupId=org.clojure.contrib -
DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/
path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) org.apache.maven:super-pom:pom:2.0
2) com.draines:postal:jar:1.7.1
3) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4

--
1 required artifact is missing.

for artifact:
  org.apache.m