Commit Graph

3648 Commits

Author SHA1 Message Date
Josh Suereth 04e32b7859 Merge pull request #1303 from sbt/wip/merge-0.13.2
Merge 0.13.2
2014-05-01 10:51:50 -04:00
Jarek Sacha e69a0bc79e Added links to `imagej` and `install4j` plugins 2014-05-01 09:55:59 -04:00
rschatz 13322a2d0d added npt as new Utility Plugin 2014-05-01 09:55:53 -04:00
Josh Suereth 26b7a5cea1 removing last type in python conf. 2014-05-01 09:55:46 -04:00
Josh Suereth 2adbe0e1e8 Fix for new location of MSI files. 2014-05-01 09:55:32 -04:00
Josh Suereth 1508c967a9 Fix native package location for bintray distribution. 2014-05-01 09:55:26 -04:00
Dan Sanduleac 96c7864088 Add 2 derived settings tests:
1) non-default derived settings, if they produce anything, the settings
   they produce must supersede previous assignents (in the settings seq)
   to the same key.

2) even if a derived setting is scoped at a higher scope (e.g.
   ThisBuild) the settings it produces are scoped at the intersection of
   that (the defining) scope and the scope of the triggering dependency.

2 is particularly nice as it enables this behaviour:
    derive(b in ThisBuild := a.value + 1)
    a in project1 := 0
    // a could be defined in all projects
    ==>
    Now (b in project1).value == (a in project1).value + 1 == 1
    and similarly in all other projects
    all with a single derived setting
2014-05-01 03:11:22 +01:00
Dan Sanduleac 0489fa817b Improve SettingsExample to allow orthogonal scopes (like projects/tasks) at a certain nestIndex 2014-05-01 03:09:50 +01:00
Dan Sanduleac 512494cd04 Couple of fixes 2014-05-01 01:35:48 +01:00
Dan Sanduleac 0377a40cf8 Optimise scope intersection for GlobalScope 2014-05-01 01:35:48 +01:00
Dan Sanduleac f485270adf Put sbt's derived settings under GlobalScope 2014-05-01 01:35:48 +01:00
Dan Sanduleac 3161d75a41 Decouple DefaultSetting from Setting/DerivedSetting; BuildCommon.derive() produces default settings by default 2014-05-01 01:35:48 +01:00
Dan Sanduleac 4f7b6e269b Derive settings only under the scope of the DerivedSetting 2014-05-01 01:35:48 +01:00
Dan Sanduleac ae5af2116f Derived settings to replace their DerivedSetting, not go at the beginning 2014-05-01 01:35:48 +01:00
Dan Sanduleac e06c4efe4f DerivedSetting not a DefaultSetting anymore 2014-05-01 01:35:48 +01:00
Josh Suereth c855dbd854 Merge pull request #1300 from cunei/wip-fix-ivy-move
Do not attempt to publish if no artifacts are present
2014-04-30 14:41:51 -04:00
Antonio Cunei 350619545d Do not attempt to publish if no artifacts are present
Ivy transactional publishing will abort if no artifacts
are published, either because the temporary directory is
not being created, or because Ivy will detect an anomalous
condition.

Therefore, skip publishing altogether if there is
nothing to publish to begin with.
2014-04-30 17:40:58 +02:00
eugene yokota 2a0fef6700 Merge pull request #1270 from oscarvarto/spanishTranslation
Initial Spanish translation of documentation
2014-04-28 11:25:58 -04:00
eugene yokota 42c1fdcd5c Merge pull request #1296 from sbt/wip/revert-scala-2.11
Revert "add precompiled 2.11.0"
2014-04-28 11:22:42 -04:00
Josh Suereth 3121f2f278 Revert "add precompiled 2.11.0"
This reverts commit 36ec103274.

This 2.11.0 dependency was causing issues with older sbt launchers
attempting to use the 2.11.0 scala release for sbt's classloader,
leading to binary incompatibility issues.
2014-04-28 07:46:44 -04:00
Josh Suereth c61bef7c35 Merge pull request #1295 from zavakid/0.13
add sbt-one-log into Community Plugins
2014-04-28 07:42:03 -04:00
Josh Suereth 1fca869941 Merge pull request #1292 from jaceklaskowski/docs-resourceGenerators
Removing remaining mentions of "<+="
2014-04-28 07:35:24 -04:00
Zava 1cb1da5184 add sbt-one-log into Community Plugins 2014-04-28 11:57:16 +08:00
Jacek Laskowski 1a0ca0a7a5 Removing remaining mentions of "<+=" 2014-04-27 21:39:49 +02:00
Josh Suereth 71b3d5ea30 Merge pull request #1291 from jaceklaskowski/docs-externalIvyFile
Def.setting needed for externalIvyFile
2014-04-27 09:26:50 -04:00
Jacek Laskowski b31c8740e3 Def.setting needed for externalIvyFile 2014-04-27 00:04:40 +02:00
Josh Suereth 5290e4ace4 Merge pull request #1285 from jaceklaskowski/docs-changes-alone
Docs changes alone
2014-04-25 07:56:56 -04:00
Josh Suereth 90eb46b731 Merge pull request #1286 from jaceklaskowski/reload-detailed-help
Detailed help for the reload command (following project's)
2014-04-25 07:55:23 -04:00
Josh Suereth d25148e7b1 Merge pull request #1236 from urbas/0.13
Implemented the fileParser and added DynamicExamples.
2014-04-25 07:54:31 -04:00
Jacek Laskowski 95b976b6d4 Detailed help for the reload command (following project's) 2014-04-24 23:53:31 +02:00
Jacek Laskowski a2c64569f5 Missed a change 2014-04-24 23:40:17 +02:00
Jacek Laskowski a66a43d31c sbt 0.13 value macro + few smaller changes 2014-04-24 23:36:12 +02:00
eugene yokota 368d94eef8 Merge pull request #1280 from xuwei-k/precompiled2110
add precompiled 2.11.0
2014-04-23 12:52:33 -04:00
xuwei-k 36ec103274 add precompiled 2.11.0 2014-04-24 00:51:44 +09:00
eugene yokota 1819276bb8 Merge pull request #1278 from sbt/wip/junit-xml-reporter
Migrate JUnitXmlReporter into sbt as autoplugin
2014-04-22 16:53:02 -04:00
eugene yokota 9d86d56797 Merge pull request #1277 from sbt/fix/issue-1267
Separate location of analysis cache if we're cross compiling scala.
2014-04-22 13:45:49 -04:00
eugene yokota 070f164a32 Merge pull request #1276 from sbt/wip/run-finalizer-after-tasks
Automatically run GC/finalization after each task execution.
2014-04-22 11:33:10 -04:00
Josh Suereth 373166be36 Adding docs for the test report hooks. 2014-04-22 11:29:13 -04:00
Josh Suereth fc3f6dd1d9 Remove enabling key for JunitXmlReportPlugin.
This migrates JunitXmlReportPlugin to work the way we desire
new sbt features/plugins to work:

* Enabling the feature is having the plugin available.
* Disabling the feature is disabling the plugin
* All code/settings for the feature are isolated to the plugin.
2014-04-22 11:23:15 -04:00
Josh Suereth f5dd022551 Separate location of analysis cache if we're cross compiling scala.
* Add task to determine file-name of analysis cache
* If crossPaths := true, then add scala binary version to the analysis cache name.

This makes it possible to leverage incremental compilation with the `+` command.

Fixes #1267
2014-04-22 11:12:59 -04:00
Josh Suereth 447ae8b1d8 Migrate JUnitXmlReport into an autoplugin. 2014-04-22 10:38:35 -04:00
Bruno Bieth b38b86add5 Added a test reporter for JUnit XML
Taken from https://github.com/chenkelmann/junit_xml_listener and slightly improved.
Activating is now just a matter of setting `testReportJUnitXml` to true.
This not only brings a very handy feature (hudson/jenkins support that syntax),
but gives more options for testing the SBT test infrastructure.
For instance checking that the test output is well segregated during a parallel
test run is just a matter of checking the report output.

Conflicts:
	main/src/main/scala/sbt/Keys.scala
2014-04-22 08:36:52 -04:00
Josh Suereth e076bfa970 Automatically run GC/finalization after each task execution.
Fixes #1223.

* Add a new key to disable forcing the garbage collector to run
  after each task-executioin
* Add a new flag to disable forcing the garbage collector to run
  after each task-exeuction
* Add a hook into EvalauteTask to run System.gc/System.runFinalization
  after each task execution

Review by @eed3si9n
2014-04-21 11:08:05 -04:00
Grzegorz Kossakowski 3aa70b914a Merge pull request #1273 from gkossakowski/lastCompilationTime
Use dedicated api for lastCompilationTime in build definition
2014-04-18 18:54:53 +02:00
Grzegorz Kossakowski 37e57f7940 Use dedicated api for lastCompilationTime in build definition
Since sbt 0.13.0, we have dedicated API in Analysis that gives access to
information about all compilations performed since the last time clean
was ran.

By looking at at last compilation we can determine lastCompilationTime
value.

Fixes #1272
2014-04-18 18:50:17 +02:00
Matej Urbas 247252fac1 Reintroduced the `examples` method. Reintroduced and deprecated the `checkMatches` method. 2014-04-18 16:44:26 +01:00
Matej Urbas 186c4c0db4 Merge remote-tracking branch 'remotesbt/0.13' into 0.13 2014-04-18 13:48:19 +01:00
Oscar Vargas Torres bd7ec1da58 Initial Spanish translation of documentation 2014-04-17 20:09:11 -05:00
eugene yokota 72d3c4e3eb Merge pull request #1255 from sbt/wip/remove-depreated-evaluate-task-call
Remove deprecated EvaluateTask usage for new, easier to update variant.
2014-04-16 14:33:10 -04:00
eugene yokota 583391a069 Merge pull request #1263 from sbt/wip/docs-and-cleanups
addPlugins => enablePlugins
2014-04-16 13:59:40 -04:00