Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Leiningen 2.0.0-preview5 released
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Phil Hagelberg  
View profile  
 More options Jun 1 2012, 1:11 am
From: Phil Hagelberg <p...@hagelb.org>
Date: Thu, 31 May 2012 22:11:48 -0700
Local: Fri, Jun 1 2012 1:11 am
Subject: [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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mnicky  
View profile  
 More options Jun 1 2012, 2:40 am
From: mnicky <markus.mas...@gmail.com>
Date: Thu, 31 May 2012 23:40:40 -0700 (PDT)
Local: Fri, Jun 1 2012 2:40 am
Subject: 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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mnicky  
View profile  
 More options Jun 1 2012, 2:43 am
From: mnicky <markus.mas...@gmail.com>
Date: Thu, 31 May 2012 23:43:46 -0700 (PDT)
Local: Fri, Jun 1 2012 2:43 am
Subject: 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim - FooBar();  
View profile  
 More options Jun 1 2012, 4:29 am
From: "Jim - FooBar();" <jimpil1...@gmail.com>
Date: Fri, 01 Jun 2012 09:29:59 +0100
Local: Fri, Jun 1 2012 4:29 am
Subject: 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@fca6e7f
     at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependenci es(DefaultRepositorySystem.java:371)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5 7)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.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@fca6e7f
     at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDepende ncies(DefaultDependencyCollector.java:258)
     at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependenci es(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.loadPo m(DefaultArtifactDescriptorReader.java:296)
     at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readAr tifactDescriptor(DefaultArtifactDescriptorReader.java:186)
     at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(Defaul tDependencyCollector.java:412)
     at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDepende ncies(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(DefaultAr tifactResolver.java:538)
     at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts( DefaultArtifactResolver.java:216)
     at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(D efaultArtifactResolver.java:193)
     at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPo m(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(WagonRe positoryConnector.java:951)
     at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRe positoryConnector.java:941)
     at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(Wa gonRepositoryConnector.java:669)
     at
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableE rrorForwarder.java:60)
     at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1 110)
     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(A bstractHttpClientWagon.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(Wa gonRepositoryConnector.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:1 337)
     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:1 294)
     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(AbstractSes sionOutputBuffer.java:131)
     at
org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOu tputBuffer.java:138)
     at
org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClien tConnection.java:271)
     at
org.apache.http.impl.AbstractHttpClientConnection.flush(AbstractHttpClientC onnection.java:276)
     at
org.apache.http.impl.conn.AbstractClientConnAdapter.flush(AbstractClientCon nAdapter.java:194)
     at
org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecu tor.java:258)
     at
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.ja va:123)
     at
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultReques tDirector.java:647)
     at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDi rector.java:464)
     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.j ava:820)
     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.j ava:754)
     at
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.execute(Abstrac tHttpClientWagon.java:674)
     at
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(A bstractHttpClientWagon.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:32 6)
     at
sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.jav a:231)
     at
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerIm pl.java:107)
     at
org.apache.maven.wagon.shared.http4.EasyX509TrustManager.checkServerTrusted (EasyX509TrustManager.java:118)
     at
...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Baishampayan Ghose  
View profile  
 More options Jun 1 2012, 4:35 am
From: Baishampayan Ghose <b.gh...@gmail.com>
Date: Fri, 1 Jun 2012 14:05:47 +0530
Local: Fri, Jun 1 2012 4:35 am
Subject: 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(); <jimpil1...@gmail.com> wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim - FooBar();  
View profile  
 More options Jun 1 2012, 4:43 am
From: "Jim - FooBar();" <jimpil1...@gmail.com>
Date: Fri, 01 Jun 2012 09:43:17 +0100
Local: Fri, Jun 1 2012 4:43 am
Subject: 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:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sun Ning  
View profile  
 More options Jun 1 2012, 5:57 am
From: Sun Ning <classicn...@gmail.com>
Date: Fri, 01 Jun 2012 17:57:02 +0800
Local: Fri, Jun 1 2012 5:57 am
Subject: Re: [ANN] Leiningen 2.0.0-preview5 released

I'm running preview5 on OpenJDK 7, also got this issue both when upgrade
and self-install.

On 06/01/2012 02:40 PM, mnicky wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Hagelberg  
View profile  
 More options Jun 1 2012, 1:27 pm
From: Phil Hagelberg <p...@hagelb.org>
Date: Fri, 1 Jun 2012 10:27:43 -0700
Local: Fri, Jun 1 2012 1:27 pm
Subject: Re: [ANN] Leiningen 2.0.0-preview5 released

On Thu, May 31, 2012 at 10:11 PM, Phil Hagelberg <p...@hagelb.org> wrote:
> 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

It turns out the problem with SSL is an issue with Oracle's JDK rather
than being specific to Windows; Oracle revoked the certificate
authority used by Clojars. So if you are not using OpenJDK for some
reason this will be a problem. We're working on a workaround; in the
mean time you're best off sticking with preview4 for now. OpenJDK
users aren't affected by this issue, but there's another problem with
the packaging of the repl. I have a fix for this one; it will be
released once the SSL issue is addressed.

tl;dr: hold off on upgrading if you use Oracle's JDK or the repl task;
sorry for the inconvenience.

-Phil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim - FooBar();  
View profile  
 More options Jun 1 2012, 2:38 pm
From: "Jim - FooBar();" <jimpil1...@gmail.com>
Date: Fri, 01 Jun 2012 19:38:41 +0100
Local: Fri, Jun 1 2012 2:38 pm
Subject: Re: [ANN] Leiningen 2.0.0-preview5 released
How come building preview5 from source works just  fine?

Jim

On 01/06/12 18:27, Phil Hagelberg wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Klishin  
View profile  
 More options Jun 1 2012, 3:56 pm
From: Michael Klishin <michael.s.klis...@gmail.com>
Date: Fri, 1 Jun 2012 23:56:26 +0400
Local: Fri, Jun 1 2012 3:56 pm
Subject: Re: [ANN] Leiningen 2.0.0-preview5 released
Phil Hagelberg:

> tl;dr: hold off on upgrading if you use Oracle's JDK or the repl task;
> sorry for the inconvenience.

travis-ci.org now uses preview 5 for lein2, we fixed Oracle JDK issues by installing the missing certificate
during provisioning.

Workarounds for OS X and Linux can be found in this thread:

https://github.com/technomancy/leiningen/issues/613

MK


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Hagelberg  
View profile  
 More options Jun 1 2012, 4:16 pm
From: Phil Hagelberg <p...@hagelb.org>
Date: Fri, 1 Jun 2012 13:16:45 -0700
Local: Fri, Jun 1 2012 4:16 pm
Subject: Re: [ANN] Leiningen 2.0.0-preview5 released
On Fri, Jun 1, 2012 at 11:38 AM, Jim - FooBar(); <jimpil1...@gmail.com> wrote:

> How come building preview5 from source works just  fine?

The JLine/repl bug was due to a mistake I made while generating the
uberjar, so building from source will take care of that.

But the SSL problem is actually something plaguing most JDK builds; I
realized the reason it's not happening on most Linux systems is that
Debian fixes the cert store that the JDK uses. Building from source
will not protect you from this, but using a JDK from Debian will.

I've rolled back the "preview" branch so `lein upgrade` doesn't pull
in the problematic release.

-Phil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nick rothwell  
View profile  
 More options Jun 2 2012, 2:03 pm
From: nick rothwell <n...@cassiel.com>
Date: Sat, 2 Jun 2012 11:03:39 -0700 (PDT)
Local: Sat, Jun 2 2012 2:03 pm
Subject: Re: [ANN] Leiningen 2.0.0-preview5 released

I seem to not be getting an upgrade. :-( (I then followed the re-download
instructions, and got preview4 again.)

bash-3.2$ ~/lein2 upgrade
The script at /Users/nick/lein2 will be upgraded to the latest preview
version.
Do you want to continue [Y/n]? Y

Upgrading...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                 Dload  Upload   Total   Spent    Left  
Speed
100  7230  100  7230    0     0   1511      0  0:00:04  0:00:04 --:--:--  
271k

The self-install jar already exists at
/Users/nick/.lein/self-installs/leiningen-2.0.0-preview4-standalone.jar.
If you wish to re-download, delete it and rerun "/Users/nick/lein2
self-install".
bash-3.2$ ~/lein2 version
Leiningen 2.0.0-preview4 on Java 1.6.0_31 Java HotSpot(TM) 64-Bit Server VM


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim - FooBar();  
View profile  
 More options Jun 2 2012, 2:14 pm
From: "Jim - FooBar();" <jimpil1...@gmail.com>
Date: Sat, 02 Jun 2012 19:14:47 +0100
Local: Sat, Jun 2 2012 2:14 pm
Subject: Re: [ANN] Leiningen 2.0.0-preview5 released

Exactly the same thing happened to me! so I went in and changed manually
the preview number in the lein script to get 5 again...However preview5
still ahs the JLine class issue at which point I gave up...I've got a
local build of preview5 (from borkerdude on github) which works just
fine so I'll stick to that for the moment!

Jim

On 02/06/12 19:03, nick rothwell wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »