Commit graph

594 commits

Author SHA1 Message Date
Phil Hagelberg
1c4a435b60 Recommendations from shellcheck.
[skip ci]
2017-04-24 13:49:10 -07:00
Phil Hagelberg
4db173d8e9 Port some fixes from bin/lein to bin/lein-pkg. 2017-04-05 11:38:34 -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
Phil Hagelberg
4874c7bf0f Add a lot of `s'es. 2017-01-09 13:47:30 -08: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
cfa80b728f Initial lein-sdkman, ref #2204 2016-09-22 00:31:38 +02:00
Jean Niklas L'orange
0c4d6f3fd7 Update lein-pkg root checking 2016-09-21 23:49:56 +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
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
38a9ffb09d Ensure java 1.6 is used for releases 2016-08-24 02:27:39 +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
82cd62296d Update NEWS.md 2016-08-24 01:57:50 +02:00
Jean Niklas L'orange
792a260383 Fix small ps snags, ref #2174 2016-08-24 00:43:43 +02:00
Brian Lalonde
e80dff815b Run PowerShell without a profile/execution policy
No $Profile is needed or desired, and the default execution policy is too restrictive.
2016-07-16 12:14:09 -07:00
Brian Lalonde
9ae74a5ed3 Fix proxy issue. 2016-07-16 10:02:49 -07: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
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