Commit Graph

11353 Commits

Author SHA1 Message Date
杨博 3d4b96e2df Fix stack overflow when use Build.projects in a Project's settings. 2011-12-11 01:37:47 +08:00
Paul Phillips 0afdf8cd48 Added -S option.
Analogous to -J, passes an argument to scalac (by way of
adding it to sbt's scalacOptions.)

Example, sbt -S-Xlint .
2011-12-09 23:28:09 -08:00
Paul Phillips 7472c2f603 Reworked argument code. 2011-12-07 13:53:15 -08:00
Paul Phillips 230a729c05 More robust against missing arguments.
After watching -jvm-debug hang and scratching my head,
added defense against missing mandatory args.
2011-12-07 13:36:21 -08:00
Paul Phillips a0cb0503fd Merge remote-tracking branch 'jsuereth/debug-mode' into develop 2011-12-07 13:18:44 -08:00
Paul Phillips a4ea6b3ce8 Fighting bitrot.
Updated readme, small polishings.
2011-12-07 13:17:20 -08:00
Josh Suereth 211ffa3e3b Adding handy -jvm-debug option.
-jvm-debug option enabled socket-based debugging of SBT
 via a specified port.  This works wonders when used
 with the console task on a project.
2011-12-06 23:00:28 -05:00
Josh Suereth 7574d35868 Moved downloads to user-owned dir.
Sbt launch jars are now downloaded to ~/.sbt/.lib to ensure that
the location is writeable by the user.   This could still be
a faulty assumption, but we'll try it anyway.
2011-12-06 22:52:07 -05:00
Josh Suereth 57dd8bc0ac Added a default config file.
Added an /etc/sbt/sbtopts file that contains defaults.
Added a hook to the sbt script to pull in from /etc.
Allowed comments in sbtopts configuration.
2011-12-06 22:37:02 -05:00
Mark Harrah 90b9618d50 Merge pull request #283 from mallman/launcher_version
Print the launcher version and exit if launched with exactly one argument named "--version"
2011-12-06 17:41:41 -08:00
Mark Harrah c2fc43cb4b Merge pull request #283 from mallman/launcher_version
Print the launcher version and exit if launched with exactly one argument named "--version"
2011-12-06 17:41:41 -08:00
Josh Suereth 34fed66022 First cut at debian packaging.
This adds a Debian build section that will create
a new .deb file for the sbt script.  This includes
a new src/debian and src/debian-gzipped directories
for placing files that will be included in the
distribution on debian.

Initial cut at making debian packages
2011-12-06 20:32:24 -05:00
Paul Phillips 0c4df8c2d5 Jacked up -XX:ReservedCodeCacheSize. 2011-12-06 15:30:52 -08:00
Paul Phillips e7f63782cb Merge remote-tracking branches 'micrypt/patch-2' and 'jsuereth/fix-plugin-dir' 2011-12-05 20:17:49 -08:00
Josh Suereth afccc22f28 Calling a directory .sbt in the project/ directory causes SBT to go into legacy plugin project mode and breaks version resolution. This fixes that issue by calling the directory .sbtboot instead of .sbt. Note: why are .sbtboot and .boot separate? A question for others. 2011-12-05 14:24:04 -05:00
Johannes Rudolph dc9d70200c rename `ivy-report` to `ivy-report-function` and introduce new InputTask `ivy-report` which results in the location of the ivy report file when given a configuration 2011-12-01 11:39:45 +01:00
Johannes Rudolph 43c6006f4e add ls metadata 2011-11-29 15:24:13 +01:00
Michael Allman 26fe2594bc Remove superfluous call to exit() in main() 2011-11-28 23:23:14 -08:00
Paul Phillips 8cf9fa83be Tweaked java_opts, 0.11.2. 2011-11-28 17:24:43 -08:00
Mark Harrah 8c2af3f42a Merge pull request #276 from eed3si9n/inspecttree
refactored scoped key manifest extraction to ScopedKeyData
2011-11-27 19:27:11 -08:00
Mark Harrah 91a136e5f6 Merge pull request #276 from eed3si9n/inspecttree
refactored scoped key manifest extraction to ScopedKeyData
2011-11-27 19:27:11 -08:00
Mark Harrah 8342080917 build with 0.11.2 2011-11-27 17:58:13 -05:00
Mark Harrah 3c60ccd2b9 version bump 2011-11-27 17:49:06 -05:00
Mark Harrah 9e708b17e2 fixes #280. sort aggregate and classpath dependencies separately to keep cycle detection for them separate 2011-11-27 17:48:01 -05:00
Mark Harrah cf450a963f drop more 2.7 compatibility code 2011-11-27 17:48:01 -05:00
Mark Harrah f3f4bea2d5 fixes #280. sort aggregate and classpath dependencies separately to keep cycle detection for them separate 2011-11-27 17:48:01 -05:00
Michael Allman c0b4764683 Print the launcher version and exit if it's passed exactly one argument named "--version" 2011-11-26 16:30:38 -08:00
e.e d3si9n 6d9aeb94e0 compressed map and getOrElse into if-else 2011-11-26 01:41:24 -05:00
e.e d3si9n 546e7d9bad refactored scoped key manifest extraction to ScopedKeyData 2011-11-23 19:53:20 -05:00
Mark Harrah 2f52884df8 Merge pull request #274 from eed3si9n/inspecttree
"inspect tree <key>" command
2011-11-23 05:07:32 -08:00
Johannes Rudolph 7fbfd7aa8e Merge pull request #2 from retronym/patch-1
s/assembly/dependency-graph
2011-11-23 00:48:17 -08:00
Jason Zaugg b231d33bd1 s/assembly/dependency-graph 2011-11-23 09:18:45 +01:00
e.e d3si9n e85833b2de "inspect tree <key>" command
This is a slightly cleaned up version of sbt-inspectr. When "inspect
tree <key>" is called, SettingGraph case class is created recursively
along the dependencies, calling the similar code as "inspect" command's
Project.details. Graph object then renders it as an ascii tree.
2011-11-23 00:49:27 -05:00
Indrajit Raychaudhuri 7c0952a266 Tweak ReadDetailed message per suggestion 2011-11-23 04:12:31 +05:30
Indrajit Raychaudhuri 15177e92a2 Streamline and update help messages for built-in commands 2011-11-23 03:37:10 +05:30
Mark Harrah 62355c3e1e implement 'skip in update' 2011-11-21 22:40:10 -05:00
Mark Harrah b07bd3adaa show deprecation message for project/plugins/. fixes #272. 2011-11-21 22:37:58 -05:00
Mark Harrah 8743165d66 Adjust 'about' output because logging is now rotated. 2011-11-21 22:37:58 -05:00
Indrajit Raychaudhuri fba4953c32 Miscellaneous updates
- honor includeTypes to filter dependency artifact candidates for classifier setting
- prefer the more stable Seq[_] instead of Iterable[_]
- import cleanups
2011-11-22 02:08:16 +05:30
Mark Harrah a50f6cb872 fix typo 2011-11-20 15:46:14 -05:00
Paul Phillips 8665ba0c5f sbt 0.11.1 ; -offline. 2011-11-19 23:26:27 -08:00
Mark Harrah eb2ec8c781 concurrent execution restrictions 2011-11-19 23:56:30 -05:00
Mark Harrah a7e95ada16 API documentation 2011-11-19 23:56:30 -05:00
Mark Harrah f813256ced detect invalid project IDs 2011-11-19 23:56:30 -05:00
Mark Harrah 9d21c48f41 revert XNode/Node rename because of shadowing when running full API doc generation 2011-11-19 18:17:30 -05:00
Indrajit Raychaudhuri 0139f15311 Cleanups activities
- extract exclusion block to separate method
- replace simple cases of mapping over function with pattern matching
2011-11-20 00:51:04 +05:30
Indrajit Raychaudhuri e69c1c3827 Add classifier for 'jar' artifact type only. Closes #257. 2011-11-20 00:10:43 +05:30
Indrajit Raychaudhuri c039925748 Append dummy argument to `-classpath` when it is actually empty.
Scala compiler's way of handling empty classpath argument is problematic.
This workaround appends a dummy classpath argument when the classpath is
actually empty. Fixes #269 (also see #82, #85).
2011-11-19 16:51:53 +05:30
Johannes Rudolph 5fe2abe28e update readme 2011-11-18 11:17:52 +01:00
Johannes Rudolph fb38f8d2d2 bump version 2011-11-18 11:15:15 +01:00