Eugene Yokota
81f175ddbf
Fixes #1666
2015-06-20 00:51:42 -04:00
James Roper
3625ce5943
Added Extracted.runInputTask
...
This provides a convenience function for running an input task from the
extracted state. This is particularly useful for commands, release steps
etc that may want to run input tasks, like scripted.
2015-06-10 16:09:09 +02:00
Andrew Johnson
7c0f455c79
Use FiniteDuration to represent time rather than a long
2015-05-13 14:18:27 -04:00
Andrew Johnson
4ec092617f
Add forceUpdateMs
2015-05-13 08:02:48 -04:00
Josh Suereth
b568565615
Merge pull request #1970 from matthewfarwell/test-exclude
...
Test exclude
2015-05-11 15:27:06 -04:00
Eugene Yokota
66e07f6e83
use Duration to track minForcegcInterval
2015-05-05 19:29:22 -04:00
Eugene Yokota
8aca4e8fa6
Force GC on cross building
2015-05-04 23:49:36 -04:00
Eugene Yokota
2bbe872969
Use interval throttling
...
JMX doesn't seem to work in reporting
memoryMxBean.getObjectPendingFinalizationCount
At least for the test build that I used it always reports zero.
2015-05-04 23:09:23 -04:00
Eugene Yokota
d82fe46052
Fixes #1223 . Uses JMX to find out when to force GC.
2015-04-30 14:53:50 -04:00
eugene yokota
1ebe3804b3
Merge pull request #1992 from dwijnand/cross-scala-versions-default
...
Fix crossScalaVersions default, derived from scalaVersion. Fixes #1828 .
2015-04-29 05:08:40 -07:00
eugene yokota
27bd275343
Merge pull request #1989 from dwijnand/inThisBuild
...
Add inThisBuild, similar to inConfig. Fixes #1847
2015-04-26 18:58:12 -07:00
eugene yokota
d0fbd10852
Merge pull request #1987 from ajsquared/0.13
...
Add configurationsToRetrieve
2015-04-26 18:54:32 -07:00
Dale Wijnand
116c1e1e8b
Fix crossScalaVersions default, derived from scalaVersion.
...
Fixes #1828 .
2015-04-26 17:06:59 +01:00
Dale Wijnand
1aff36d505
Add help message for `inspect actual`. Fixes #1651 .
2015-04-26 03:18:29 +01:00
Dale Wijnand
348a28f761
Cleanup inspectDetailed.
2015-04-26 02:31:51 +01:00
Dale Wijnand
677c33611a
Add inThisBuild, similar to inConfig. Fixes #1847
2015-04-25 20:39:59 +01:00
Andrew Johnson
b617b41ae1
Support configuring a subset of configurations from which to retrieve dependencies when retrieveManaged is true
2015-04-23 12:49:45 -04:00
Matthew Farwell
d4cffdddd9
corrected exclusion logic, added more unit tests & scripted tests
2015-04-17 09:28:58 +02:00
Matthew Farwell
0e56878534
Added unit tests for Defaults.selectedFilter
2015-04-14 06:31:27 +02:00
Matthew Farwell
a9e06109a3
Added exclusions to testOnly and testQuick command line, indicated by a '-' prefix.
2015-04-13 16:31:22 +02:00
eugene yokota
c879432b0f
Merge pull request #1950 from ajsquared/0.13
...
Add retrieveManagedSync
2015-04-10 12:48:17 -07:00
Andrew Johnson
e647234743
Add retrieveManagedSync
2015-03-31 10:59:41 -04:00
Dale Wijnand
5c2ec63fa6
Make use of the nicer Project settings syntax in 0.13.8.
2015-03-27 01:19:26 +00:00
Eugene Yokota
1891b52472
Roll back the use of sbt/serialization for update caching
2015-03-10 05:12:17 -04:00
Eugene Yokota
ca9257c064
OOM handling. #1763
2015-03-09 21:22:58 -04:00
Eugene Yokota
b70fa6e0c2
Use pickler to cache UpdateReport for update task. #1763
2015-03-09 21:22:58 -04:00
Dale Wijnand
a058a38b7b
Define Project.settings with SettingsDefinition.
...
This maintains old, existing ways of configurating project settings,
while adding the possibility to:
* Define add a sequence of settings, between other individual settings
* Pass a Seq[Setting[_]] to Project.settings without having to do
"varargs expansion", ie. ": _*"
2015-03-06 17:33:54 +00:00
Eugene Yokota
b40a9e79c8
Fixes per review
2015-02-25 00:54:03 -05:00
Eugene Yokota
30ca290a13
Add sbt.root.ivyplugin escape hatch
2015-02-25 00:22:26 -05:00
Eugene Yokota
162ed3f320
Fixes #1869 , Ref #1871 . Don't enable IvyPlugin for multi project generated root
2015-02-24 23:02:26 -05:00
Dale Wijnand
d07cdb92ad
Make sure bare build.sbt is published by default.
2015-02-24 23:02:26 -05:00
Dale Wijnand
58a2e634e2
Improve disabling publish artificial root.
...
Not only is this safer, it also disables delivering the ivy file.
2015-02-24 23:02:25 -05:00
Dale Wijnand
03dc3f6fd0
Disable publishing artificial root.
2015-02-24 23:02:25 -05:00
Simon Schäfer
9a51264c96
Fixes #1845 . Reformat Scaladoc of `AutoPlugin`
...
Enumerations always need to start with the same number, otherwise
Scaladoc doesn't recognize them as enumeration (no idea why).
Code blocks need to be surrounded by {{{}}}. The indentation of the
larger code block is still not correctly displayed, but I couldn't find
out why.
A TODO comment is moved out of the Scaladoc comment.
2015-02-07 01:35:35 +01:00
eugene yokota
35214ba202
Merge pull request #1841 from sbt/wip/merge-notes
...
Merging notes
2015-02-03 17:00:09 -05:00
Eugene Yokota
f42419bdd4
Adds addMavenResolverPlugin. #1808/#1793
2015-02-02 14:57:25 -05:00
eugene yokota
1a3062ed10
Merge pull request #1799 from indrajitr/cross-source
...
Enable cross-version support for Scala sources.
2015-02-02 13:09:54 -05:00
eugene yokota
58f90cd078
Merge pull request #1787 from xuwei-k/git-clone-depth
...
specify the "--depth" parameter for efficient when git clone
2015-02-02 10:46:35 -05:00
Eugene Yokota
b0a10815a6
Implementes `Def.sequential`. Fixes #1001
...
Adds Def.sequential based on Mark's implementation provided in #1001 .
2015-01-20 01:22:03 -05:00
Indrajit Raychaudhuri
1b15653bcb
Enable cross-version support for Scala sources.
...
This allows attaching unmanaged sources on `per-ScalaVersion` basis.
Sources from `src/{main,test}/scala-<scalaBinaryVersion>` is collected
in addition to `src/{main,test}/scala` by default.
Note that the treatment of `scalaBinaryVersion` would vary depending on
`scalaVersion` pre-2.10 and 2.10 onwards.
For example:
- with `scalaVersion` `2.9.3`, the `scalaBinaryVersion` is set to `2.9.3`
thus the files in `src/{main,test}/scala-2.9.3` as well
`src/{main,test}/scala` would be available in the `sources` list.
- with `scalaVersion` `2.10.1`, the `scalaBinaryVersion` is set to `2.10`
thus the files in `src/{main,test}/scala-2.10` as well
`src/{main,test}/scala` would be available in the `sources` list.
2015-01-16 14:07:42 +05:30
eugene yokota
be78b7fc4c
Merge pull request #1759 from jedesah/topic/minor_cleanup
...
Minor code cleanup
2015-01-14 16:13:06 -05:00
Josh Suereth
42424b4cdb
Refactoring code.
...
* remove debugging statements
* Move each class so it's one name-per-file
* Migrate out of org.apache namespace into sbt.mavenint
2015-01-12 14:48:23 -05:00
Eugene Yokota
406c80ddd6
Adjust tests.
2015-01-10 22:55:50 -05:00
Josh Suereth
16a64d70ef
Migrate pom extra attributes out of CustomPomParser for deprecation.
2015-01-09 14:14:40 -05:00
xuwei-k
ad9e71178a
specify the "--depth" parameter for efficient when git clone
2014-12-24 01:39:02 +09:00
Josh Suereth
62658b5fd8
Merge pull request #1615 from sbt/fix/1615
...
0.13.6 eviction notices too noisy
2014-12-15 15:13:02 -05:00
Eugene Yokota
5199909be7
Fixes #1766 . Removes "No main class detected" warning.
2014-12-13 00:05:55 -05:00
Eugene Yokota
46f56851d4
'evicted' task to display all evictions
2014-12-12 23:30:05 -05:00
Eugene Yokota
40e5f7538a
Fixes #1615 . Move the invocation of eviction warning.
...
This moves the invocation of eviction warning so it’s called only when
actual ivy update is being performed.
2014-12-12 17:46:19 -05:00
Eugene Yokota
e17ab305ae
Fixes minor mistake in #1748
2014-12-12 17:00:35 -05:00
eugene yokota
9fc174f5c5
Merge pull request #1765 from ajozwik/0.13
...
Rollback xml parsing work-around
2014-12-12 12:14:31 -05:00
andrzej.jozwik@gmail.com
e8e0297967
Remove work-around for parsing xml by scala parser
2014-12-08 23:35:17 +01:00
Josh Suereth
71d5dc931e
Merge pull request #1748 from sbt/wip/1748
...
excludeDependencies: excludeAll at the project level
2014-12-05 09:06:09 -05:00
eugene yokota
4aa44262c3
Merge pull request #1741 from ajozwik/0.13
...
Multi imports in one line
2014-12-05 05:28:28 -05:00
Eugene Yokota
07afc67c7a
Adds excludeDependencies. Fixes #1748
...
Adds project-level dependency exclusions:
excludeDependencies += "org.apache.logging.log4j"
excludeDependencies += "com.example" %% "foo"
In the first example, all artifacts from the organization
`"org.apache.logging.log4j"` are excluded from the managed dependency.
In the second example, artifacts with the organization `"com.example"`
and the name `"foo"` cross versioned to the current `scalaVersion` are
excluded.
2014-12-04 17:35:30 -05:00
Josh Suereth
fda9252250
Merge pull request #1752 from sbt/wip/1752
...
Cached resolution is too verbose
2014-12-04 17:09:34 -05:00
Eugene Yokota
607b686cb2
Fixes #1752 . Fixes cached resolution too verbose.
...
- Fixes cached resolution being too verbose
- Adds new UpdateLogging named "Default"
- When global logLevel or logLevel in update is Debug, Default will
bump up to Full UpdateLogging.
2014-12-04 12:34:30 -05:00
Jean-Rémi Desjardins
ca736e55d3
Minor code cleanup
2014-12-03 09:56:34 -08:00
Josh Suereth
f0adf92345
Fixes @eed3s1gn's comments
...
* Use verbs.
* compile actually saves the analysis
* previousCompile loads previous anlaysis
* explicit task to override for bytecode manipulation folkel.
2014-12-01 15:20:17 -05:00
Josh Suereth
067479f59e
Debug issues with implicit usage for CompileSetup.
...
* Force CompileSetup Equiv typeclass to use Equiv relations defined locally.
* Add toString methods on many of the incremental compiler datatypes.
* Remove remaining binary compatibility issues in Defaults.scala.
2014-12-01 13:35:51 -05:00
Josh Suereth
045ac1d984
Tweak remaining binary compatibility issues with design.
2014-12-01 13:35:51 -05:00
Josh Suereth
40bf599f4a
Deprecating old APIs and attempting to document behavior correctly.
...
* Removed as many binary incompatibilities as I could find.
* Deprecating old APIs
* Attempt to construct new nomenclature that fits the design of Incremental API.
* Add as much documentation as I was comfortable writing (from my understanding of things).
2014-12-01 13:35:51 -05:00
James Roper
0f784ab101
Allow bytecode enhancement to update analysis
...
This breaks the loading/saving of the incremental compiler analysis out
into separate task, thereby providing the necessary hooks for byte code
enhancement tasks to enhance bytecode and update the analysis before the
analysis gets stored to disk.
2014-12-01 13:35:50 -05:00
Josh Suereth
e2942f167b
Merge pull request #1740 from j-keck/0.13
...
fix typo
2014-12-01 10:09:01 -05:00
j-keck
2e8c98f1a4
filter out hidden files
2014-11-24 06:34:56 +01:00
j-keck
f6c8faa992
fix typo
2014-11-23 13:59:42 +01:00
andrzej.jozwik@gmail.com
ce75c5a9b0
For backward compatibility - do not used duplicated imports
2014-11-21 09:11:09 +01:00
andrzej.jozwik@gmail.com
d9aadaf1e1
Multi import in one line
2014-11-20 23:10:03 +01:00
eugene yokota
473fc8476d
Merge pull request #1703 from sbt/wip/merge-0.13.7
...
Wip/merge 0.13.7
2014-10-29 21:36:36 -04:00
Tomasz Bartczak
96f57f9fcd
Fix for sbt#1180 - discovered classes are now sorted
2014-10-27 21:31:03 +01:00
Josh Suereth
2d3f57ad51
Fix the run logic so the mainClass setting is actually used when set.
2014-10-25 14:25:30 -04:00
Josh Suereth
b834be8bfa
Merge pull request #1669 from kretes/1648-warn-about-main-classes
...
Fix for https://github.com/sbt/sbt/issues/1648 - warn about multiple or no main classes
2014-10-23 07:37:07 -04:00
Eugene Yokota
7827682f41
Remove DefDef and check rhs
...
- lhs pattern matching occurs only for vals.
- def also breaks due to proc notation.
- instead of pretty printing, we can just check rhs.
2014-10-22 19:14:47 -04:00
Tomasz Bartczak
7a1a21d8c8
Fix for sbt#1648 - warn when no or multiple main classes
2014-10-22 22:42:01 +02:00
Eugene Yokota
97584457fa
merged #1662
2014-10-21 12:18:54 -04:00
andrzej.jozwik@gmail.com
6f9dfcce52
Revert brackets for backward compatibility (binary compatibility), addExplicitXmlContent use pattern matching, splitFile - does not return whitespace statements
2014-10-19 23:54:18 +02:00
andrzej.jozwik@gmail.com
8c0e400c11
Add ; instead of brackets to xml group
2014-10-17 22:23:20 +02:00
andrzej.jozwik@gmail.com
ef74db7319
Revert to previous version.
2014-10-14 11:24:12 +02:00
andrzej.jozwik@gmail.com
ddc80357dc
Add scala-stm file for unit test.
2014-10-14 08:30:20 +02:00
andrzej.jozwik@gmail.com
50ed84b748
Use original function
2014-10-13 22:53:45 +02:00
andrzej.jozwik@gmail.com
f1ab893f98
Fixed #1666 - check from last end of line.
2014-10-13 22:49:26 +02:00
Josh Suereth
d7c76aabf1
Merge pull request #1663 from sbt/wip/avoid-deprecated
...
enable -deprecation for Scala 2.10
2014-10-12 12:31:08 -04:00
Josh Suereth
5599b53692
Merge pull request #1653 from sbt/wip/fix-1649
...
Fixes #1649 . Exclusion rules and other cached resolution fixes
2014-10-12 12:01:22 -04:00
Eugene Yokota
3f958a5bce
enable -deprecation for Scala 2.10
...
Enable -deprecation flag to catch old code being use when we migrate
things.
In this commit I moved error to sys.error.
2014-10-10 15:42:26 -04:00
Josh Suereth
ddf8a173b0
Disable pattern matching in val syntax in sbt 0.13.7.
...
Fixes #1661 or at least works around it for now.
2014-10-10 13:47:02 -04:00
Eugene Yokota
8ddff28a9e
Fixes #1660
...
Provide overloads for transitiveScratch and updateClassifiers that work
with IvyActions.updateEither.
2014-10-10 00:34:05 -04:00
Josh Suereth
89a3e4982f
Add escape hatch to old parser in case we run into problems.
...
Just make sure users have the means to still build in case there's any
issues we missed. This code should be removed in sbt 1.0.
2014-10-08 15:00:48 -04:00
eugene yokota
0f2c6f89a1
Merge pull request #1645 from sbt/wip/no-blankies-rebased
...
Natural whitespace handling for SBT configuration parser AKA 'no more blankies'
2014-10-06 14:27:50 -04:00
Eugene Yokota
5afb9e1af7
Fixed json serialization turning license into {}.
2014-10-05 04:24:22 -04:00
Josh Suereth
009426d896
Documentation and renaming of "blankies" into somethign a bit easier to find.
...
* Rename SPlitExpression* to `SbtParser` denoting that is parses .sbt files
* Adds a few todos
* Document APIs for internal usage.
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
e230a17d3b
@deprecated("Removed from the public API", "2.11.0") def isDefined: Boolean
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
a67c5fd187
Comments #1630
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
97a96d5bf8
Split to small methods
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
dac3edb546
Split to small methods
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
963e75d182
Fixed #1630 . Remove last line if last statement is being removed
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
2a603da0a8
Moved tests to internal package
2014-10-03 14:22:52 -04:00
andrzej.jozwik@gmail.com
9294351e24
#1628
2014-10-03 14:22:52 -04:00
Josh Suereth
48be806dd4
Adding scaladoc commnets for SessionSettings, and fixing type in check file.
2014-10-03 14:22:51 -04:00
Josh Suereth
a8370880e0
Remove binary compatibility breakages and migrate new parser features into an internal package.
2014-10-03 14:22:51 -04:00
andrzej.jozwik@gmail.com
2019c6da62
findMissingText now searchs recursive
2014-10-03 14:22:51 -04:00