Commit graph

225 commits

Author SHA1 Message Date
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
30b8a7fa5d
Revert PowerShell script dependency on lein.bat
This reverts the lein.bat parts of
4dcf045650.

Conflicts:
	bin/lein.bat
2016-08-25 00:30:37 +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
Brian Lalonde
4dcf045650 Port lein.bat to PowerShell
Adds lein.ps1 as a more maintainable, elegant integration for Windows,
with small changes to lein.bat to support it, and lein.cmd as an example
of a minimalist lein.ps1 launcher.
2016-07-16 10:02:49 -07:00
Jean Niklas L'orange
e4d3c1e56c Move away from quoted LEIN_JAR again. 2016-04-25 20:43:32 +02:00
Jean Niklas L'orange
a39a1dc3c9 Merge pull request #2104 from mastersign/mastersign-patch-path-spaces
Quote CLASSPATH while calling Java Fixes #2086
2016-04-25 20:42:28 +02:00
Tobias Kiertscher
a87e5d83d9 removed inidividual quotes around paths in CLASSPATH
dropped support for semicolons in paths
2016-03-08 15:04:52 +01:00
Leon Mergen
1012ae2dcb Fixed character escaping issue
This fixes the issue where, if there would be a space in the classpath, the -cp variable passed to `java` would be incorrect.
2016-03-05 19:03:25 +01:00
Tobias Kiertscher
45870f4c80 Quote CLASSPATH while calling Java
to support spaces in LEIN_JAR, the later concatenated CLASSPATH must be quoted
2016-03-04 13:53:12 +01:00
Søren Knudsen
724ce76d9d Reduce comment line lengths to 80 columns 2016-02-24 16:43:45 +01:00
Søren Knudsen
77997e6c51 Add comment warning about LEIN_JAR usage 2016-02-22 17:34:41 +01: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
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
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
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
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
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
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
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
Phil Hagelberg
9def660852 Bump to 2.5.0-SNAPSHOT. 2014-09-09 16:26:47 -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
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
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
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
59cca9158e Fix uberjar download link in lein.bat. 2014-06-10 20:33:41 -07:00