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
Phil Hagelberg
1d022be8a0
Merge pull request #779 from davie/master
...
pass local-repo to install
2012-09-12 09:13:23 -07:00
davie moston
9233e13121
pass local-repo to install
2012-09-11 22:52:56 +01:00
Phil Hagelberg
72e6908778
Add a warning under project-specific tasks.
2012-09-11 10:43:28 -07:00
Phil Hagelberg
a1d4a0fb79
Don't use fast trampolines outside a project. Fixes #777 .
2012-09-11 10:30:16 -07:00
Phil Hagelberg
742b89f691
Improve error message when javac is missing. Fixes #774 .
2012-09-11 10:19:04 -07:00
Phil Hagelberg
67e8019382
Mention the Gitorious mirroring and Travis tests.
...
Also warn about using the master branch without a checkout.
[ci skip]
2012-09-11 09:50:16 -07:00
Michael Klishin
1dacc0dd57
Merge pull request #778 from basicsensei/fix774
...
fix for when JAVA_CMD is set to path containing double quotes
2012-09-11 07:14:46 -07: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
d702a234f5
fix truncated doc string for set-profiles
2012-09-10 12:15:47 -07:00
Phil Hagelberg
fead243aac
Print message from with-profile exceptions. Fixes #764 .
2012-09-10 08:21:41 -07:00
Phil Hagelberg
edfa52753e
Wait no, that Postel's law invocation doesn't make sense.
2012-09-10 08:20:22 -07:00
Justin Balthrop
1077aa4fd7
Merge branch 'drip'
2012-09-07 17:43:06 -07:00
Phil Hagelberg
6b2412ad35
Merge pull request #771 from charleslparker/master
...
Clarifying project-specific plugins in doc
2012-09-07 11:02:29 -07:00
Charles Parker
11e6864e1b
Plugin -> Task
2012-09-07 10:56:33 -07:00
Charles Parker
cee3d972e3
Little addition to plugins doc
2012-09-07 09:53:01 -07:00
Phil Hagelberg
5d37b41fbe
Postel's law, I guess?
2012-09-06 10:26:04 -07:00
Phil Hagelberg
d786791b15
Merge pull request #767 from bruceadams/master
...
Include user profile repos for search outside project, issue #762
2012-09-06 10:26:07 -07:00
Nelson Morris
d254dae544
Reduce output for dependency resolution
...
Showing every failed repo lookup is bad for users.
They see the failure and get confused.
Hook up a custom listener that has the following behavior:
1. success -> print out artifact name, size, and repository name
2. failure -> ignore unless it is the last repo, then print out failure
message with artifact name.
Fixes #610 .
2012-09-05 14:59:53 -05:00
Phil Hagelberg
d371e4d914
Merge pull request #766 from deduktion/patch-1
...
Update leiningen-core/src/leiningen/core/project.clj
2012-09-04 10:12:58 -07:00
deduktion
e9386b7362
Update leiningen-core/src/leiningen/core/project.clj
...
use concat instead of merge to merge values, :plugin-repositories and :repositories are lists again
with merge you will end up with a value for :repositories like [[repo {:url url}] ([pluginrepo {:url url}])]
instead of [[repo {:url url}] [pluginrepo {:url url}]]
2012-09-04 19:58:03 +03:00
Bruce Adams
0042fdc2f5
Include user profile repos for search outside project, issue #762
2012-09-02 08:10:42 -04:00
Phil Hagelberg
bfc52edece
Merge pull request #763 from bruceadams/master
...
Use project/defaults for lein search, if needed. Issue #762
2012-09-01 16:17:50 -07:00
Bruce Adams
50cbdf9090
Use project/defaults for lein search, if needed. Issue #762
2012-09-01 18:18:59 -04:00
Justin Balthrop
35a01e64c8
work with drip-stable, et al
2012-08-31 16:17:49 -07:00
Phil Hagelberg
26572bc2bd
Merge pull request #760 from zerokarmaleft/master
...
REPL plugin should clean up after itself
2012-08-31 11:51:12 -07:00
Edward Cho
639c636c2a
REPL task cleans up repl-port file on shutdown
2012-08-31 10:20:49 -05:00
Phil Hagelberg
5400be18a2
Fix pom and deploy tests.
2012-08-30 10:12:58 -07:00
Phil Hagelberg
10edee1d6f
Fix bug where normalize-repos wasn't honoring mapization of entries.
2012-08-30 09:59:03 -07:00
Phil Hagelberg
8c68621ce8
Only apply workaround to Windows bug when not trampolining.
...
Fixes #674 .
2012-08-30 09:14:38 -07:00
Phil Hagelberg
6cb0170e69
Merge pull request #759 from hugoduncan/feature/allow-gpg-executable-configuration
...
Allow override of gpg executable using LEIN_GPG
2012-08-30 07:13:31 -07:00
Hugo Duncan
0457aabdb2
Allow override of gpg executable using LEIN_GPG
...
On some platforms, eg. Mac, it may be more desirable to use an executable other
than 'gpg' for signing and encryption, and it may not be possible to symlink to
'gpg'. This allows the gpg executable used in lein to be specified via LEIN_GPG.
You can use ~/.lein/leinrc or ~/.leinrc to set LEIN_GPG by adding
'export LEIN_GPG=your-gpg' to either of those files.
2012-08-30 09:36:09 -04:00
Phil Hagelberg
22b427aca1
Fix some of the tests.
2012-08-29 19:50:53 -07:00
Phil Hagelberg
a2d2b92d01
Don't insert :deploy-repositories/:plugin-repositories keys without vals.
...
This implementation is awful awful awful; must revisit.
2012-08-29 19:50:53 -07:00
Michael Klishin
e15278e0c1
Merge pull request #758 from rwfowler/propogate-file.encoding
...
Propogates the file.encoding system property to subprocesses
2012-08-29 15:48:47 -07:00
Ryan Fowler
c3bd307da4
Propogates the file.encoding system property to subprocesses
...
On a coworker's Mac, the default file encoding was apparently
MacRoman. The -Dfile.encoding=UTF-8 that's in the lein shell script
wasn't being propogated to subprocesses which caused rage and the
replacement character.
2012-08-29 17:40:40 -05:00
Justin Balthrop
a92fa36028
add DRIP_INIT so lein will be faster when running with decaf
2012-08-29 15:36:06 -07: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
Michael Klishin
04c784c1aa
Clarify leiningen-core installation instructions
...
Currently `leiningen-core` needs to be installed using lein1.
Resolves #757 .
2012-08-30 00:28:37 +04:00
Phil Hagelberg
e9e11309aa
Don't suppress stack traces unless it was an explicit exit thrown.
2012-08-29 09:42:14 -07:00
Phil Hagelberg
a29bc0c248
Echo $LEIN_JAR path in self-install. Fixes #753 .
2012-08-28 12:01:37 -07:00
Phil Hagelberg
b2a50ffe97
Clarify usage of .lein-classpath during plugin development. Fixes #750 .
2012-08-28 11:22:11 -07:00
Phil Hagelberg
b5ea5a0f09
Normalize format of :deploy-repositories and :plugin-repositories too.
...
Fixes #752 .
2012-08-28 09:15:21 -07:00
Colin Jones
1843348d12
Bump reply version for a few issues
...
Duplicate printing on reader errors, moving to the official & now
up-to-date jline, and explicitly using System/out & System/in.
2012-08-27 20:04:10 -05:00
Michael Klishin
2b4b60a797
Merge pull request #749 from Adirelle/patch-1
...
Have lein.bat use local .lein-classpath.
2012-08-26 11:59:49 -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
c08d4aa2dd
Stupid bash typo.
2012-08-25 18:55:02 -07:00
Phil Hagelberg
287150a0e9
News updates
2012-08-25 18:43:27 -07: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