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
Eugene Vigdorchik
47c9645892
Use raw method not to unescape special characters. Fixes #478
2012-06-12 07:15:17 -04:00
Mark Harrah
919ac33c1a
compiler interface compatibility hardening
2012-06-10 23:06:35 -04:00
Mark Harrah
9bf21a6a5f
update README for 0.12.0-RC1
2012-06-03 15:37:00 -04:00
Mark Harrah
ba55430727
update session settings display for multi-line changes
2012-06-02 20:54:45 -04:00
Mark Harrah
b7df87e2d8
compiler interface source compatibility with Scala 2.8.1/0
2012-06-02 19:03:57 -04:00
Mark Harrah
4bc993e0ba
Revert "remove unneeded unlinking in compiler interface"
...
Unlinking is actually needed.
This reverts commit 1581d1b7e1 .
2012-06-02 19:03:57 -04:00
Mark Harrah
d9a8ec0c22
system property name: resolver->repository
2012-06-02 19:03:57 -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
8bca690e0a
User may now override default resolvers with a config file. * Configuration parsing now looks for a ivy.resolver-config property for alternative resolver config. * ivy.resolver-config defaults to ~/.sbt/repositories * If the resolve config file exists, its [resolvers] section is used instead of sbt-launch.jar's * Attempted to re-use as much code as possible and add as little as needed.
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
1581d1b7e1
remove unneeded unlinking in compiler interface
2012-05-30 07:41:02 -04:00
Mark Harrah
2db0101eb8
resident compiler that passes all tests
...
core logic from odersky/scala/topic/inkling
2012-05-30 07:13:15 -04:00
Mark Harrah
1c842b3341
another variant of resident-java test from pvlugter
2012-05-30 07:13:15 -04:00
Mark Harrah
322b2d5adc
precompile compiler interface against 2.10.0-M3
2012-05-30 07:13:15 -04:00
Mark Harrah
80a58d11ae
extend empty-package test
2012-05-30 07:13:15 -04:00
Mark Harrah
9e775092d2
revert snapshot regex changes
2012-05-30 07:13:15 -04:00
Mark Harrah
a8a028ad70
add missing token in scripted tab completion
2012-05-30 07:13:15 -04:00
Mark Harrah
2f65945745
tweak status test in build definition
2012-05-27 20:03:09 -04:00
Mark Harrah
ba13aec159
extra launcher properties paths for missing and unmatched sbt.version
2012-05-27 20:03:08 -04:00
Mark Harrah
e8fcdc07e8
set organization at higher scope for default project
2012-05-27 20:03:08 -04:00
Mark Harrah
1488bf2eff
restore scala-tools-* repository names in launcher as aliases to sonatype-oss-*
2012-05-27 20:03:08 -04:00
Peter Vlugter
737b1b09bd
Add scala library when compiling compiler interface sources
2012-05-25 07:21:05 -04:00
Mark Harrah
f39af0bab3
a more universal launcher
...
when a properties file is not otherwise explicitly specified,
the sbt.version from project/build.properties is used to select
the default properties file to use. This launcher should be able
to launch:
0.7.x
0.10.{0,1}
0.11.{0,1,2,3}
0.12.x
Note that it can only launch the release versions of 0.10 and 0.11
listed above and in particular cannot launch snapshot versions. All
0.12.x versions and 0.7.x versions should be supported, although only
0.7.7 was tested.
2012-05-24 21:50:25 -04:00
Mark Harrah
cf2402cea4
another fix related to #460
2012-05-23 20:13:52 -04:00
Mark Harrah
e34b8e4bf2
print message and stack trace when exception occurs in completion
2012-05-21 22:23:44 -04:00
Mark Harrah
9cf2c41fb8
fix exception thrown when tab completing invalid project name
2012-05-21 22:23:44 -04:00
Mark Harrah
9ee30636b3
don't put scala-library.jar on the boot classpath unless it is on the classpath
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
63895a3d77
source compatibility with 2.8.1, where resident mode can't be supported
2012-05-19 18:20:20 -04:00
Mark Harrah
c62dd99ddf
tab complete scripted tests
2012-05-19 18:20:20 -04:00
Mark Harrah
4816991b18
basic support for pending scripted tests
2012-05-19 18:20:20 -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
1f612aaecb
ensure enableEcho called after jline.Terminal.getTerminal. fixes #460
2012-05-19 18:20:19 -04:00
Eugene Vigdorchik
dabb0fd377
Refactor according to the comments.
2012-05-17 07:24:24 -04:00
Eugene Vigdorchik
2b1f21a21c
Additional method in ProcessIO to process inheriting input.
2012-05-17 07:24:24 -04:00
Eugene Vigdorchik
8d123081a2
Use java 7 Redirect.INHERIT to inherit subprocess' input stream.
2012-05-17 07:24:24 -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
Mark Harrah
50ddd485af
add a missing 'lazy'
2012-05-13 22:38:00 -04:00
Mark Harrah
208b46fd10
resident mode: package objects
2012-05-13 21:31:40 -04:00
Mark Harrah
062b47ac8d
better invalidation of interface version.properties file
2012-05-13 21:31:40 -04:00
Mark Harrah
7bed381bec
cleanup compilation tests
2012-05-12 23:12:29 -04:00