Commit Graph
2207 Commits
Author SHA1 Message Date
Orr Sella 4e47698af2 Added sbt-sublime to community plugins 2013-02-05 21:09:00 -05:00
Mark Harrah 5ae35a34d3 0.12.2 v0.12.2 2013-01-16 10:32:15 -05:00
Mark Harrah 56e56c00b5 Docs: no need to copy sources, which aren't used anywhere on the site 2013-01-16 10:32:02 -05:00
Matthew Farwell 64e452d0cd Added scalastyle to community plugins 2013-01-15 08:41:54 -05:00
beolnix 61754e8284 fix documentation bug: the main class should be "sbt.ScriptMain" in the paragraph about the scalas 2013-01-15 08:41:52 -05:00
Mark Harrah 453591d35b fix Incremental.scala link, thanks to @fernandezpablo85 2013-01-05 10:18:25 -05:00
Mark Harrah 7c58191e86 Convert references to harrah/xsbt to sbt/sbt 2013-01-05 10:18:14 -05:00
Mark Harrah 63c5ba4da3 0.12.2-RC2 v0.12.2-RC2 2013-01-03 13:49:42 -05:00
Mark Harrah 2296e874c1 make backported changes compatible with 2.9.x 2013-01-03 13:49:41 -05:00
Mark Harrah fc9a62a6e0 use proper separator in command tab completion 2013-01-03 13:21:59 -05:00
Mark Harrah a2a74ed57b require a failure message for parser 2013-01-03 13:09:54 -05:00
Mark Harrah bba232d02f Docs: fix reference to 0.7 docs 2013-01-03 10:41:24 -05:00
Mark Harrah ca2f8ec732 precompile against 2.10.0 2012-12-20 15:10:41 -05:00
Mark Harrah df317b3802 Fix mappings declaration in Howto/package to correctly call 'map' 2012-12-20 12:42:28 -05:00
Mark Harrah fe7583318c 0.12.2-RC1 v0.12.2-RC1 2012-12-13 15:42:07 -05:00
Mark Harrah 71437a804c fix backported scripted tests for dependency-management/exclude-scala and actions/call 2012-12-13 12:37:49 -05:00
Mark Harrah 0838e3080b fix scripted tests broken by wrong hashes in maven central 2012-12-12 16:38:19 -05:00
Grzegorz Kossakowski 534b554ebb 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-12 16:12:34 -05:00
Mark Harrah 909f12cfeb initial list of 0.12.2 changes 2012-12-12 16:12:13 -05:00
Mark Harrah f2855bc856 update 'apply' help string to include -cp option 2012-12-12 16:12:00 -05:00
Mark Harrah 8de9a8bc95 Pending test for #466, which is not fixed by running after pickler instead of typer. Ref #609. 2012-12-12 16:11:46 -05:00
Adriaan Moors f9ed4f70d7 Fix #610: represent refinement typerefs stably
goal:

a representation of a type reference to a refinement class that's stable
across compilation runs (and thus insensitive to typing from source or
unpickling from bytecode)

problem:

the current representation, which corresponds to the owner chain of the
refinement:

  1. is affected by pickling, so typing from source or using unpickled
  symbols give different results (because the unpickler "localizes"
  owners -- this could be fixed in the compiler in the long term)

  2. can't distinguish multiple refinements in the same owner (this is
  a limitation of SBT's internal representation and cannot be fixed in
  the compiler)

solution:

expand the reference to the corresponding refinement type: doing that
recursively may not terminate, but we can deal with that by
approximating recursive references (all we care about is being sound for
recompilation: recompile iff a dependency changes, and this will happen
as long as we have one unrolling of the reference to the refinement)
2012-12-12 16:11:00 -05:00
Mark Harrah ef4e90b6c9 Only make one call to test frameworks per test name. Fixes #520.
- Requires selecting one fingerprint if there are more than one
- The selected fingerprint is by reverse ordering of Framework.tests
- Reverse ordering chosen to work with junit-interface without changes
2012-12-12 16:10:30 -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
Josh Suereth 4b302a874e Adding some documentation to Launcher interface.
* Documented most of the heavily used methods in Launcher.
* Need to decide whether or not getScala is 'deprecated' or just disuaded in the future.
2012-12-12 16:04:43 -05:00
Lex Spoon b4b5da16d0 Fix -Yrangepos. Unlike other settings, it requires that a mixin be added to Global. 2012-12-12 16:04:15 -05:00
Mark Harrah 7753a29ea0 Disable aggregation for run-main by default 2012-12-12 16:02:42 -05:00
Mark Harrah 2fe221c892 ConflictWarning cleanup, added strict convenience method for failing on any conflicts 2012-12-12 16:01:17 -05:00
Mark Harrah 77edfb4c92 comment EvaluateTask.apply methods 2012-12-12 16:01:06 -05:00
Mark Harrah b3b56ff552 concurrent restrictions: Untagged should be set based on the task's tags, not the tags of all tasks. 2012-12-12 16:00:55 -05:00
Mark Harrah 2c1443892f When preserving last modified, convert negative values to 0
File.lastModified can return a negative number, but File.setLastModified doesn't accept
negative numbers.  See Java bug #6791812.
2012-12-12 15:59:24 -05:00
Eugene Vigdorchik aedb52e431 Use java.lang.Throwable.setStackTrace. Proper fix for #543. 2012-12-12 15:59:16 -05:00
Mark Harrah 0967e251ce Docs: Working with macros. Closes #573. 2012-12-12 15:58:51 -05:00
Mark Harrah c81c9e0bf5 Fixes #582. Don't merge dependencies with mismatched transitive/force/changing values.
This avoids the assertion, but note that Ivy is unlikely to work properly in this situation.
2012-12-12 15:58:45 -05:00
Eugene Vigdorchik 7d8002c5e8 Filter out null parent files when deleting empty directories. Closes #589. 2012-12-12 15:58:26 -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 6b0a2c7113 Handle removed files when skipping to recompiling all files. 2012-12-12 15:57:51 -05:00
Mark Harrah c771312089 fix location of sbt-git in project/source-plugins test 2012-12-12 15:57:42 -05:00
Mark Harrah 4cb73270cf test for #594 2012-12-12 15:57:35 -05:00
Mark Harrah dc4331eeb5 Docs: concurrentRestrictions should be 'in Global' 2012-12-12 15:57:01 -05:00
Mark Harrah b64a1e9d06 had to drop non-ascii unicode characters for latex for now 2012-12-12 15:56:15 -05:00
Mark Harrah 5590c6252c fix broken commit 2012-12-12 15:56:07 -05:00
Mark Harrah be0279babb Work around File constructor not accepting URIs for UNC paths. Fixes #564. 2012-12-12 15:55:57 -05:00
Mark Harrah cd7d915ef3 Recompile everything when invalidated sources exceed a certain fraction of all sources 2012-12-12 15:55:32 -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
nau 1102bc84cb Update compile/inc/Incremental.scala
Fix for http://stackoverflow.com/questions/12972183/sbt-always-does-full-rebuild-because-of-modified-binary-dependency-rt-jar
def externalBinaryModified uses java.io.File.equals() to check if files are the same. It's better to use File.getCanonicalPath in this case.
2012-12-12 15:52:24 -05:00
Eugene Vigdorchik c693fce585 Call System.exit after the main thread is finished. Closes #565. 2012-12-12 15:52:07 -05:00