Eugene Yokota
4fd5d505f1
fixes #1719 . cached resolution: fixes handling of classifier and other explicit artifacts
2014-11-09 23:32:03 -05:00
Eugene Yokota
a832b4e6db
0.13.7-RC3
2014-11-06 13:56:24 -05:00
Josh Suereth
aae0f6ef40
Merge pull request #1715 from sbt/fix/1711
...
Fixes #1711 and #1704 . Cached resolution fixes
2014-11-06 07:45:54 -05:00
Eugene Yokota
af9e520e28
expand internal dependencies more accurately
2014-11-06 00:28:26 -05:00
Eugene Yokota
760a4ab5d2
Fixes #1704 . Fixes cached resolution + module-level exclusions
2014-11-04 19:01:30 -05:00
Eugene Yokota
ca0f3530f5
Fixes #1711 . Fixes cached resolution pulling in % "test" from subproj deps
2014-11-04 17:56:34 -05:00
Eugene Yokota
c1fc84662f
scalariform
2014-11-04 17:48:46 -05:00
Josh Suereth
c8f2f04dde
Merge pull request #1713 from sbt/fix/1710
...
Fixes cached resolution mutual eviction (drops slf4j)
2014-11-03 11:56:51 -05:00
Eugene Yokota
398e15ab63
Fixes #1710 . Fixed cached resolution mutual eviction
...
When stitching the minigraphs together only exclude the artifacts that
were evicted in *all* graphs, instead of some graphs.
Consider the following scenario:
- Y1 evicts slf4j-api 1.6.6 and picks 1.7.5
- Y2 evicts slf4j-api 1.7.5 and picks 1.6.6
At the root level, we need to use our own judgement and pick 1.7.5.
2014-11-01 20:50:41 -04:00
Eugene Yokota
97163f0951
rename scripted tests
2014-11-01 20:50:24 -04:00
eugene yokota
35ced948b0
Merge pull request #1709 from sbt/wip/notes-for-javac
...
Notes about the javac fix.
2014-10-31 16:06:49 -04:00
Josh Suereth
65ff778882
Notes about the javac fix.
2014-10-31 16:04:43 -04:00
eugene yokota
b9964d5153
Merge pull request #1702 from jsuereth/wip/incremental-compiler-javac-cleanup
...
Create a new API for calling Java toolchains.
2014-10-31 15:31:14 -04:00
Josh Suereth
3876082172
Merge branch 'wip/incremental-compiler-javac-cleanup' of https://github.com/jsuereth/xsbt into wip/incremental-compiler-javac-cleanup
2014-10-31 11:00:35 -04:00
Josh Suereth
a2e7b324f3
Fixes for windows.
...
* Move error parser into its own file.
* Add the ability to parse Windows filenames.
* Remove existence check for the file as a mandatory.
* Add specific test for the parser.
2014-10-31 10:58:51 -04:00
Josh Suereth
75402b26f2
More fixes from review.
...
* Fix regex for end of line.
* Rename NewJavaTool and friends to remove the New.
2014-10-30 19:37:22 -04:00
Josh Suereth
8d158e5ab6
TODO cleanups based on @havocp's comments.
2014-10-30 13:28:41 -04:00
Josh Suereth
5f9f38f300
Fix cross-JDK issues around invalid URIs in JDK6
2014-10-29 21:55:14 -04: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
Josh Suereth
624a74dcd6
Attempt to fix unit test for TravisCI.
2014-10-29 21:15:10 -04:00
Josh Suereth
31088791da
Reset sbt version after merge.
2014-10-29 20:33:40 -04:00
Josh Suereth
9aacec8918
Bump RC version for release.
2014-10-29 20:13:25 -04:00
Josh Suereth
70cdce0830
Create a new API for calling Java toolchains.
...
* Create a new sbt.compiler.javac package
* Create new interfaces to control running `javac` and `javadoc` whether forked or local.
* Ensure new interfaces make use of `xsbti.Reporter`.
* Create new method on `xsbti.compiler.JavaCompiler` which takes a `xsbti.Reporter`
* Create a new mechanism to parse (more accurately) Warnings + Errors, to distinguish the two.
* Ensure older xsbti.Compiler implementations still succeed via catcing NoSuchMethodError.
* Feed new toolchain through sbt.actions.Compiler API via dirty hackery until we can break things in sbt 1.0
* Added a set of unit tests for parsing errors from Javac/Javadoc
* Added a new integration test for hidden compilerReporter key, including testing threading of javac reports.
Fixes #875 , Fixes #1542 , Related #1178 could be looked into/cleaned up.
2014-10-29 20:06:08 -04:00
Josh Suereth
8ba4f051e0
Merge pull request #1700 from sbt/fix/1699
...
Fixes #1699 . ignore transitive force during cached resolution
2014-10-28 22:49:21 -04:00
Eugene Yokota
9482509b32
added comments
2014-10-28 22:31:20 -04:00
Eugene Yokota
6b4ec33ea0
modify test that test transitive force
...
This test relies on force having effect transitively for cached
resolution.
2014-10-28 16:27:55 -04:00
Josh Suereth
da880abe51
Merge pull request #1698 from sbt/wip/bc-regression
...
Fix BC issue discovered in #1696 .
2014-10-28 14:35:40 -04:00
Eugene Yokota
a54777d4f2
Fixes #1699 . ignore transitive force during cached resolution
...
When Ivy translates pom to ivy.xml, it adds force=“true”.
So when both non-Maven dependencies and Maven dependencies are mixed, Maven dependencies always wins, which is the case for scala-library dependency added by the user.
2014-10-28 14:28:33 -04:00
Josh Suereth
e72fbff20a
Merge pull request #1695 from kretes/1180-sorted-main-classes
...
Fix for sbt#1180 - discovered classes are now sorted
2014-10-28 13:35:05 -04:00
eugene yokota
ed0f3c9c95
Merge pull request #1694 from sbt/wip/mainClassBreakage
...
Fix the run logic so the mainClass setting is actually used when set.
2014-10-28 10:45:50 -04:00
Josh Suereth
fe712173f3
Fix BC issue discovered in #1696 .
...
Def.derive has a new parameter, so we add an override which delegates down to the new method.
2014-10-28 10:21:41 -04:00
Tomasz Bartczak
96f57f9fcd
Fix for sbt#1180 - discovered classes are now sorted
2014-10-27 21:31:03 +01:00
Josh Suereth
01550a47be
Add automated tests for main-class regression.
2014-10-27 11:53:55 -04: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
bfb4351fd7
Fix markdown for code example.
2014-10-24 18:55:00 -04:00
Josh Suereth
62d170f717
Add warning about incompatible parser.
2014-10-24 18:52:12 -04:00
Josh Suereth
bd2fef571e
Bump version for 0.13.7-RC1
2014-10-24 16:36:05 -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
Josh Suereth
2ce85b2dcd
Merge pull request #1686 from sbt/wip/fix-1684
...
Fixes #1684 . cached resolution applies overrides on conflict
2014-10-23 07:35:52 -04:00
Eugene Yokota
65e663ee8e
Fixes #1684 . cached resolution applies overrides on conflict
...
This change brings over dependency overrides to artificial graph.
However, it seems forced might win, so I need to take overrides logic
in account during conflict resolution.
2014-10-22 19:15:54 -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
Josh Suereth
577c555d81
Merge pull request #1671 from ajozwik/0.13
...
Improve xml handling
2014-10-20 20:21:09 -04:00
Josh Suereth
2ece67e42f
Merge pull request #1683 from sbt/wip/revert-chain-resolver
...
Revert chain resolver by default, for older behavior.
2014-10-20 16:35:52 -04:00
Josh Suereth
5e0bf71c51
Fix notes with appropriate link.
2014-10-20 12:27:51 -04:00
Josh Suereth
c367c83d21
Revert chain resolver by default, for older behavior.
...
The issue comes into play where we cannot accurately get a publication date from Maven artifacts, leading to the current
mechanism having undefined behavior and causing other bugs to pop up in resolution.
2014-10-20 12:26:40 -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
Josh Suereth
a1644899c7
Merge pull request #1680 from sbt/wip/fix-1677
...
Fixes #1677 . Provide URLSerializer.
2014-10-18 17:18:05 -04:00
Eugene Yokota
ff18062c86
Fixes #1677 . Provide URLSerializer.
...
Without this json4s is unable to parse URLs.
2014-10-18 07:15:52 -04:00