Commit graph

439 commits

Author SHA1 Message Date
Elana Hashman
de0708af3b Avoid "You have $CLASSPATH set" errors on upgrade
When we exec the newly downloaded leiningen script, it will replace our
current shell process and recalculate the classpath for us, so we can
safely unset this here. This avoids the new script throwing warnings
about the CLASSPATH variable being set (from the previous run) on
upgrades.
2017-11-26 23:59:48 -05:00
Phil Hagelberg
4169f26ca8 Bump dev version up to 2.8.2-SNAPSHOT. 2017-10-27 14:46:11 -07:00
Phil Hagelberg
2261906d9d Release 2.8.1 2017-10-27 14:35:27 -07:00
Phil Hagelberg
91afe60b11 Reintroduce cleanup of trampoline files after we've used them. 2017-10-27 14:32:14 -07:00
Phil Hagelberg
c837391260 Handle the existence of TRAMPOLINE_FILE consistently.
We can't assume having that set means we're trampolining.

Fixes #2342.
2017-10-27 12:21:04 -07:00
Ari Paasonen
a58ce34653 Fix typo: coundn't -> couldn't 2017-10-23 14:56:18 +03:00
Phil Hagelberg
d42f947f09 Bump up to the next snapshot.
[skip ci]
2017-10-17 17:41:41 -07:00
Phil Hagelberg
04b88e57c4 Release 2.8.0 2017-10-17 17:33:25 -07:00
Phil Hagelberg
f50add4f90 Add LEIN_USE_BOOTCLASSPATH.
Telling people to use LEIN_JVM_OPTS for this is not great, because a
given setting would only work with a single version of Leiningen.

[skip ci]
2017-10-17 10:14:23 -07:00
Ghadi Shayban
7acd34a3a1 disable bytecode verification
This makes explicit what the effects of the bootclasspath was.
The main speed benefit of the bootclasspath was that it removed the
requirement to verify bytecode, which improves startup.

This should be a net-zero startup performance change.
2017-10-04 13:33:29 -04:00
Ghadi Shayban
175001b57a remove bootclasspath options 2017-10-04 13:33:08 -04:00
Ghadi Shayban
3b49b51677 Revert "Support skipping bootclasspath."
This reverts commit 151fbb256d.
2017-10-04 13:26:21 -04:00
Phil Hagelberg
d5bf55df1c Go back to version 2.8.0-SNAPSHOT.
[skip ci]
2017-09-19 15:33:40 -07:00
Phil Hagelberg
b2c4c5a782 Release 2.8.0-RC1 2017-09-18 15:45:42 -07:00
Phil Hagelberg
267e16ab1f Prepare for 2.8.0-RC1. 2017-09-18 15:43:27 -07:00
Phil Hagelberg
21df60d8fa Warn when $CLASSPATH is set.
Fixes #1883.
2017-05-30 11:13:26 -07:00
Phil Hagelberg
d4bfdf47a9 Remove LEIN_ROOT check.
It seems like it's much less likely for this to happen unintentionally
these days compared to when it was added.
2017-05-29 15:56:24 -07:00
Phil Hagelberg
1c4a435b60 Recommendations from shellcheck.
[skip ci]
2017-04-24 13:49:10 -07:00
Phil Hagelberg
151fbb256d Support skipping bootclasspath. 2017-03-31 15:03:00 -07:00
jeredepp
a74acee119 Minor text fix
fixed typo "coundn't" to "couldn't"
2017-01-11 16:26:49 +01:00
Jean Niklas L'orange
c06bc76959 Back to snapshot 2016-09-22 02:48:48 +02:00
Jean Niklas L'orange
150d98b7ae
Release 2.7.1 2016-09-22 01:04:59 +02:00
Jean Niklas L'orange
8648361392 Revert lein.bat hotfix 2016-08-25 00:43:53 +02:00
Jean Niklas L'orange
2ee664de29
Hotfix lein.bat 2016-08-25 00:42:19 +02:00
Jean Niklas L'orange
309abec275 Back to snapshot 2016-08-24 02:27:09 +02:00
Jean Niklas L'orange
c5d95b7190
Release 2.7.0 2016-08-24 02:18:10 +02:00
Jean Niklas L'orange
6046f1f848 Back to snapshot 2016-02-08 18:36:20 +01:00
Jean Niklas L'orange
f9a464e008
Release 2.6.1 2016-02-08 18:20:33 +01:00
Jean Niklas L'orange
58b8c1658a Back to snapshot 2016-02-05 01:36:14 +01:00
Jean Niklas L'orange
0fe3f86a3c
Release 2.6.0 2016-02-05 01:17:21 +01:00
Jean Niklas L'orange
374557c70a Set LEIN_JAVA_CMD to JAVA_CMD if set
Also don't mess with export options for JAVA_CMD. It's not set in
lein anymore, so it's effectively a noop.
2015-11-10 23:09:05 +01:00
Juergen Hoetzel
ae4f6a87d3 Don't preset JAVA_CMD. Refs #2009
Because on Cygwin JAVA_CMD will be set to an UNIX path. This will result
in a "File not found" exception when the native Leiningen JAVA process
will execute JAVA_CMD.
2015-11-10 00:18:10 +01:00
Pavel Prokopenko
6379f6dad9 show a better error message when java is not found in PATH 2015-10-24 00:19:04 +03:00
Jean Niklas L'orange
87c7e07da9 Back to snapshot 2015-09-22 00:37:56 +02:00
Jean Niklas L'orange
574aabb9d4 Release 2.5.3 2015-09-21 23:23:51 +02:00
Brett N. DiFrischia
80ff1f29a4 Allow check for root user to process correctly on Solaris. 2015-08-14 11:27:36 -05:00
Pietro F. Menna
d55c34c712 Updated old reference to hacking section of README to "Bootstrapping" from CONTRIBUTING.md from lein script
fixes #1950
2015-08-11 23:33:32 -03:00
Jean Niklas L'orange
35aef5832b Back to snapshot. 2015-08-09 15:58:37 +02:00
Jean Niklas L'orange
fe48537e7d Release 2.5.2 2015-08-09 15:28:06 +02:00
Jean Niklas L'orange
aad0e7509d Use $() over ``. 2015-06-23 01:47:36 +02:00
Jean Niklas L'orange
704b89a064 Quote those single-arguments properly. 2015-06-23 01:37:34 +02:00
Marek Kubica
05a1c90cae Display error message and error out only when using fast trampoline 2015-06-14 22:56:36 +02:00
Marek Kubica
dfc57b8d35 Use recommended way of detecting command in $PATH
See https://stackoverflow.com/a/677212 for explanation.
2015-06-14 13:00:08 +02:00
Marek Kubica
ea6b258660 Check for other SHA1 implementations in $PATH 2015-06-13 15:46:27 +02:00
Pavan Kumar Sunkara
b1f48145ec Give priority to global leinrc file 2015-04-02 20:15:55 +05:30
Pavan Kumar Sunkara
0cee4b43fa Add /etc/leinrc to lein script 2015-04-02 03:47:42 +05:30
Phil Hagelberg
7aef5c3cfc Bump version to 2.5.2-SNAPSHOT.
[ci skip]
2015-01-09 09:55:40 -08:00
Phil Hagelberg
b630fa37b8 Release 2.5.1 2015-01-09 09:47:16 -08:00
Phil Hagelberg
f48846ff3c Github is being dumb and disallowing .jar uploads.
"Unfortunately, we don't support that file type. Try zipping it."

It's already a zip file, genius.
2015-01-09 09:43:34 -08:00
James Bence
7fb710c8a6 Avoid setting SCRIPT to empty string 2014-09-24 09:50:47 -07:00