Commit Graph

2137 Commits

Author SHA1 Message Date
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
Indrajit Raychaudhuri 0270ac078f Support for enhanced cross build suffix in dependencies. Closes #267
Overloading `%%` for library dependency to allow using a library built
with an alternative version of Scala that is different from the Scala
version used in the current build (but hopefully binary compatible).

This is useful in cases, where the binary build of a dependency with
the exact Scala version isn't yet available but an otherwise binary
compatible build (maybe with a previous Scala release) is available.
2011-11-17 22:17:06 +05:30
Mark Harrah a49c907146 invalidate sources that claim to generate the same class. fixes #260 2011-11-10 21:30:30 -05:00
Mark Harrah ed22ac31a3 Merge pull request #264 from indrajitr/misc
Misc updates
2011-11-10 04:40:06 -08:00
Indrajit Raychaudhuri 944bcb1203 update to reflect the changes in the current branch 2011-11-10 16:02:01 +05:30
Indrajit Raychaudhuri 2698bc3116 Prevent 'radio silence' for ForkRun.run().
While this increases the verbosity level of `Fork.run()`, it remains
consistent with `Run.run()`. Switching between `fork := false` and
`fork := true` shouldn't change verbosity of log output.
2011-11-10 15:47:25 +05:30
Indrajit Raychaudhuri f314225712 Remove deprecations 2011-11-10 15:41:16 +05:30
Indrajit Raychaudhuri e1e6b25d0c Honor maxErrors for compileInput
This uses a recently added technique (cf `TaskKey.local`) to introduce
local TaskKey and get around the nine parameter restriction.
2011-11-10 14:52:58 +05:30
Mark Harrah b16d4a36ad Remove local Maven repository from launcher's list of repositories
This is motivated by the high likelihood that it is causing the
 various problems some users have with the launcher not finding
 some dependencies. ref #217.
2011-11-09 18:30:35 -05:00
Mark Harrah 156d836174 only require descriptors for dependencies without an explicit URL. fixes #263 2011-11-09 18:30:35 -05:00
Mark Harrah 03cd1ec3ab need to explicitly trim whitespace in semicolon separated commands now. fixes #261. 2011-11-09 18:30:35 -05:00
Mark Harrah e1652a2867 build with 0.11.1 2011-11-09 18:30:35 -05:00
Mark Harrah f3b9259463 Merge pull request #252 from indrajitr/javadoc
Enable Javadoc generation in `doc` task
2011-11-09 09:29:19 -08:00
Indrajit Raychaudhuri ad7aede533 Enable Javadoc generation in `doc` task.
`docSetting` has been updated to do both Scaladoc and Javadoc. In
Scala/Java hybrid projects, the output docs are rebased to `scala`
or `java` sub-directory accordingly. But for pure scala or pure java
projects the subdirectories aren't added to becompliant with user
expectation as much as possible. We do hybrid mode iff both *.scala
and *.java files exist; other doc resources (package.html, *.jpg etc.)
don't influence the decision.
2011-11-09 17:49:54 +05:30
Mark Harrah ca154d9b5e Merge pull request #256 from siasia/patch-1
Fixed scripted plugin descriptor to reside in sbt package
2011-11-07 12:39:42 -08:00
Mark Harrah bef997fe29 Merge pull request #258 from jsuereth/windows-git-fix2
Windows git fix
2011-11-07 12:39:16 -08:00
Josh Suereth 175f08e1e4 Stefan Zeiger's fixes to not NPE when checking for windows. Additional cleanup to put windows git-run checks in one function. 2011-11-07 07:38:25 -05:00
Josh Suereth c5e31645a3 Attempting to fix git forking in windows 2011-11-07 07:38:11 -05:00
Artyom Olshevskiy b0bd1feff1 Fixed scripted plugin descriptor to reside in sbt package 2011-11-07 14:41:48 +03:00
Mark Harrah 6f91f7b866 version bump 2011-11-06 22:11:12 -05:00
Mark Harrah 4a4c424d20 fix mistakenly changed return type of State.setResult 2011-11-05 09:13:34 -04:00
Mark Harrah 5aa9f8b95c fix dependency-management/artifact test 2011-11-05 08:53:48 -04:00
Mark Harrah a524d48008 in cyclic error message, put each node string on different line 2011-11-05 08:53:42 -04:00
Mark Harrah 943bfc4bf7 fix actions/doc test 2011-11-04 19:06:45 -04:00
Mark Harrah 6405f2a6cb cleanup 2.7 warn fatal setting compatibility 2011-11-04 18:39:25 -04:00
Indrajit Raychaudhuri c42659318b javaOptions and javacOptions would be better off as Task (like scalacOptions) 2011-11-04 13:51:17 -04:00
Mark Harrah ab8ac83b6c missing import 2011-11-04 13:44:09 -04:00
Mark Harrah 4afbc5b1b4 preserve IOException type when translating exceptions. fixes #253 2011-11-04 13:40:59 -04:00
Mark Harrah 76398a5646 add missing newline in conflict warning 2011-11-04 13:40:59 -04:00
Mark Harrah 301c981c99 reset default logging level to be DownloadOnly instead of quiet 2011-11-04 13:40:59 -04:00
Mark Harrah 3d82b79fc9 log during resolution 2011-11-04 13:40:59 -04:00
Mark Harrah 8e9e4b22cd checksums configurable in [ivy] section. fixes #235 2011-11-04 13:40:59 -04:00
Indrajit Raychaudhuri 66500ea776 Use full form of `-classpath` option
short form `-cp` isn't always honored (e.g., javadoc)
2011-11-04 13:40:59 -04:00
Mark Harrah b154468097 invalidate 'update' cache when 'update' cache of a dependency is invalidated, fixes #246 2011-10-30 18:40:01 -04:00
Mark Harrah 2805dbde8f track whether UpdateReport was cached or freshly generated 2011-10-30 18:39:47 -04:00
Mark Harrah 8c7efd02b4 API documentation for State 2011-10-30 18:39:18 -04:00
Mark Harrah fa8fb49cc3 clean up last/global logging
add history of actually executed commands
2011-10-30 18:39:18 -04:00
Mark Harrah 2cbc755856 cleanup, add regex for escape sequences to be used later 2011-10-30 18:39:18 -04:00
Mark Harrah 85ad0c023e clean up after temporary task directory 2011-10-30 18:39:18 -04:00
Mark Harrah 8e1cdcf989 test for modifying build dependencies in settings 2011-10-26 20:12:03 -04:00
Mark Harrah 5fbe6e9d97 more flexible inter-project dependencies 2011-10-26 19:35:29 -04:00
Mark Harrah c2ebcba73b hook for more global build transformations 2011-10-26 19:35:29 -04:00
Mark Harrah b2398172b2 use Charset.name instead of toString (which currently calls name) 2011-10-26 19:28:26 -04:00
Indrajit Raychaudhuri 64af38bb84 Use IO.write instead of explicit resource management 2011-10-26 21:43:42 +05:30
Mark Harrah 0849d61da4 Merge pull request #237 from indrajitr/default-options
Default set of opt-ins for convenience
2011-10-23 10:44:31 -07:00
Indrajit Raychaudhuri fdb08ff846 Default set of opt-ins for convenience 2011-10-23 06:27:13 +05:30
Mark Harrah e3e23287af reorganize help, allow keys to be arguments to 'help' command 2011-10-20 22:59:31 -04:00
Mark Harrah 078b72ee48 Add help for 'show' command. Fixes #236. 2011-10-20 22:59:30 -04:00
Mark Harrah 2fcbaaf4fa Merge pull request #233 from indrajitr/0.11
Initialize project version to SNAPSHOT
2011-10-20 19:39:17 -07:00
Mark Harrah 7ed3c6f2a2 Merge pull request #238 from cb372/patch-1
Typo: Fixed the link to the "Setup" wiki page in the README
2011-10-20 19:38:48 -07:00