Jean Niklas L'orange
01fc44acdd
Merge pull request #2026 from winks/leiningen-1865
...
Reset ERRORLEVEL and RC in lein.bat
2016-01-05 19:15:03 +01:00
Jean Niklas L'orange
054a77af6c
Merge pull request #2047 from TrangPham/lein_pkg_opts
...
Updating lein-pkg jvm opts to match lein
2015-12-20 00:31:09 +01:00
Thu Trang Pham
49651592ad
Updating lein-pkg jvm opts to match lein
2015-12-19 18:01:17 -05:00
Thu Trang Pham
3335c37ddc
Adding platform independant sha to lien-pkg
2015-12-18 20:22:56 -08:00
Florian Anderiasch
e2c257552f
Reset ERRORLEVEL and RC in lein.bat
...
Fixed #1865
For reference:
http://blogs.msdn.com/b/oldnewthing/archive/2008/09/26/8965755.aspx
2015-11-15 20:33:12 +01:00
Jean Niklas L'orange
98379a9c85
Merge pull request #2024 into master
2015-11-10 23:09:08 +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
Matthias Gaertner
ce47c9b913
2.5.2-SNAPSHOT doesn't build on Windows 7 with Java 8 #1899
...
Checked upgrade command. Condition was wrong and self-modifying batch code
is just ugly.
Testing:
- Remove 2.5.3 JAR file. This will be re-loaded by calling self-install
on the loaded batch file.
- Execute "bin\lein.bat upgrade 2.5.3".
- The batch file will be reverted to the 2.5.3 state and JAR file loaded.
2015-11-09 01:54:30 +01:00
Matthias Gaertner
3b4079f0e1
2.5.2-SNAPSHOT doesn't build on Windows 7 with Java 8 #1899
...
Checked on Windows 7 and Windows 8, with Java Oracle 1.8.0_65.
Improved error detection, especially for downloads. Script
returns non-zero exit code on problems now.
Updated wget link. The original URL does not work any longer.
Supplied a known clean download location, including VirusTotal link.
The slightly re-written structure makes this code work with TCC, too,
so this commit should solve #2019 , too.
Quoting has been amended so the code works on Leiningen folders that
contain space characters.
2015-11-09 00:28:44 +01:00
Matthias Gaertner
927b9bf26c
2.5.2-SNAPSHOT doesn't build on Windows 7 with Java 8 #1899
2015-11-05 23:54:58 +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
d701275464
Quote components in ()s in lein.bat
...
Thanks for modulus @ freenode/#leiningen for the fix.
2015-09-26 16:36:19 +02: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
Jean Niklas L'orange
37e9c8cfbf
Merge pull request #1830 from winks/issue-1420
...
Fixes #1420
2015-09-20 14:44:38 +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
6c7de27414
Ensure release can be done from clean work tree
2015-08-09 15:25:17 +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
Martin Hallén
d49399853b
Fixed unnecessary variable
2015-06-19 13:41:11 +02:00
Martin Hallén
ed15d55885
Escape variable so script does not break on space in username
2015-06-19 08:43:57 +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
ea16f62875
Add /etc/leinrc to lein-pkg script
2015-04-02 03:48:17 +05:30
Pavan Kumar Sunkara
0cee4b43fa
Add /etc/leinrc to lein script
2015-04-02 03:47:42 +05:30
Jean Niklas L'orange
a920ddbb77
Fix some typos, warn about lack of security.
...
[ci skip]
2015-02-12 20:56:56 +01:00
Frederick Giasson
9b60ea0332
Second iteration to get the "failed to download" behavior right.
2015-02-12 11:56:49 -05:00
Frederick Giasson
af55842853
Adding a better description of what may be the issue with a failed download. Also adding some possible fixes options.
2015-02-11 14:47:04 -05:00
Frederick Giasson
5addbbf863
Reorder the possible HTTP proxies to use to download Leiningen from GitHub. The new sequence is: PowerShell, Curl and then Wget.
...
Fixes issue #1800 as experienced by multiple users.
2015-02-11 14:02:59 -05:00
Florian Anderiasch
8a1078b030
Fixes #1420
...
Under the assumption that .lein-classpath contains only one line.
2015-02-10 23:33:07 +01:00
Martin Ceronio
fa4c542970
Fixes technomancy/leiningen/#1308
...
Change the powershell option to use the default system proxy in Windows using solution from here: http://stackoverflow.com/a/25082595/274354
2015-02-05 12:11:45 +02:00
Phil Hagelberg
7aef5c3cfc
Bump version to 2.5.2-SNAPSHOT.
...
[ci skip]
2015-01-09 09:55:40 -08:00
Phil Hagelberg
27e5e20902
Update self-install URL in bat file too.
2015-01-09 09:51:32 -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
Phil Hagelberg
d63b2fa40f
Don't skip the certificate checking in lein.bat, geeeeeeeeez.
...
Fixes #1733 .
2015-01-07 15:52:06 -08:00
Sindunata Sudarmaji
fa0556d6ed
Fix broken lein self-install
2014-09-29 22:51:36 +09:00
James Bence
7fb710c8a6
Avoid setting SCRIPT to empty string
2014-09-24 09:50:47 -07:00
Jean Niklas L'orange
9cbb7df75a
Back to snapshot.
2014-09-22 13:19:10 +02:00
Phil Hagelberg
c78a8110a8
Release 2.5.0
2014-09-14 21:26:56 -07:00
Jean Niklas L'orange
c362ae4bc2
Merge pull request #1691 from technomancy/fix-erroneous-shell-command-form
...
Fix negation in shell-command form.
2014-09-14 01:29:15 +02:00
Jean Niklas L'orange
fb33a9506e
Set env var if .lein-fast-trampoline exists.
...
Makes it possible to just use LEIN_FAST_TRAMPOLINE in the Lein process,
to check if the user is using fast trampolining. Strictly speaking, one
previously had to check whether LEIN_FAST_TRAMPOLINE was set or check
that .lein-fast-trampoline existed inside Lein.
2014-09-14 01:22:31 +02:00
Phil Hagelberg
9def660852
Bump to 2.5.0-SNAPSHOT.
2014-09-09 16:26:47 -07:00
Phil Hagelberg
df3f67269f
Merge pull request #1676 from timmc/alt-jvm-encoding
...
Allow $LEIN_JVM_OPTS to override -Dfile.encoding
2014-09-08 09:51:06 -07:00
Tim McCormack
74ec14fb20
Move $LEIN_JVM_OPTS farther down (override all but cp and lein*)
2014-09-08 09:07:40 -04:00
Phil Hagelberg
0184e5c84d
Update bin/release with more checks.
...
[ci skip]
2014-09-06 15:14:57 -07:00
Jean Niklas L'orange
1b9f5d0705
Merge pull request #1599 from samuelbosch/master
...
use call to run wget and curl
2014-09-06 15:58:40 +02:00
Tim McCormack
b5ded1a524
Allow LEIN_JVM_OPTS to override -Dfile.encoding.
...
This allows the JVM to be run with an encoding other than UTF-8; my
own use-case for this is running tests to check if I'm forgetting to
specify UTF-8 in any character encoding/decoding calls.
2014-09-05 09:49:49 -04:00
Jean Niklas L'orange
be909c8f45
Check if mktemp is available before using it.
...
Fixes #1514 .
2014-08-18 20:52:57 +02:00
Jean Niklas L'orange
651370487d
Fix grammar and print exit code from http client.
2014-08-11 09:59:04 +02:00
Phil Hagelberg
26dd8c2074
That was terrible advice.
2014-08-09 22:17:31 -07:00
Phil Hagelberg
6d79dcfedc
Bump version number up to 2.4.4-SNAPSHOT.
2014-08-05 16:21:34 -07:00
Phil Hagelberg
983847276d
Release 2.4.3
2014-08-05 16:03:18 -07:00
Phil Hagelberg
75279fed98
News for 2.4.3.
2014-08-05 15:58:57 -07:00
Hugo Duncan
eaffda3082
Add LEIN_NO_USER_PROFILES to avoid user profiles
...
When set, this environment var will prevent user level profiles from
loading.
2014-08-01 11:18:43 -04:00
Samuel
b570a51273
use call to run wget and curl
...
When wget or curl are wrapped in a .bat or .cmd file as is done by chocolatey then you have to run with call. Using call to run regular executables works as well. This prevents the error "The system cannot find the batch label specified" from appearing.
2014-07-15 13:29:21 +02:00
Jean Niklas L'orange
fbe9bd0ce4
Update lein-pkg version number.
2014-06-26 12:36:43 +02:00
Phil Hagelberg
8001daf1ab
Add issues.clj for programmatic issue summary.
2014-06-17 13:20:45 -07:00
Phil Hagelberg
e738fec65c
Bump version to 2.4.3-SNAPSHOT.
2014-06-15 17:24:48 -07:00
Phil Hagelberg
f73a9998ff
Release 2.4.2
2014-06-15 17:14:10 -07:00
Phil Hagelberg
10d3b098ed
Bump version to 2.4.2-SNAPSHOT.
2014-06-15 17:03:58 -07:00
Phil Hagelberg
3f9ecd6cb7
Release 2.4.1
2014-06-15 16:48:22 -07:00
Phil Hagelberg
e2a9c54326
Update NEWS for 2.4.1.
2014-06-15 14:12:55 -07:00
Phil Hagelberg
59cca9158e
Fix uberjar download link in lein.bat.
2014-06-10 20:33:41 -07:00
Phil Hagelberg
e5a994ab6e
Bump to 2.4.1-SNAPSHOT.
2014-06-09 16:33:24 -07:00
Phil Hagelberg
dfaa2dfe43
Release 2.4.0
2014-06-09 16:17:48 -07:00
Phil Hagelberg
52f6ec9b4c
Use GitHub releases.
2014-06-09 16:13:23 -07:00
Phil Hagelberg
cba4fa6fca
This is a no-op for the vast majority of users.
...
Those still on 32-bit machines are better served by tiered compilation
on the server JVM.
2014-06-08 08:10:06 -07:00
Max Prokopiev
49dd9536c8
Lower read time out for wagon-http
...
Fixes #1096
2014-01-24 22:00:05 +04:00
Phil Hagelberg
19c49bd2ab
Don't use /tmp when LEIN_FAST_TRAMPOLINE is enabled.
...
Fixes #1396 .
2014-01-20 17:36:19 -08:00
Ben Booth
b8d5ec1938
fix DRIP_INIT not being set when LEIN_JAVA_CMD is drip
2013-12-19 18:19:23 -08:00
Phil Hagelberg
1ce5c2f78b
Merge pull request #1383 from dannypurcell/msys-classpath-fix
...
Fixes classpath issue under msys
2013-12-02 18:55:06 -08:00
Phil Hagelberg
18c53cedf6
Block upgrades in bin/lein-pkg.
...
Fixes #1377 .
2013-12-01 13:47:00 -08:00
Danny Purcell
bd0ff6dd8c
Fixes classpath issue under msys
2013-11-30 10:04:10 -06:00
Martin Forsgren
e4807db069
Print "already up-to-date" on upgrade if that's the case.
2013-11-20 00:25:06 +01:00
Phil Hagelberg
12b97749bd
Bump version number back to a snapshot.
2013-11-19 10:05:36 -08:00
Phil Hagelberg
77d659e6ee
Release 2.3.4
2013-11-18 21:59:05 -08:00
Phil Hagelberg
85d3549c14
Bump version up to 2.3.4-SNAPSHOT.
2013-10-09 09:06:18 -07:00
Phil Hagelberg
6a6cecee0f
Release 2.3.3
2013-10-05 15:40:59 -07:00
Shantanu Kumar
c1b21360b9
fix #1309 - lein.bat now honors HTTP_CLIENT env var
2013-08-25 02:34:43 +05:30
Phil Hagelberg
0a5c616bbd
Bump version up to 2.3.3-SNAPSHOT.
2013-08-20 17:42:27 -07:00
Chas Emerick
7d7426b143
prepare for 2.3.2 release
2013-08-20 16:55:17 -04:00
Chas Emerick
6045c19d17
use ~/.s3cmd.lein.gpg for upload credentials
2013-08-20 16:54:21 -04:00
Shantanu Kumar
3bf58be3cb
fix #1150 https://github.com/technomancy/leiningen/issues/1150
2013-08-17 03:21:39 +05:30
Shantanu Kumar
c17d75c30b
fix https://github.com/technomancy/leiningen/issues/1292
2013-08-15 18:13:44 +05:30
Phil Hagelberg
e624a768d3
Release 2.3.1
2013-08-13 04:28:39 +00:00
Phil Hagelberg
d661b1846a
Typo.
...
[ci skip]
2013-08-11 19:57:33 -07:00
Phil Hagelberg
b39adc9e8d
Support downgrade as alias to upgrade.
2013-08-11 09:14:51 -07:00
Steven Harms
27e65f8b0b
Update lein to detect an empty HTTP_CLIENT variable prior to attempting to download
2013-08-09 20:58:39 -04:00
Phil Hagelberg
9d93cdd19e
Automate upload of uberjar and signature in bin/release.
2013-08-09 10:24:31 -07:00
Jean Niklas L'orange
288ca9aa6f
2.3.0-SNAPSHOT -> 2.4.0-SNAPSHOT
2013-08-09 14:33:31 +02:00
Sam Aaron
8263dfca40
Move down_load_failed_message before all usages
2013-08-09 08:30:47 +01:00
Phil Hagelberg
ac33004a92
Bump back to snapshot.
2013-08-08 20:16:54 -07:00
Phil Hagelberg
aeaca0cbd7
Release 2.3.0
2013-08-08 20:10:42 -07:00