Mark Harrah
dc2aaaf7ac
show full stack trace by default when running in batch mode
2012-06-22 22:11:24 -04:00
Mark Harrah
8908d0e93b
attempt at better error message for linkage errors in plugins. fixes #483
...
Only catches linkage errors during static initialization of the plugin module,
but these are likely to be the most common.
2012-06-16 23:40:52 -04:00
Mark Harrah
bfe78f174c
fix makePom delegation
2012-06-16 23:40:52 -04:00
Mark Harrah
47bef51491
tweak command list for help ordering
2012-06-15 07:57:47 -04:00
Mark Harrah
0578a49e43
make publishArtifact setting for makePom affected by more general setting. fixes #484 .
2012-06-15 07:54:02 -04:00
xuwei-k
3d450059ae
delete pluginDir.exists
2012-06-12 07:15:31 -04:00
kenji yoshida
139e52073e
should not load in old plugins style if it is not directory
2012-06-12 07:15:31 -04:00
Mark Harrah
ba55430727
update session settings display for multi-line changes
2012-06-02 20:54:45 -04:00
Eugene Vigdorchik
d7f7a243e5
Handle the case of missing ~/.sbt/staging directory when asking for a source project dependency.
2012-06-02 19:03:38 -04:00
Mark Harrah
e37145137f
Revert "use the same logic for selecting extra attributes in addSbtPlugin as in pluginProjectId"
...
Doesn't compile.
This reverts commit 8f14df1930 .
2012-05-30 21:48:06 -04:00
Josh Suereth
76d24091fa
Fixes from mark's suggestions.
...
* Puppies may rest easy from the removal of Option.get calls.
* better names for config values
* Added a helper method to avoid any possible code duplication, besides repeated def, val, match and for keywords.
Looking for ways to remove this duplciation ASAP.
* Moved from pattern match to ._1, my most hated member.
2012-05-30 21:42:45 -04:00
Josh Suereth
52307d27a4
Adding ability to override resolvers from launcher. * Added key which pulls the repositories used by the launcher, if the API allows. * Added which configures whether or not should just use . * Added parsing to launcher so java property is used by default for override setting.
2012-05-30 21:42:45 -04:00
Johannes Rudolph
8f14df1930
use the same logic for selecting extra attributes in addSbtPlugin as in pluginProjectId
...
This enables us to use the same plugins.sbt in projects for release and
pre-release versions of sbt.
2012-05-30 20:02:30 -04:00
Mark Harrah
be3d565284
global plugin settings. ref #378
2012-05-30 20:02:24 -04:00
Mark Harrah
e8fcdc07e8
set organization at higher scope for default project
2012-05-27 20:03:08 -04:00
Mark Harrah
cf2402cea4
another fix related to #460
2012-05-23 20:13:52 -04:00
Mark Harrah
9cf2c41fb8
fix exception thrown when tab completing invalid project name
2012-05-21 22:23:44 -04:00
Mark Harrah
a099754109
if defined, use explicit historyPath at ThisBuild or Global project scope
2012-05-21 22:23:44 -04:00
Mark Harrah
4b724e1102
inline tasks, for internal use later
2012-05-19 18:20:20 -04:00
Mark Harrah
5ff33fad3e
Second try at printing message when stack trace suppressed.
...
Problems:
1. Without a message, users don't find 'last'
2. Showing a message for every error clutters output.
This tries to address these issues by:
1. Only showing the message when other feedback has not been provided and
'last' would not usually be helpful. This will require ongoing tweaking.
For now, all commands except 'compile' display the message. 'update' could
omit the message as well, but perhaps knowing about 'last' might be
useful there.
2. Including the exact command to show the output:
last test:compile
and not just
last <task>
3. Highlighting the command in blue for visibility as an experiment.
Review by @ijuma and @retronym, please.
2012-05-19 18:20:19 -04:00
Mark Harrah
f4c0a0d9a6
display relative key strings for incomplete tasks
2012-05-19 18:20:19 -04:00
Mark Harrah
53ee1c5adf
hk2-jar packaging should be handled like a standard jar. fixes #463
2012-05-16 07:34:15 -04:00
Eugene Vigdorchik
c795511e13
Only allow a single task to run at any point in time if parallelExecution in Test is false.
2012-05-12 10:15:59 -04:00
Eugene Vigdorchik
6f03b83446
Remove unneeded map argument.
2012-05-12 10:15:49 -04:00
Eugene Vigdorchik
04d53c05d5
Modify forking tests based on Stefan's feedback. Should be ported to 0.12
2012-05-09 20:07:47 -04:00
Gerolf Seitz
cddbb8dd12
Add method Aggregation.runTasksWithResult
2012-05-07 19:09:11 -04:00
Mark Harrah
13e62fd645
Use binary version for cross-version even for snapshots and milestones
...
Rely instead on users not publishing the same stable version against both
stable Scala or sbt releases and snapshots/milestones.
2012-05-05 20:35:05 -04:00
Mark Harrah
9e7ee361c7
Tags.exclusive convenience method for executing tasks in isolation
2012-05-02 19:56:35 -04:00
Mark Harrah
6769c94208
basis for a resident compiler
...
unstable, but can be tested with -Dsbt.resident.limit=n
n is the maximum Globals kept around
2012-04-28 18:58:52 -04:00
Mark Harrah
2bd103f1fa
implement embedded interface
2012-04-18 16:01:45 -04:00
Mark Harrah
d837f869bd
using some of the embedding interfaces
2012-04-18 11:02:52 -04:00
Mark Harrah
8594e4443d
reorganize compilation modules
2012-04-18 08:08:25 -04:00
Mark Harrah
db7ec09591
move compiler integration classes to subproject compile/integration
2012-04-18 03:33:49 -04:00
Mark Harrah
4de26c1195
allow specifying Scala version for sbt plugin in addSbtVersion
2012-04-13 17:47:12 -04:00
Mark Harrah
1eef9e660a
missed a compatibility overload for constructing an InputKey
2012-04-13 17:47:12 -04:00
Mark Harrah
2aad26a5ba
Merge 'vjovanov/0.12' into 0.12
2012-04-12 17:21:08 -04:00
Mark Harrah
7109bc9637
configuration via ivysettings.xml: use URI instead of URL and make 'inter-project' resolver available for multi-project builds. ref #416
2012-04-11 22:40:45 -04:00
Vojin Jovanovic
f17cb88d00
Augmenting scalaOrganization key description.
2012-04-10 12:12:04 +02:00
Michael Allman
ba2e42287b
Add support for loading Ivy settings from a URL
2012-04-08 20:22:15 -07:00
Mark Harrah
3f7fd80755
Merge pull request #422 from vigdorchik/extract_common_code
...
Extract common code to a separate method.
2012-04-08 11:40:30 -07:00
Eugene Vigdorchik
f122b95e46
Extract common code to a separate method.
2012-04-08 20:33:46 +04:00
Mark Harrah
756099c67b
add extra category of help for listing command names without summary
2012-04-07 18:10:23 -04:00
Mark Harrah
2ba5e0a363
help message changes
2012-04-07 18:10:23 -04:00
Mark Harrah
585a62bf5e
only list history help (!) in brief help listing
2012-04-07 18:10:23 -04:00
Mark Harrah
c358a8a5b0
more improvements to 'tasks' and 'settings' commands
2012-04-07 18:10:23 -04:00
Mark Harrah
75dfccf098
move ForkMain.Tags out to top-level ForkTags to make sxr happy
2012-04-06 23:29:48 -04:00
Mark Harrah
f94eae15b6
merge test forking from vigdorchik/xsbt/wip_fork_test
2012-04-06 20:48:31 -04:00
Mark Harrah
12d72facb1
enhance 'projects' to allow temporarily adding/removing builds to the session
2012-04-06 20:28:31 -04:00
Vojin Jovanovic
0f6a50daee
Addressing https://github.com/harrah/xsbt/pull/418
...
Changed the order of parameters in getScala method.
Changed the key name to scalaOrganization (scala-organization).
Augmented description of the key.
Minor fixes.
2012-04-05 12:19:49 +02:00
Eugene Vigdorchik
e8798ddca8
Add test and allow the java options to be picked for a default test group created.
2012-04-05 12:02:53 +04:00