Commit graph

3552 commits

Author SHA1 Message Date
Phil Hagelberg
2e18103752 Emit success message after install.
Normally I prefer to remain silent if everything succeeds, but the
fact that install calls pom and jar, which are not silent, means it's
confusing if you don't see anything for install itself.
2014-04-22 15:11:22 -07:00
Phil Hagelberg
88181a4bbf Use dep-key for distinct call in pom task.
group/artifact version tuple isn't enough to de-dupe correctly.

Fixes #1494.
2014-04-22 15:03:34 -07:00
Phil Hagelberg
fed957c72f Clarify a few points of documentation. Fixes #1475.
[ci skip]
2014-04-22 14:44:46 -07:00
Jean Niklas L'orange
b8bc236fa4 Merge pull request #1499 from cddr/ignore-nrepl-port
Ignore .nrepl-port at project roots
2014-04-19 22:50:43 +02:00
Andy Chambers
aa789d8282 Fixes #826; Redirect info messages to *err*
I decided to leave some messages alone. Specifically

 * messages which look like stacktraces
 * messages which instruct the user to take some sort of action

Arguably the stacktraces should go to stderr but I thought I'd leave
those open for discussion. Any others that remain represent errors on
my part.
2014-04-19 15:54:52 -04:00
Andy Chambers
4de11f151d Be explicit about which .nrepl-port files to ignore 2014-04-19 14:15:24 -04:00
Andy Chambers
4d55c838a8 Ignore .nrepl-port wherever it is in the source tree 2014-04-19 11:53:53 -04:00
Phil Hagelberg
7cc9d61632 Merge pull request #1497 from jcrossley3/dedupe-group
Include group in dedupe key to fix #1480
2014-04-15 16:34:06 -07:00
Jim Crossley
9d8b214ccc Include group in dedupe key to fix #1480 2014-04-15 17:29:14 -04:00
Hugo Duncan
5e26a1639f Flush output of exception error messages
When running on OS X, an exception thrown in a plugin was resulting in
no output from lein.  Adding the flush ensures the output occurs before
the process exits.
2014-04-14 10:07:57 -04:00
Jean Niklas L'orange
579499b5e7 Depend on latest Pomegranate, fixes #1447. 2014-04-08 00:23:27 +02:00
Phil Hagelberg
78fe3fe19a Merge pull request #1493 from tobias/wagon-factory-docs
Document various ways to register wagon factories [fixes #1483]
2014-04-07 08:30:24 -07:00
Toby Crawley
0644eab9c4 Document various ways to register wagon factories [fixes #1483] 2014-04-07 09:58:25 -04:00
Phil Hagelberg
5c6db48efa Lock on *out* when printing during dependency fetches. 2014-04-03 20:37:20 -07:00
Phil Hagelberg
ed67d8093b Make Leiningen (more) Eastwood-friendly.
Still get a couple warnings... We don't really care about the
unlimited-use warnings from clojure.test, and there are a couple
warnings we get stemming from bugs/limitations in Eastwood.
2014-04-03 20:18:28 -07:00
Phil Hagelberg
b9fc0d24c5 Merge pull request #1489 from CraZySacX/group-name
Add group-name to templates.clj
2014-04-03 13:27:48 -07:00
Jason Ozias
0a9c65266a added group-name to templates.clj 2014-04-03 15:00:45 -04:00
Phil Hagelberg
866e5173ab Merge pull request #1486 from mpblair/force-new
Add support for option to force execution of lein new when target directory already exists
2014-04-02 18:42:27 -07:00
Phil Hagelberg
785347c21e Merge remote-tracking branch 'jcrossley3/expand-profiles'
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-04-02 16:24:24 -07:00
Eunmin
12e4b460ad Correcting errors that used to be :sources-paths in plugin document. 2014-04-02 19:54:32 +09:00
Matthew Blair
65c3dd5766 Create new tests for use of --force option 2014-04-01 23:25:00 -04:00
Matthew Blair
f7c70fa2f0 Fix executable test - add force option since test is being run in system temp directory 2014-04-01 23:24:42 -04:00
Matthew Blair
4eb7781135 Update help text for -new- task 2014-04-01 22:55:47 -04:00
Matthew Blair
ae23f809ed Handle :force option in ->files function 2014-04-01 22:49:27 -04:00
Matthew Blair
6ae9793181 Fix bug where use of :to-dir option with an existing directory does not generate an error 2014-04-01 22:33:25 -04:00
Matthew Blair
c8ed55f04e Minor formatting fix 2014-04-01 20:21:33 -04:00
Jean Niklas L'orange
ebe5bf35d2 Reword error message from lein upgrade. 2014-03-31 13:28:55 +02:00
Jean Niklas L'orange
f6591bd660 Print error message when upgrade is unavailable.
Closes #1481.
2014-03-31 13:25:15 +02:00
Phil Hagelberg
26bc63afa4 Add workaround for #1480. 2014-03-29 21:22:40 -07:00
Jim Crossley
ca32d3e28a Expand profiles before [un]merging them, re #1421
This mainly addresses the fact that the following two commands generate
different output:
  $ lein pom
  $ lein with-profile default pom
I believe the problem also affects uberjar, since both tasks unmerge
:default prior to doing their thing.

Version 2.3.4 generates the same output for the above two commands,
because it doesn't expand profiles in the with-profile task, as master
does. So this change attempts to only deal with fully-expanded profiles
when [un]merging them.
2014-03-28 22:05:58 -04:00
Phil Hagelberg
c6a49ea289 Merge pull request #1478 from MichaelBlume/use8
run travis tests with oraclejdk8
2014-03-28 15:58:09 -07:00
Mike Blume
f9c6bb444b run travis tests with oraclejdk8
for now, allow failure, since we're allowing failure for oraclejdk7

I see no indication that travis provides openjdk8, but I may be wrong
2014-03-28 15:35:21 -07:00
Colin Jones
5e048945e7 Allow searching on multiple fields at once
Also allows searching by version.

Examples:

$ lein search "id:clojure group:org.clojure version:1.6"
$ lein search "id:postgres version:7.4"
$ lein search "id:postgres version:'7.4'"
2014-03-27 09:42:26 -05:00
Phil Hagelberg
199527588a Document :clean-non-project-classes and reword help output.
[ci skip]
2014-03-26 13:33:12 -07:00
Jean Niklas L'orange
a296ff8918 Bump all Clojure 1.5.1 deps to 1.6.0. 2014-03-26 13:43:38 +01:00
Jean Niklas L'orange
84af9246cf Do not depend on map ordering in tests. 2014-03-26 13:43:38 +01:00
Jean Niklas L'orange
90bf2d47cd Consistent comment style. 2014-03-24 20:24:31 +01:00
Phil Hagelberg
110e2a14e9 Add -XX:-OmitStackTraceInFastThrow to default JVM opts.
Addresses #1025.
2014-03-21 09:55:33 -07:00
Phil Hagelberg
6cdc043e9a Adapt template template so that the #1409 fix doesn't break new templates. 2014-03-17 15:30:40 -07:00
Phil Hagelberg
ae91367b78 Tell Bultitude not to ignore unreadable namespaces in test/check.
Fixes #1409.
2014-03-17 15:21:19 -07:00
Phil Hagelberg
e8da286ea7 Failing test for #1409. 2014-03-17 14:25:44 -07:00
Phil Hagelberg
a64a47b8b8 Clarify credential prompt message in deploy task. Fixes #1435. 2014-03-17 10:48:59 -07:00
Phil Hagelberg
a6bebc9459 Merge pull request #1470 from fredericksgary/issue-1469
lein run: don't catch app errors as require errors
2014-03-13 20:06:17 -07:00
Gary Fredericks
b19b305d58 Slightly more homogeneous test project names 2014-03-13 20:24:42 -05:00
Gary Fredericks
cc886d56a3 lein run: don't catch app errors as require errors
closes #1469

`lein run` currently has some special error handling around
FileNotFoundException which helps it decide what exactly it should
do. Unfortunately if the actual running of the given main function
itself throws a FileNotFoundException this is currently caught by
Leiningen and assumed to be a require error.

The simple solution is to run the main method outside of that error
handling block.

Regression test provided.
2014-03-13 20:17:59 -05:00
Phil Hagelberg
87edf1c15e Merge pull request #1466 from mpblair/search-progress
Implement search download progress reporting
2014-03-13 14:16:17 -07:00
Matthew Blair
a45d184763 Yank gen-class definition from extstream.clj into search.clj; remove extstream.clj 2014-03-12 21:23:21 -04:00
Matthew Blair
7dc897888f Finishing touches 2014-03-12 19:04:03 -04:00
Matthew Blair
f2a14bae38 Subclass java.io.InputStream via gen-class. Does not print progress yet, but does correctly download all search indices 2014-03-11 20:33:46 -04:00
Phil Hagelberg
6056105176 Merge pull request #1468 from fredericksgary/skip-default-init
Document reply's :skip-default-init option
2014-03-10 20:39:35 -07:00