Commit Graph
841 Commits
Author SHA1 Message Date
Mark Harrah c2bfb182d2 Make sbtBinaryVersion use the new approach for 0.13 and later to support cross-building plugins. 2013-05-31 09:34:13 -04:00
Mark Harrah bb884ebe8b Allow -cp argument to 'apply' command to be quoted. Fixes #724. 2013-04-29 15:12:16 -04:00
Mark Harrah 042128a673 Put default conflict warnings at the debug level. Fixes #709.
This is at debug instead of disabled so as to be a minimal change
during a point release.  It is dropped to debug because the conflict warnings
don't work correctly, especially for the artifacts they were designed for,
sbt and Scala.  This is due to the overrides and excludes present in 0.12.x.

The other possible use of conflictWarning is for general libraries, but
in 0.13 that is better served by using a strict conflict manager.  Therefore,
0.13 should drop the warnings based on the evicted modules completely.
2013-03-14 16:48:42 -04:00
Mark Harrah 3fccd4cbb9 Load global plugins in their own class loader and replace the base loader with that. Fixes #272.
Also, replace the base classpath with the global classpath.
2013-03-06 10:19:18 -05:00
Mark Harrah cd7afef797 Make exclude-classifiers per-user instead of per-build. Fixes #634. 2013-03-06 10:19:18 -05:00
Mark Harrah 7f83d3e4dc Tag the actual test task and not a later task. Fixes #692. 2013-03-06 10:19:18 -05:00
Mark Harrah 800bc2acda minor improvement to use stripSuffix in DotGraph 2013-03-06 10:19:17 -05:00
Mark Harrah 3e6aa0832a better error message when help search syntax isn't a valid java.util.regex 2013-03-06 10:19:17 -05:00
Mark Harrah 11c0b27dd5 skip duplicate entries in PluginClassLoader 2013-03-06 10:19:16 -05:00
Mark Harrah 6d0b3bd79c Support 'reload plugins' after ignoring a failure to load a project.
This can be used to debug problems with dependencies or code.
It won't help with .sbt files, however.
2013-03-06 10:19:16 -05:00
Mark Harrah 64869ff6f7 Mark the tests failed exception as having already provided feedback 2013-03-06 10:19:16 -05:00
Mark Harrah eb5ec9c736 Allow cleanKeepFiles to contain directories
The directory contents will be kept as will empty directories.
2013-03-06 09:33:32 -05:00
Mark Harrah fc9a62a6e0 use proper separator in command tab completion 2013-01-03 13:21:59 -05:00
Mark Harrah f2855bc856 update 'apply' help string to include -cp option 2012-12-12 16:12:00 -05:00
Mark Harrah 7bde309975 -cp/-classpath option to 'apply' command 2012-12-12 16:09:54 -05:00
Mark Harrah acc6190a9c fix IO tests, which needed scala-compiler.jar on the classpath 2012-12-12 16:09:22 -05:00
Mark Harrah 7753a29ea0 Disable aggregation for run-main by default 2012-12-12 16:02:42 -05:00
Mark Harrah 77edfb4c92 comment EvaluateTask.apply methods 2012-12-12 16:01:06 -05:00
Eugene Vigdorchik aedb52e431 Use java.lang.Throwable.setStackTrace. Proper fix for #543. 2012-12-12 15:59:16 -05:00
Mark Harrah b4c6a3241f Fixes #594. Global plugin products weren't being included on Compile classpath of build definition project. 2012-12-12 15:58:08 -05:00
Mark Harrah b09d3b4b13 split ForkTests react() out to workaround SI-6526 2012-12-12 15:54:40 -05:00
Mark Harrah ffea316c17 cleanup of #585: compatible with earlier launchers 2012-12-12 15:54:31 -05:00
Eric Bowman 7064ca4114 XSBT-5: maven-style ivy repo support in the launcher config
Change-Id: I22c1ff126961d61d92e2e45a5b7eff329d3def90
Reviewed-on: https://gerrit.gilt.com/10950
Reviewed-by: Eric Bowman <[email protected]>
Tested-by: Eric Bowman <[email protected]>
2012-12-12 15:54:24 -05:00
Mark Harrah 16c9972686 Parser.failOnException method, don't let rhs of alias fail the parse. Fixes #572.
alias only parses the right hand side for tab completion help.
The assignment should happen whether or not the parse is successful because the
context may change by the time the alias is actually evaluated.
In particular, the 'set' command uses the loaded project for tab completion in 0.12.1.
When a .sbtrc file is processed, the project has not been loaded yet, so aliases
involving set fail.  Wrapping the rhs in failOnException addresses this.
2012-12-12 15:51:17 -05:00
Mark Harrah 6baf729954 add [every] to syntax summary of 'set' command 2012-12-12 15:45:18 -05:00
Kevin Scaldeferri 1f8c21de18 Include all JAR packaging types in the default classpathTypes. Fixes #550
These special types need to be recognized in both the POM parser and added to the classpath.
The previous code was not DRY, and eclipse-plugin was in one but not the other.  This ensures
new types can be added in the future without risking this type of oversight.
2012-12-12 15:45:06 -05:00
Mark Harrah e32358165b Strip explicitArtifacts from projectDependencies. Fixes #546.
The module definition (ModuleID) got copied as to be the dependency definition,
but as a dependency definition, it should not include explicit artifacts.
2012-09-13 08:39:15 -04:00
Mark Harrah b4a6540cf0 update help for inspect to include latest options 2012-09-04 16:05:03 -04:00
Mark Harrah bdac041599 Force update on change to last modified time of artifacts or cached descriptor.
This is part 2 of the fix for #532.  It may also fix issues when working with
multiple local projects via 'publish-local' and binary dependencies.
2012-09-04 13:37:29 -04:00
Eugene Vigdorchik ed9ea1cf77 Fix compilation error for 2.10.0-M5 for all but main project. 2012-09-04 13:37:23 -04:00
Mark Harrah c6223388d9 back all ConsoleLoggers by a common ConsoleOut
The common ConsoleOut merges (overwrites) consecutive Resolving xxxx ... lines
when ansi codes are enabled.
2012-09-04 13:30:34 -04:00
Mark Harrah dd30212edc Proper isolation of build definition classes. Fixes #536, #511. 2012-09-04 13:29:31 -04:00
Mark Harrah 27427592c5 Add valid project IDs to 'No project <x> in <uri>' error message 2012-09-04 13:29:31 -04:00
Mark Harrah 81a283c1ca per-project resolution cache that deletes cached files before each update
These are the ivy files, properties, and resolve reports for the project,
not dependencies and their artifacts.
2012-09-04 13:26:33 -04:00
Mark Harrah 3dba9988e1 clean up temporary directory on exit. ref #502
Directory was already empty, this just removes the empty directory.
2012-09-04 13:26:33 -04:00
Mark Harrah 52b4db346c toStrings for some concurrent restrictions 2012-09-04 13:25:44 -04:00
Eugene Vigdorchik 987277211c Various fork in Test fixes. Closes #512 #515. 2012-09-04 13:25:44 -04:00
Mark Harrah 95046bfaa1 experimental tab completion for 'set' 2012-09-04 13:00:57 -04:00
Mark Harrah 4a38f5e6c1 correct CommandUtil.aligned to use provided prefix 2012-09-04 13:00:57 -04:00
Mark Harrah 8922a09655 combined cutoff for settings and tasks 2012-09-04 13:00:57 -04:00
Mark Harrah 266b84ebdf display message after 'set' with defined and affected scopes+keys 2012-09-04 13:00:57 -04:00
Mark Harrah e7f6cd7cba Merge commit '82a338b3a899419a5761a0395a9d265d7d442778' into 0.12.1
This is part I of 0.13 backports.
2012-09-04 11:46:28 -04:00
Mark Harrah 4059631654 run either javadoc (Java sources only) or scaladoc (Scala only or mixed), but not both 2012-07-17 14:34:05 -04:00
Indrajit Raychaudhuri 82a338b3a8 Add OSX JNI library extension in includeFilter by default. Closes #500 2012-07-08 00:38:25 -04:00
Mark Harrah 5a93605d75 'orbit' packaging should be handled like a standard jar. fixes #499. ref #463 2012-07-06 10:28:51 -04:00
Mark Harrah 364d49d4b4 Translate show x y into ;show x ;show y . fixes #495 2012-07-06 10:28:51 -04:00
Mark Harrah 464193d0f6 sourcesInBase setting. fixes #494 2012-07-06 10:28:51 -04:00
Mark Harrah 3d0eb1ac11 better fix for tab completion on invalid project IDs 2012-07-01 15:16:42 -04:00
Josh Suereth 171ff5f808 Fix override repositories flag so we can still resolve inter-project dependencies. 2012-06-25 18:48:06 -04:00
Mark Harrah dc2aaaf7ac show full stack trace by default when running in batch mode 2012-06-22 22:11:24 -04:00