Commit Graph

10242 Commits

Author SHA1 Message Date
Mark Harrah ce439efab3 Convert references to harrah/xsbt to sbt/sbt 2013-01-04 17:22:40 -05:00
Mark Harrah 169a08df55 update version for backported Parser deprecations 2013-01-03 17:40:07 -05:00
Mark Harrah 3035cbf2d1 update version for backported Parser deprecations 2013-01-03 17:40:07 -05:00
Mark Harrah 4fa45f957d require a failure message for parser 2013-01-03 11:37:40 -05:00
Mark Harrah f0a72e53e8 use proper separator in command tab completion 2013-01-03 11:37:40 -05:00
Mark Harrah 4434d84f65 require a failure message for parser 2013-01-03 11:37:40 -05:00
Mark Harrah aba717c0c5 cleanup imports in BuildStructure 2013-01-03 11:37:40 -05:00
Mark Harrah bba310d162 Docs: fix reference to 0.7 docs 2013-01-03 11:37:40 -05:00
Mark Harrah b5587700fd use provisionally published sbinary 2012-12-31 14:06:28 -05:00
Mark Harrah b9a4526bce fix credentials for publishing 2012-12-31 12:42:36 -05:00
Mark Harrah 21fc872493 build: disable API/SXR generation until SI-6812 is resolved 2012-12-31 11:26:19 -05:00
Mark Harrah fad578dadc Docs: for 0.13 change summary, put in ignored toctree, link from Changes, fix subsection title 2012-12-31 09:36:19 -05:00
xuwei-k b5646946e4 ivy version 2.3.0-rc1 in documents 2012-12-31 09:23:23 -05:00
Mark Harrah c358512e0b use 2.10.0 final 2012-12-31 09:23:14 -05:00
Leon Sixt 2ea4470757 more customisation for dot output
with dependency-dot-head you can now  define your own dot head.
dependency-dot-node-label lets you customise the labels of the nodes
2012-12-21 18:48:39 +01:00
berleon 24c614d568 added dot settings to README.md 2012-12-21 15:31:46 +01:00
berleon 0097df8378 improved dot generation 2012-12-21 15:14:46 +01:00
berleon fd77497498 added testDotFileGeneration
it is a sbt-scripted project to test the dot generation process.
2012-12-21 15:14:25 +01:00
berleon 25a996752c removed com.typesafe.akka:akka-actor from libaryDependencies
there was a resolving problems so the test failed.
2012-12-21 15:13:06 +01:00
berleon 18e76737ec updatet to 0.7.1-SNAPSHOT 2012-12-21 15:06:23 +01:00
berleon 2c771d58e6 added dependencyDotFile Setting and dependencyDotTask 2012-12-21 10:56:13 +01:00
berleon b7ae723423 added saveAsDot method to IvyGraphMLDependencies that generates a simple dot file 2012-12-21 10:55:45 +01:00
berleon 4bc9e3f7df fixed Version unapply method 2012-12-21 10:55:18 +01:00
Mark Harrah 14ecc119ed add fix for #620 to the 0.12.2 changes page 2012-12-20 12:41:02 -05:00
Mark Harrah 89ad7d720a minor cleanup of previous commit: var->val in sbt.JLine 2012-12-20 09:25:35 -05:00
Mark Harrah 935267b96b minor cleanup of previous commit: var->val in sbt.JLine 2012-12-20 09:25:35 -05:00
Anthony 4ad81e9d04 Multi-line prompt text offset issue (ticket #625) 2012-12-20 08:56:20 -05:00
Anthony f7031502e4 Multi-line prompt text offset issue (ticket #625) 2012-12-20 08:56:20 -05:00
Mark Harrah cf355f1822 Fix incremental compilation problem with package objects inheriting from invalidated sources in a subpackage.
Resolution of https://issues.scala-lang.org/browse/SI-4695 seems to be to deprecate
inheriting from a class in a subpackage.  This commit is an alternative solution,
possibly to be reverted or restricted if resolution of SI-4695 changes or if this
proves to be too conservative in practice.

Review by @gkossakowski.  With separate inheritance/function call dependency tracking,
this probably should only pull in package objects with inheritance dependencies on
invalidated files.
2012-12-19 10:17:56 -05:00
Mark Harrah ea3e5c3548 Allow cleanKeepFiles to contain directories
The directory contents will be kept as will empty directories.
2012-12-19 10:17:56 -05:00
Mark Harrah 6c748d97c5 Docs: note that plugins are loaded in a parent loader of build code 2012-12-19 10:17:56 -05:00
Mark Harrah 329b42453b move Eval test to correct location 2012-12-19 10:17:56 -05:00
Mark Harrah f6317a5c75 remove deprecated Extracted.evalTask 2012-12-19 10:17:56 -05:00
Mark Harrah dd66d8b17a API documentation in Extracted 2012-12-19 10:17:56 -05:00
Mark Harrah c86c24c560 Docs: fix typo 2012-12-19 10:17:56 -05:00
Mark Harrah c2968afa25 initial 0.13 change summary 2012-12-17 19:15:26 -05:00
Mark Harrah 8ada452fa7 Docs: fix typo 2012-12-17 08:32:20 -05:00
Mark Harrah d156ccfe4e Further refinements to Scala version handling
- override location of resolved Scala jars when scalaInstance is unmanaged
- document current behavior: scalaHome, update, scalaInstance, autoScalaLibrary, managedScalaInstance
2012-12-16 18:56:22 -05:00
Grzegorz Kossakowski ae211ee33e Cleanup parameter list of `ScriptedTests`.
All of `sbtVersion`, `defScalaVersion` and `buildScalaVersions` were
not used anymore. According to @harrah they are coming from really
old days of sbt and are not needed because of changes to how sbt
interacts with different Scala versions.
2012-12-14 12:57:47 -05:00
Mark Harrah 71f12fbcdb 2.9 compatibility for incremental compilation modules 2012-12-11 14:41:22 -05:00
Grzegorz Kossakowski 4c1c31e190 Fix for dependency on class file corresponding to a package. (#620)
While trying to determine binary dependencies sbt lookups class files
corresponding to symbols. It tried to do that for packages and most of the
time would fail because packages don't have corresponding class file
generated. However, in case of case insensitive file system, combined
with special nesting structure you could get spurious dependency.
See added test case for an example of such structure.

The remedy is to never even try to locate class files corresponding to
packages.

Fixes #620.
2012-12-10 13:53:52 -05:00
Grzegorz Kossakowski 482b59be5d Add test for pickled refinement types bug (#610). 2012-12-10 09:22:57 -05:00
Grzegorz Kossakowski bdfc16b5f4 Add test for pickled existential types bug (#616)
This test fails at the moment because there's one unnecessary
compile iteration performed. Thus the test is marked as pending.

Since the test is compiler version specific, I set it to 2.9.2
(latest stable version).
2012-12-10 09:22:38 -05:00
Grzegorz Kossakowski 78b0f485fa Add `compilations` field to `Analysis`.
We store `Seq[xsbt.api.Compilation]` in `Analysis`. Compilation are
being appended to sequence for every iteration of the incremental
compiler.

Note that `Compilation`s are never removed from the sequence unless
you start from scratch with empty `Analysis`. You can do that by using
sbt's `clean` command.

The main use-case for using `compilations` field is to determine how
many iterations it took to compilen give code. The `Compilation` object
are also stored in `Source` objects so there's an indirect way to recover
information about files being recompiled in every iteration.

Since `Analysis` is persisted you can use this mechanism to track entire
sessions spanning multiple `compile` commands.
2012-12-10 09:15:52 -05:00
Mark Harrah 532c72e60e initial list of 0.12.2 changes 2012-12-09 20:40:41 -05:00
Mark Harrah 230a13d010 use new input task syntax for project/settings 2012-12-09 20:40:41 -05:00
Mark Harrah f388b07632 fix inputTask construction method and put sbt package object in proper directory 2012-12-09 20:40:41 -05:00
Mark Harrah e3745540c9 More cleanup of Scala version handling, including managedScalaInstance to control automatic 'scala-tool' configuration and dependencies. 2012-12-09 20:40:41 -05:00
Mark Harrah 912948f5c8 update 'apply' help string to include -cp option 2012-12-09 20:40:41 -05:00
Mark Harrah 1d18532bf0 mark Typesafe repositories as bootOnly, remove Sonatype snapshots now that Scala is resolved by the project 2012-12-09 20:40:41 -05:00