dirtyvagabond | 1 Jun 04:33 2012
Picon

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

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 <at> 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+unsubscribe <at> googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
Sun Ning | 1 Jun 05:14 2012
Picon

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

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 <at> 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+unsubscribe <at> 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 <at> 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+unsubscribe <at> googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Lee Hinman | 1 Jun 05:49 2012
Picon

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


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
Phil Hagelberg | 1 Jun 07:11 2012

[ANN] Leiningen 2.0.0-preview5 released

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

mnicky | 1 Jun 08:40 2012
Picon

Re: [ANN] Leiningen 2.0.0-preview5 released

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.<clinit>(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.<clinit>(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.<clinit>(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.<clinit>(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)
at clojure.lang.Var.invoke(Var.java:415)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.Var.applyTo(Var.java:532)
at clojure.core$apply.invoke(core.clj:601)
at clojure.main$main_opt.invoke(main.clj:324)
at clojure.main$main.doInvoke(main.clj:427)
at clojure.lang.RestFn.invoke(RestFn.java:436)
at clojure.lang.Var.invoke(Var.java:423)
at clojure.lang.AFn.applyToHelper(AFn.java:167)
at clojure.lang.Var.applyTo(Var.java:532)
at clojure.main.main(main.java:37)
Caused by: java.lang.ClassNotFoundException: jline/console/completer/Completer
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at reply.reader.jline.completion$loading__4784__auto__.invoke(completion.clj:1)
at reply.reader.jline.completion__init.load(Unknown Source)
at reply.reader.jline.completion__init.<clinit>(Unknown Source)

My OS is Debian 6.0 Squeeze.

java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze1)
OpenJDK Server VM (build 14.0-b16, mixed mode)

Mnicky.

On Friday, June 1, 2012 7:11:48 AM UTC+2, Phil Hagelberg wrote:
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 <at> 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+unsubscribe <at> googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
mnicky | 1 Jun 08:43 2012
Picon

Re: [ANN] Leiningen 2.0.0-preview5 released

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.<clinit>(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.<clinit>(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.<clinit>(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.<clinit>(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)
at clojure.lang.Var.invoke(Var.java:415)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.Var.applyTo(Var.java:532)
at clojure.core$apply.invoke(core.clj:601)
at clojure.main$main_opt.invoke(main.clj:324)
at clojure.main$main.doInvoke(main.clj:427)
at clojure.lang.RestFn.invoke(RestFn.java:436)
at clojure.lang.Var.invoke(Var.java:423)
at clojure.lang.AFn.applyToHelper(AFn.java:167)
at clojure.lang.Var.applyTo(Var.java:532)
at clojure.main.main(main.java:37)
Caused by: java.lang.ClassNotFoundException: jline/console/completer/Completer
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at reply.reader.jline.completion$loading__4784__auto__.invoke(completion.clj:1)
at reply.reader.jline.completion__init.load(Unknown Source)
at reply.reader.jline.completion__init.<clinit>(Unknown Source)

My OS is Debian 6.0 Squeeze.

java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze1)
OpenJDK Server VM (build 14.0-b16, mixed mode)

Mnicky.

On Friday, June 1, 2012 7:11:48 AM UTC+2, Phil Hagelberg wrote:
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 <at> 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+unsubscribe <at> googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
Boris V. Schmid | 1 Jun 09:08 2012
Picon

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

Thanks, it was get-in that I was looking for, but couldn't find. Also thanks to Dave for explaining that keywords have some internal magic compared to strings. will remember!

On Thursday, 31 May 2012 19:22:50 UTC+2, 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 <dave... <at> gmail.com> 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 <boris.sch... <at> gmail.com> 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 <at> 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+unsubscribe <at> 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 <at> 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+unsubscribe <at> googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
Jim - FooBar(); | 1 Jun 10:29 2012
Picon

Re: [ANN] Leiningen 2.0.0-preview5 released

After upgrading from preview4 to preview5 I get this when trying to do 
"lein2 repl" inside any project folder...
Is this a known issue? I'm using Jdk 1.7...
----------------------------------------------------------------
Could not find artifact reply:reply:pom:0.1.0-beta8 in central 
(http://repo1.maven.org/maven2)
Could not transfer artifact reply:reply:pom:0.1.0-beta8 from/to clojars 
(https://clojars.org/repo/): sun.security.validator.ValidatorException: 
PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to 
find valid certification path to requested target
Exception in thread "main" 
org.sonatype.aether.resolution.DependencyResolutionException: Failed to 
collect dependencies for clojure.lang.LazySeq <at> fca6e7f
     at 
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:371)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:601)
     at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
     at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
     at 
cemerick.pomegranate.aether$resolve_dependencies.doInvoke(aether.clj:406)
     at clojure.lang.RestFn.applyTo(RestFn.java:137)
     at clojure.core$apply.invoke(core.clj:601)
     at cemerick.pomegranate$add_dependencies.doInvoke(pomegranate.clj:102)
     at clojure.lang.RestFn.invoke(RestFn.java:1096)
     at 
leiningen.core.classpath$get_dependencies.doInvoke(classpath.clj:128)
     at clojure.lang.RestFn.applyTo(RestFn.java:142)
     at clojure.core$apply.invoke(core.clj:605)
     at 
leiningen.core.classpath$resolve_dependencies.doInvoke(classpath.clj:144)
     at clojure.lang.RestFn.invoke(RestFn.java:464)
     at leiningen.core.project$load_plugins.invoke(project.clj:208)
     at leiningen.core.project$load_plugins.invoke(project.clj:209)
     at leiningen.core.project$init_project.invoke(project.clj:233)
     at leiningen.core.main$_main.doInvoke(main.clj:131)
     at clojure.lang.RestFn.invoke(RestFn.java:408)
     at clojure.lang.Var.invoke(Var.java:415)
     at clojure.lang.AFn.applyToHelper(AFn.java:161)
     at clojure.lang.Var.applyTo(Var.java:532)
     at clojure.core$apply.invoke(core.clj:601)
     at clojure.main$main_opt.invoke(main.clj:324)
     at clojure.main$main.doInvoke(main.clj:427)
     at clojure.lang.RestFn.invoke(RestFn.java:436)
     at clojure.lang.Var.invoke(Var.java:423)
     at clojure.lang.AFn.applyToHelper(AFn.java:167)
     at clojure.lang.Var.applyTo(Var.java:532)
     at clojure.main.main(main.java:37)
Caused by: org.sonatype.aether.collection.DependencyCollectionException: 
Failed to collect dependencies for clojure.lang.LazySeq <at> fca6e7f
     at 
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258)
     at 
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:333)
     ... 32 more
Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: 
Failed to read artifact descriptor for reply:reply:jar:0.1.0-beta8
     at 
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)
     at 
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
     at 
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)
     at 
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)
     ... 33 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: 
Could not transfer artifact reply:reply:pom:0.1.0-beta8 from/to clojars 
(https://clojars.org/repo/): sun.security.validator.ValidatorException: 
PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to 
find valid certification path to requested target
     at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
     at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
     at 
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
     at 
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
     ... 36 more
Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could 
not transfer artifact reply:reply:pom:0.1.0-beta8 from/to clojars 
(https://clojars.org/repo/): sun.security.validator.ValidatorException: 
PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to 
find valid certification path to requested target
     at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951)
     at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
     at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
     at 
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
     at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.maven.wagon.TransferFailedException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to 
find valid certification path to requested target
     at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:799)
     at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
     at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
     at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
     at 
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601)
     ... 4 more
Caused by: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to 
find valid certification path to requested target
     at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
     at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1868)
     at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
     at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)
     at 
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1337)
     at 
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:154)
     at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
     at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
     at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:998)
     at 
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1294)
     at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:685)
     at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:111)
     at 
org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:131)
     at 
org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:138)
     at 
org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClientConnection.java:271)
     at 
org.apache.http.impl.AbstractHttpClientConnection.flush(AbstractHttpClientConnection.java:276)
     at 
org.apache.http.impl.conn.AbstractClientConnAdapter.flush(AbstractClientConnAdapter.java:194)
     at 
org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:258)
     at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
     at 
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:647)
     at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:464)
     at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
     at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
     at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:674)
     at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:793)
     ... 8 more
Caused by: sun.security.validator.ValidatorException: PKIX path building 
failed: sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target
     at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)
     at 
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
     at sun.security.validator.Validator.validate(Validator.java:260)
     at 
sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
     at 
sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
     at 
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:107)
     at 
org.apache.maven.wagon.shared.http4.EasyX509TrustManager.checkServerTrusted(EasyX509TrustManager.java:118)
     at 
sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:803)
     at 
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1319)
     ... 28 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target
     at 
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
     at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
     at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
     ... 36 more
-----------------------------------------------------------------------------------------------------

Thanks in advance...

Jim

On 01/06/12 06:11, Phil Hagelberg wrote:
> 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 <at> 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+unsubscribe <at> googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Baishampayan Ghose | 1 Jun 10:35 2012
Picon

Re: [ANN] Leiningen 2.0.0-preview5 released

And I am facing a JLine related error when I launch the repl.

Full stack trace here https://www.refheap.com/paste/2956

I am using Java6 on Mac OS X.

Regards,
BG

On Fri, Jun 1, 2012 at 1:59 PM, Jim - FooBar(); <jimpil1985 <at> gmail.com> wrote:
> After upgrading from preview4 to preview5 I get this when trying to do
> "lein2 repl" inside any project folder...
> Is this a known issue? I'm using Jdk 1.7...
> ----------------------------------------------------------------
> Could not find artifact reply:reply:pom:0.1.0-beta8 in central
> (http://repo1.maven.org/maven2)
> Could not transfer artifact reply:reply:pom:0.1.0-beta8 from/to clojars
> (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX
> path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
> Exception in thread "main"
> org.sonatype.aether.resolution.DependencyResolutionException: Failed to
> collect dependencies for clojure.lang.LazySeq <at> fca6e7f
>    at
> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:371)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    at java.lang.reflect.Method.invoke(Method.java:601)
>    at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
>    at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
>    at
> cemerick.pomegranate.aether$resolve_dependencies.doInvoke(aether.clj:406)
>    at clojure.lang.RestFn.applyTo(RestFn.java:137)
>    at clojure.core$apply.invoke(core.clj:601)
>    at cemerick.pomegranate$add_dependencies.doInvoke(pomegranate.clj:102)
>    at clojure.lang.RestFn.invoke(RestFn.java:1096)
>    at leiningen.core.classpath$get_dependencies.doInvoke(classpath.clj:128)
>    at clojure.lang.RestFn.applyTo(RestFn.java:142)
>    at clojure.core$apply.invoke(core.clj:605)
>    at
> leiningen.core.classpath$resolve_dependencies.doInvoke(classpath.clj:144)
>    at clojure.lang.RestFn.invoke(RestFn.java:464)
>    at leiningen.core.project$load_plugins.invoke(project.clj:208)
>    at leiningen.core.project$load_plugins.invoke(project.clj:209)
>    at leiningen.core.project$init_project.invoke(project.clj:233)
>    at leiningen.core.main$_main.doInvoke(main.clj:131)
>
>    at clojure.lang.RestFn.invoke(RestFn.java:408)
>    at clojure.lang.Var.invoke(Var.java:415)
>    at clojure.lang.AFn.applyToHelper(AFn.java:161)
>    at clojure.lang.Var.applyTo(Var.java:532)
>    at clojure.core$apply.invoke(core.clj:601)
>    at clojure.main$main_opt.invoke(main.clj:324)
>    at clojure.main$main.doInvoke(main.clj:427)
>    at clojure.lang.RestFn.invoke(RestFn.java:436)
>    at clojure.lang.Var.invoke(Var.java:423)
>    at clojure.lang.AFn.applyToHelper(AFn.java:167)
>    at clojure.lang.Var.applyTo(Var.java:532)
>    at clojure.main.main(main.java:37)
> Caused by: org.sonatype.aether.collection.DependencyCollectionException:
> Failed to collect dependencies for clojure.lang.LazySeq <at> fca6e7f
>    at
> org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258)
>    at
> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:333)
>    ... 32 more
> Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException:
> Failed to read artifact descriptor for reply:reply:jar:0.1.0-beta8
>    at
> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)
>    at
> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
>    at
> org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)
>    at
> org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)
>    ... 33 more
> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could
> not transfer artifact reply:reply:pom:0.1.0-beta8 from/to clojars
> (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX
> path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
>    at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
>    at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
>    at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
>    at
> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
>    ... 36 more
> Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not
> transfer artifact reply:reply:pom:0.1.0-beta8 from/to clojars
> (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX
> path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
>    at
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951)
>    at
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
>    at
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
>    at
> org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
>    at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>    at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>    at java.lang.Thread.run(Thread.java:722)
> Caused by: org.apache.maven.wagon.TransferFailedException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
>    at
> org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:799)
>    at
> org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
>    at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
>    at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
>    at
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601)
>    ... 4 more
> Caused by: javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
>    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
>    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1868)
>    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
>    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)
>    at
> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1337)
>    at
> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:154)
>    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
>    at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
>    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:998)
>    at
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1294)
>    at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:685)
>    at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:111)
>    at
> org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:131)
>    at
> org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:138)
>    at
> org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClientConnection.java:271)
>    at
> org.apache.http.impl.AbstractHttpClientConnection.flush(AbstractHttpClientConnection.java:276)
>    at
> org.apache.http.impl.conn.AbstractClientConnAdapter.flush(AbstractClientConnAdapter.java:194)
>    at
> org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:258)
>    at
> org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
>    at
> org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:647)
>    at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:464)
>    at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
>    at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
>    at
> org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:674)
>    at
> org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:793)
>    ... 8 more
> Caused by: sun.security.validator.ValidatorException: PKIX path building
> failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
> to find valid certification path to requested target
>    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)
>    at
> sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
>    at sun.security.validator.Validator.validate(Validator.java:260)
>    at
> sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
>    at
> sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
>    at
> sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:107)
>    at
> org.apache.maven.wagon.shared.http4.EasyX509TrustManager.checkServerTrusted(EasyX509TrustManager.java:118)
>    at
> sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:803)
>    at
> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1319)
>    ... 28 more
> Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
> unable to find valid certification path to requested target
>    at
> sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
>    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
>    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
>    ... 36 more
> -----------------------------------------------------------------------------------------------------
>
> Thanks in advance...
>
> Jim
>
>
>
> On 01/06/12 06:11, Phil Hagelberg wrote:
>>
>> 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 <at> 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+unsubscribe <at> googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
Baishampayan Ghose
b.ghose at gmail.com

--

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure <at> 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+unsubscribe <at> googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Jim - FooBar(); | 1 Jun 10:43 2012
Picon

Re: [ANN] Leiningen 2.0.0-preview5 released

Your error seems very similar with mnicky's error which is a known 
issue....My error on the other hand seems to be completely different 
from yours!

Jim

On 01/06/12 09:35, Baishampayan Ghose wrote:
> And I am facing a JLine related error when I launch the repl.
>
> Full stack trace here https://www.refheap.com/paste/2956
>
> I am using Java6 on Mac OS X.
>
> Regards,
> BG
>
> On Fri, Jun 1, 2012 at 1:59 PM, Jim - FooBar();<jimpil1985 <at> gmail.com>  wrote:
>> After upgrading from preview4 to preview5 I get this when trying to do
>> "lein2 repl" inside any project folder...
>> Is this a known issue? I'm using Jdk 1.7...
>> ----------------------------------------------------------------
>> Could not find artifact reply:reply:pom:0.1.0-beta8 in central
>> (http://repo1.maven.org/maven2)
>> Could not transfer artifact reply:reply:pom:0.1.0-beta8 from/to clojars
>> (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX
>> path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>> Exception in thread "main"
>> org.sonatype.aether.resolution.DependencyResolutionException: Failed to
>> collect dependencies for clojure.lang.LazySeq <at> fca6e7f
>>     at
>> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:371)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>     at java.lang.reflect.Method.invoke(Method.java:601)
>>     at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
>>     at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
>>     at
>> cemerick.pomegranate.aether$resolve_dependencies.doInvoke(aether.clj:406)
>>     at clojure.lang.RestFn.applyTo(RestFn.java:137)
>>     at clojure.core$apply.invoke(core.clj:601)
>>     at cemerick.pomegranate$add_dependencies.doInvoke(pomegranate.clj:102)
>>     at clojure.lang.RestFn.invoke(RestFn.java:1096)
>>     at leiningen.core.classpath$get_dependencies.doInvoke(classpath.clj:128)
>>     at clojure.lang.RestFn.applyTo(RestFn.java:142)
>>     at clojure.core$apply.invoke(core.clj:605)
>>     at
>> leiningen.core.classpath$resolve_dependencies.doInvoke(classpath.clj:144)
>>     at clojure.lang.RestFn.invoke(RestFn.java:464)
>>     at leiningen.core.project$load_plugins.invoke(project.clj:208)
>>     at leiningen.core.project$load_plugins.invoke(project.clj:209)
>>     at leiningen.core.project$init_project.invoke(project.clj:233)
>>     at leiningen.core.main$_main.doInvoke(main.clj:131)
>>
>>     at clojure.lang.RestFn.invoke(RestFn.java:408)
>>     at clojure.lang.Var.invoke(Var.java:415)
>>     at clojure.lang.AFn.applyToHelper(AFn.java:161)
>>     at clojure.lang.Var.applyTo(Var.java:532)
>>     at clojure.core$apply.invoke(core.clj:601)
>>     at clojure.main$main_opt.invoke(main.clj:324)
>>     at clojure.main$main.doInvoke(main.clj:427)
>>     at clojure.lang.RestFn.invoke(RestFn.java:436)
>>     at clojure.lang.Var.invoke(Var.java:423)
>>     at clojure.lang.AFn.applyToHelper(AFn.java:167)
>>     at clojure.lang.Var.applyTo(Var.java:532)
>>     at clojure.main.main(main.java:37)
>> Caused by: org.sonatype.aether.collection.DependencyCollectionException:
>> Failed to collect dependencies for clojure.lang.LazySeq <at> fca6e7f
>>     at
>> org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258)
>>     at
>> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:333)
>>     ... 32 more
>> Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException:
>> Failed to read artifact descriptor for reply:reply:jar:0.1.0-beta8
>>     at
>> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)
>>     at
>> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
>>     at
>> org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)
>>     at
>> org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)
>>     ... 33 more
>> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could
>> not transfer artifact reply:reply:pom:0.1.0-beta8 from/to clojars
>> (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX
>> path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>>     at
>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
>>     at
>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
>>     at
>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
>>     at
>> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
>>     ... 36 more
>> Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not
>> transfer artifact reply:reply:pom:0.1.0-beta8 from/to clojars
>> (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX
>> path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>>     at
>> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951)
>>     at
>> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
>>     at
>> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
>>     at
>> org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
>>     at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>     at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>     at java.lang.Thread.run(Thread.java:722)
>> Caused by: org.apache.maven.wagon.TransferFailedException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>>     at
>> org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:799)
>>     at
>> org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
>>     at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
>>     at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
>>     at
>> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601)
>>     ... 4 more
>> Caused by: javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>>     at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
>>     at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1868)
>>     at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
>>     at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)
>>     at
>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1337)
>>     at
>> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:154)
>>     at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
>>     at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
>>     at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:998)
>>     at
>> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1294)
>>     at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:685)
>>     at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:111)
>>     at
>> org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:131)
>>     at
>> org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:138)
>>     at
>> org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClientConnection.java:271)
>>     at
>> org.apache.http.impl.AbstractHttpClientConnection.flush(AbstractHttpClientConnection.java:276)
>>     at
>> org.apache.http.impl.conn.AbstractClientConnAdapter.flush(AbstractClientConnAdapter.java:194)
>>     at
>> org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:258)
>>     at
>> org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
>>     at
>> org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:647)
>>     at
>> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:464)
>>     at
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
>>     at
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
>>     at
>> org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:674)
>>     at
>> org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:793)
>>     ... 8 more
>> Caused by: sun.security.validator.ValidatorException: PKIX path building
>> failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
>> to find valid certification path to requested target
>>     at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)
>>     at
>> sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
>>     at sun.security.validator.Validator.validate(Validator.java:260)
>>     at
>> sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
>>     at
>> sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
>>     at
>> sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:107)
>>     at
>> org.apache.maven.wagon.shared.http4.EasyX509TrustManager.checkServerTrusted(EasyX509TrustManager.java:118)
>>     at
>> sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:803)
>>     at
>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1319)
>>     ... 28 more
>> Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
>> unable to find valid certification path to requested target
>>     at
>> sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
>>     at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
>>     at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
>>     ... 36 more
>> -----------------------------------------------------------------------------------------------------
>>
>> Thanks in advance...
>>
>> Jim
>>
>>
>>
>> On 01/06/12 06:11, Phil Hagelberg wrote:
>>> 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 <at> 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+unsubscribe <at> 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 <at> 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+unsubscribe <at> googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Gmane