AtKaaZ
9750e0ebb9
Handle folders with spaces in their names (under windows)
...
Show error message when parent folders(LEIN_ROOT) contain semicolon in
their names and require that .lein-bootstrap be recreated in this case.
Semicolon in files/folder names is not supported even though windows
allows such names.
2013-04-30 15:51:42 +03:00
AtKaaZ
2510ab24f0
get \leiningen-core\.lein-bootstrap paths properly in windows
...
else getting:
Error: Could not find or load main class clojure.main
this now allows compiling leiningen on windows successfuly
2013-04-29 23:54:15 +03:00
AtKaaZ
4bf8dcbd8d
bootstrap typo in lein.bat
2013-04-29 22:38:41 +03:00
Colin Jones
e6529bc5da
Allow bootstrap from batch file
2013-04-14 21:00:08 -05:00
Phil Hagelberg
7ef8170aea
Back to 2.2.0-SNAPSHOT.
2013-04-12 10:16:37 -07:00
Phil Hagelberg
eccd23d062
Release 2.1.3
2013-04-12 10:02:18 -07:00
Michael Klishin
81fb062a95
Merge pull request #1118 from djpowell/quotes-around-download
...
Allow for spaces in download locations
2013-03-31 08:36:30 -07:00
David Powell
bd9e2e2550
Allow for spaces in download locations
2013-03-31 16:13:27 +01:00
Phil Hagelberg
da76893c23
Back to 2.2.0-SNAPSHOT.
2013-03-28 15:38:43 -07:00
Phil Hagelberg
10d7d1faa3
Release 2.1.2
2013-03-28 14:46:32 -07:00
Jean Niklas L'orange
6a70dc3236
Update messages for bootstrapping lein in scripts.
...
ref #1089 .
2013-03-23 14:54:59 +01:00
Phil Hagelberg
3edc5c3d44
Bump version back to 2.2.0-SNAPSHOT
2013-03-21 15:41:14 -07:00
Phil Hagelberg
bc84d8d166
Release 2.1.1
2013-03-21 15:32:09 -07:00
Phil Hagelberg
305bfc1410
Bump version numbers to 2.2.0-SNAPSHOT.
...
[ci skip]
2013-03-20 12:49:31 -07:00
Phil Hagelberg
904f2c91a4
Release 2.1.0
2013-03-19 19:45:21 -07:00
david.powell
4ef01fcaa9
always process trampolines, even when used in aliases and higher-order tasks
...
remove unused leiningen.trampoline-file system property
2013-03-18 16:02:24 +00:00
david.powell
f3e71aa03f
ensure only one set of quotes around java command in trampolines
2013-03-18 15:16:03 +00:00
David Powell
f3059d4d25
Simplify handling of LEIN_JAVA_CMD to support parens in paths, such as with "Program Files (x86)"
2013-03-15 20:58:56 +00:00
David Powell
8df3d12ef8
Add back wget and curl support as a fallback for users without powershell.
2013-03-15 20:58:46 +00:00
Phil Hagelberg
66ed4818ec
Replace curl/wget usage in lein.bat with powershell.
...
Addresses #1007 .
2013-02-26 10:38:37 -08:00
Gabriel Horner
0a7b974fdc
point to correct docs for a local lein checkout
2013-01-29 22:15:33 -05:00
Phil Hagelberg
be4ec8c81e
Bump to 2.1.0-SNAPSHOT.
2013-01-19 20:39:17 -08:00
Phil Hagelberg
0cd13d8cdb
Release 2.0.0.
2013-01-19 20:07:46 -08:00
Jean Niklas L'orange
e5511fe516
Back to 2.0.0-SNAPSHOT.
2013-01-13 10:38:54 +01:00
Phil Hagelberg
99f0ed7069
Release 2.0.0-RC2
2013-01-12 17:03:18 -08:00
Phil Hagelberg
eb15a82e12
Back to 2.0.0-SNAPSHOT.
2013-01-10 16:59:36 -08:00
Phil Hagelberg
1e309c1a52
Release 2.0.0-RC1
2013-01-10 16:45:09 -08:00
Phil Hagelberg
871b1c0b61
Move downloads to S3 bucket. Fixes #885 .
2013-01-10 11:57:24 -08:00
Jean Niklas L'orange
0bb1cc42bf
Avoid crash in lein.bat when path contain spaces. Fixes #907 .
2013-01-07 21:00:23 +01:00
Shantanu Kumar
bd781857c2
omit redundant :no_upgrde snippet
2012-11-21 22:57:43 +05:30
Shantanu Kumar
214e464cec
add upgrade support to lein.bat master
2012-11-21 22:28:01 +05:30
AtKaaZ
5a57fecf8a
make trampoline work on windows
...
applied the same fix that preview branch had
ie. passing the trampoline file like this:
-Dleiningen.trampoline-file="%TRAMPOLINE_FILE%" ^
2012-10-26 10:54:53 +02:00
AtKaaZ
f95a9ffba8
bring back lein.bat from LF to CRLF
2012-10-26 02:11:14 +02:00
AtKaaZ
6e237a8a64
fix for previous commit to allow spaces in folder names
...
ie. the passed path to -Dclojure.compile.path= should be inside
double quotes
2012-10-26 02:08:05 +02:00
AtKaaZ
898aefb89c
Pass default clojure.compile.path just like the bash script does
...
should fix cases where uses of lein.bat
would cause the use of /classes/ folder instead of /target/classes/
which resulted in some classes not being found
ie. when compiling leiningen project from source
2012-10-26 01:43:15 +02:00
basicsensei
a1bc1f56cc
move setlocal first to prevent leaking it to parent shell in win7/xp
...
However on win7 though (but not on winxp) all set variables inside
script will be leaked if the script fails within another setlocal ie.
set JAVA_CMD="ja"va"
lein
set
Will show LEIN_HOME, LEIN_JAR and ORIGINAL_PWD remained set.
The following .bat will prove the point:
@echo on
setLocal EnableExtensions EnableDelayedExpansion
set xxx="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
rem comment the following line to prevent xxx to leak into parent shell:
setlocal
rem the below will make script fail(just type "set" to see it leaked):
if x == '
echo not reached!
2012-09-13 09:48:29 +02:00
basicsensei
3b5feb5393
use LEIN_JAVA_CMD in lein.bat just as in the bash script
...
just as @technomancy said in #774
if LEIN_JAVA_CMD is not set it will fall back to JAVA_CMD which in turn
if it's not set it will fall back to just "java" (without dbl.quotes)
2012-09-13 02:48:26 +02:00
basicsensei
1ac8eac0cc
fix for when JAVA_CMD is set to path containing double quotes
...
addresses #774
script will still fail if it contains characters like >, <, |, & or even
parentheses or an even number of double quotes
ie. this will work:
set JAVA_CMD="c:\program"" f""iles\java\jdk1."7.0_0"5\bin\java.exe"
lein javac
2012-09-11 15:47:22 +02:00
Justin Balthrop
30a6643fcd
Fix trampoline file to work with Drip
...
Read the TRAMPOLINE_FILE environment variable instead of putting it
in a system property. Drip looks up pre-spun JVMs using a hash of the
command-line arguments, so putting the trampoline file in a system
property causes it to start a new spare JVM for every lein invocation.
2012-08-29 15:36:01 -07:00
Adirelle
7c927202b9
Have lein.bat use local .lein-classpath.
...
This should fix issue #718 .
2012-08-26 21:40:21 +03:00
Phil Hagelberg
f633c90164
Back to 2.0.0-SNAPSHOT. Next release will be RC1, for reals.
2012-08-25 18:41:32 -07:00
Phil Hagelberg
3b1924e538
Release 2.0.0-preview10.
2012-08-25 16:49:21 -07:00
Phil Hagelberg
e29418dc58
Bump back to 2.0.0-SNAPSHOT.
2012-08-24 17:26:00 -07:00
Phil Hagelberg
88f00af830
Release 2.0.0-preview9.
2012-08-24 17:02:17 -07:00
Bruce Adams
56e118087b
Download lein.jar to temporary name; rename into place
2012-08-16 17:34:57 -04:00
Phil Hagelberg
fc7e3c7cb9
Back to snapshot.
2012-08-16 13:17:59 -07:00
Phil Hagelberg
ff8ed7f6a8
Release 2.0.0-preview8.
2012-08-16 11:06:45 -07:00
Phil Hagelberg
60702d2ff3
Support larger .lein-classpath in .bat. Fixes #724 .
2012-08-09 09:23:03 -07:00
Phil Hagelberg
36856e4fad
Drop back to 2.0.0-SNAPSHOT, hopefully for the last time.
2012-06-27 16:54:31 -07:00
Phil Hagelberg
811e974174
Release 2.0.0-preview7.
2012-06-27 16:45:13 -07:00
Phil Hagelberg
628e13ef8e
Fix checkout detection logic in lein.bat; fixes #579 .
...
[ci skip]
2012-06-13 18:59:36 -07:00
Phil Hagelberg
1da790ed78
Bump back to 2.0.0-SNAPSHOT.
2012-06-11 18:45:00 -07:00
Phil Hagelberg
14c650c9b0
Release 2.0.0-preview6
2012-06-02 21:07:35 -07:00
Alex Osborne
484151d007
Register certificates before calling get-classpath. Fixes #613
...
We need to do this as get-classpath can itself trigger the downloading
of dependencies. This also ensures leiningen-core/resources is added to
the classpath by the wrapper scripts.
2012-06-02 20:10:17 +10:00
Phil Hagelberg
71781a83f3
Back to 2.0.0-SNAPSHOT.
2012-06-01 10:46:54 -07:00
Phil Hagelberg
5a790ca7c8
Release 2.0.0-preview5.
2012-05-31 21:20:42 -07:00
Michiel Borkent
af1aafda6c
fixed another quote
2012-05-12 10:59:08 +02:00
Michiel Borkent
e2c874dca4
fixed another quote
2012-05-12 10:38:58 +02:00
Phil Hagelberg
93bb6a1e14
Bump back to 2.0.0-SNAPSHOT.
2012-05-11 18:46:25 -07:00
Phil Hagelberg
104726ee71
Release 2.0.0-preview4.
2012-05-11 18:07:07 -07:00
Michiel Borkent
139e1014d5
Fixed some quotes.
2012-05-12 01:15:47 +03:00
Leonel Gayard
ef11cb4480
Improvements in lein.bat.
...
Changed to look for file .lein-classpath only when running from source checkout.
Fixed construction of variable CLASSPATH to avoid unnecessary quotes and semi colons.
Removed option Xbootclasspath from command line.
2012-05-11 14:20:13 -03:00
Leonel Gayard
9af28dfe83
Changed launcher lein.bat to determine whether it's a source checkout by looking for directory 'src'
2012-05-10 10:30:16 -03:00
Mark Baran
b1022fa4b5
Fixed quoting inside generated trampoline command to pass arguments correctly.
2012-05-07 11:45:41 -07:00
Phil Hagelberg
1cbd58179e
Quit checking CLASSPATH in lein.bat.
...
Disclaimer: http://www.buzzize.com/wp-content/gallery/7i_have_no_idea/thumbs/thumbs_i_have_no_idea_01.jpg
2012-05-07 11:25:18 -07:00
Mark Baran
e474ad270f
Fix for trampoline command parsing on Windows.
2012-04-30 15:25:14 -07:00
Andrew Kondratovich
d919f1211f
#541
2012-04-30 10:20:27 +03:00
Phil Hagelberg
55935d01e9
Remove "bundled mode" from bin/lein.
2012-04-12 11:50:11 -07:00
Phil Hagelberg
a95f990227
Release 2.0.0-preview3.
2012-04-12 10:18:32 -07:00
Phil Hagelberg
62a8fc107d
Remove plugin stuff from 1.x out of lein.bat.
2012-04-01 22:34:15 -07:00
Phil Hagelberg
030e41d72e
Remove jline from lein.bat.
2012-04-01 09:17:27 -07:00
Phil Hagelberg
39a6b2c63a
Remove Clojure 1.2 from bootclasspath in lein.bat. Might fix #486 .
2012-03-31 16:09:42 -07:00
Andrew Kondratovich
9afede1820
fixed normal/trampoline statement and arguments
2012-03-23 13:33:59 +03:00
Andrew Kondratovich
f28018a075
fixed lein self-install on windows
2012-03-21 20:32:30 +03:00
Phil Hagelberg
cc711200a4
Move version back to 2.0.0-SNAPSHOT.
2012-03-07 14:24:03 -08:00
Phil Hagelberg
efe16d5dee
Release 2.0.0-preview1.
2012-03-07 12:06:48 -08:00
Phil Hagelberg
532496a1ab
Merge branch '1.x'
...
Conflicts:
.gitignore
README.md
bin/lein
project.clj
src/leiningen/compile.clj
src/leiningen/core.clj
src/leiningen/help.clj
src/leiningen/jar.clj
src/leiningen/repl.clj
test/leiningen/test/deps.clj
test/leiningen/test/help.clj
todo.org
2012-03-04 21:22:20 -08:00
Phil Hagelberg
51ceffdc06
Switch from leiningen.core to leiningen.main.
2011-11-19 20:44:21 -08:00
Matjaz Gregoric
1dd8d145db
Properly escape USERPROFILE in lein.bat.
...
Closes #331 .
2011-11-17 09:05:51 +01:00
Phil Hagelberg
3b02d41e83
Merge branch '1.x'
...
Conflicts:
README.md
bin/lein
bin/lein-pkg
bin/lein.bat
doc/PLUGINS.md
pom.xml
project.clj
src/leiningen/compile.clj
src/leiningen/trampoline.clj
todo.org
2011-11-12 13:46:59 -08:00
Phil Hagelberg
9c94368393
Release 1.6.2.
2011-11-12 11:30:55 -08:00
Matjaz Gregoric
8a3c5de4ad
Implement bundled mode in lein.bat.
2011-11-11 23:45:02 +01:00
Matjaz Gregoric
1942c465f0
Add resources to leiningen's classpath in lein.bat.
2011-08-25 16:14:45 +02:00
Phil Hagelberg
b631a47dd8
Drop version number to 1.6.2-SNAPSHOT.
2011-08-07 14:46:56 -07:00
Matjaz Gregoric
64343d221f
Use LEIN_JVM_OPTS in lein.bat.
2011-07-31 07:44:13 +02:00
Matjaz Gregoric
43eaf9c85d
Use LEIN_JVM_OPTS in lein.bat.
2011-07-31 05:34:25 +02:00
Matjaz Gregoric
75dd8df236
Bump lein.bat to 1.7.0-SNAPSHOT.
2011-07-31 05:33:38 +02:00
Phil Hagelberg
2940df02db
Replace .lein_classpath with .lein-classpath for consistency.
...
Conflicts:
doc/PLUGINS.md
2011-07-21 10:40:09 -07:00
Phil Hagelberg
16020e8320
Replace .lein_classpath with .lein-classpath for consistency.
2011-07-21 10:38:52 -07:00
Phil Hagelberg
b6f43007e2
renamed .classpath to .lein_classpath so that it doesn't conflict with other tools like Eclipse that use .classpath
...
Conflicts:
bin/lein.bat
2011-07-16 14:51:35 -07:00
Phil Hagelberg
f3547d5dd1
Bump version to 2.0.0-SNAPSHOT.
2011-07-16 14:50:16 -07:00
Phil Hagelberg
4b369a3a02
renamed .classpath to .lein_classpath so that it doesn't conflict with other tools like Eclipse that use .classpath
...
Conflicts:
bin/lein.bat
2011-07-16 14:47:29 -07:00
Benny Tsai
25a1b65a98
better fix for lein.bat, as per mtyaka's suggestion
2011-07-10 21:32:39 -06:00
Benny Tsai
98574d966c
fix test for empty CONTEXT_CP
2011-07-10 13:06:38 -06:00
Matjaz Gregoric
a6762b75ca
Remove useless x characters.
2011-07-10 09:37:13 +02:00
Matjaz Gregoric
ea5fbaf859
Implement trampoline command on Windows.
...
Implement trampoline command in lein.bat and
fix bugs when running trampoline under cygwin.
2011-07-10 09:32:29 +02:00
Matjaz Gregoric
42d26253fc
Use a consistent style with goto statements.
2011-07-07 00:08:35 +02:00
Matjaz Gregoric
d474253dc6
Switch from rem commands to double colons for improved readability.
2011-07-07 00:07:09 +02:00
Matjaz Gregoric
56a0906b02
Bump lein.bat to 1.6.1.
2011-07-07 00:03:52 +02:00
Matjaz Gregoric
5cb765686b
Disable user plugin when the same artifact is a dev dependency in lein.bat.
2011-07-07 00:02:28 +02:00