Commit Graph

10242 Commits

Author SHA1 Message Date
Eugene Yokota 6b012b45fa Bump librarymanagement to 0.1.0-M9. Ref #2500 2016-05-06 13:10:39 -04:00
Martin Duhem 5e7e64e1c6 Mark test dependency-management/default-artifact as passing 2016-05-06 13:04:17 -04:00
Martin Duhem 49a934ffdb Pending test for sbt/sbt#2431 2016-05-06 13:04:17 -04:00
eugene yokota 6a9ced8eb6 Merge pull request #2589 from eed3si9n/wip/bumptozinc
[sbt 1.0] Bumping up to Zinc 1.0.0-M1
2016-05-06 05:40:58 -04:00
Eugene Yokota 60fa2b842a Renamed per review 2016-05-06 01:41:17 -04:00
Eugene Yokota 03c3c5cf08 Fixes project/auto-plugins and add pending test for nested
There seems to be an issue with the discovery of auto plugins in an
inner nested class. The error you would get is:

[info] java.lang.ClassNotFoundException: sbttest.Imports.A$
[info] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[info] 	at java.security.AccessController.doPrivileged(Native Method)
[info] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[info] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[info] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[info] 	at java.lang.Class.forName0(Native Method)
[info] 	at java.lang.Class.forName(Class.java:249)
[info] 	at
sbt.internal.inc.ModuleUtilities$.getObject(ModuleUtilities.scala:16)
[info] 	at
sbt.internal.inc.ModuleUtilities$.getCheckedObject(ModuleUtilities.scala
:22)
[info] 	at
sbt.internal.inc.ModuleUtilities$$anonfun$getCheckedObjects$1.apply(Modu
leUtilities.scala:25)
[info] 	at
sbt.internal.inc.ModuleUtilities$$anonfun$getCheckedObjects$1.apply(Modu
leUtilities.scala:25)
[info] 	at scala.collection.immutable.Stream.map(Stream.scala:418)
[info] 	at
sbt.internal.inc.ModuleUtilities$.getCheckedObjects(ModuleUtilities.scal
a:25)
[info] 	at sbt.PluginDiscovery$.loadModules(PluginDiscovery.scala:138)
[info] 	at
sbt.PluginDiscovery$.binarySourceModules(PluginDiscovery.scala:132)
[info] 	at sbt.PluginDiscovery$.discover$1(PluginDiscovery.scala:36)
[info] 	at sbt.PluginDiscovery$.discoverAll(PluginDiscovery.scala:45)
[info] 	at sbt.internal.Load$.loadPlugins(Load.scala:856)
2016-05-06 01:39:13 -04:00
Eugene Yokota f8ef449789 Fix test quick 2016-05-06 01:30:35 -04:00
Eugene Yokota 18ef703386 Fix test framework tests 2016-05-06 00:34:12 -04:00
Eugene Yokota 28c37d1014 Fixes source-dependencies/transitive-memberRef 2016-05-06 00:12:07 -04:00
Eugene Yokota ee6af2c06d Remove trait-super test from sbt/sbt 2016-05-05 23:59:30 -04:00
Eugene Yokota f2ad99594e Remove trait-private-var test from sbt/sbt 2016-05-05 23:44:11 -04:00
Eugene Yokota e3560e4ed6 Old incremental compiler is no more 2016-05-05 23:37:31 -04:00
Eugene Yokota 8e7ab49594 Disable source-dependencies/import-class 2016-05-05 23:32:13 -04:00
Eugene Yokota c4ca5b0fd7 Fix source-dependencies/cross-source 2016-05-05 23:30:32 -04:00
Eugene Yokota 0eba0c35ca Fix project/isolated-build-definitions 2016-05-05 23:26:29 -04:00
Eugene Yokota a39295bdaf Fix project/global-plugin 2016-05-05 23:26:04 -04:00
Eugene Yokota 72e89496b5 Fix project/flatten 2016-05-05 23:16:41 -04:00
Eugene Yokota d09a164c92 Fix project/binary-plugin 2016-05-05 22:51:42 -04:00
Eugene Yokota 8875b6819f Fix project/auto-import 2016-05-05 22:46:14 -04:00
Eugene Yokota c0da8561cb Fix compiler-project/semantic-errors 2016-05-05 21:49:39 -04:00
Eugene Yokota 88f72b62d9 Remove run2.8 test 2016-05-05 21:46:31 -04:00
Eugene Yokota 5d8b3e7dd9 Remove int-ant-style test 2016-05-05 21:45:52 -04:00
Eugene Yokota ea941545e4 Fix apiinfo/show-circular-structure 2016-05-05 21:27:12 -04:00
Eugene Yokota 738e8fb2f3 Adjust discovery code to new Zinc 2016-05-05 16:11:57 -04:00
Eugene Yokota fd7c162ea8 Bumping up dependencies 2016-05-05 14:38:24 -04:00
Eugene Yokota ba398b5b9c Update dependencies 2016-05-04 23:13:28 -04:00
Eugene Yokota daaa45f494 0.1.0-M12 2016-05-04 16:28:17 -04:00
Eugene Yokota 9c49a0ed9f Update dependencies 2016-05-04 16:27:29 -04:00
eugene yokota f8b25801e4 Merge pull request #2586 from eed3si9n/wip/backwardcompat
[sbt 1.0] We shouldn't cross publish as sbt_2.11 for backward compatibility
2016-05-04 11:01:03 -04:00
Martin Duhem c70c9989e5 Upgrade to latest zinc 2016-05-04 16:44:31 +02:00
Martin Duhem 893267785f Update to util 0.1.0-M11 2016-05-04 12:29:01 +02:00
Eugene Yokota e3d2af9e40 We shouldn't cross publish sbt for backward compatibility
By keeping sbt artifact to be called sbt, the user can try by just
changing the build properties.
2016-05-04 00:09:02 -04:00
Eugene Yokota 5a60c0eea7 0.1.0-M11 2016-05-03 17:09:22 -04:00
eugene yokota 0da2f30ee8 Merge pull request #41 from eed3si9n/wip/2469
FPORT: Completion for build-level keys
2016-05-03 11:47:29 -04:00
Guillaume Martres b8e490fbfe CONTRIBUTING.md: Fix error in scripted test command 2016-05-02 07:54:49 -04:00
eugene yokota dc6fbaff8a Merge pull request #2582 from eed3si9n/wip/sbinary
Remove external dependencies
2016-05-02 06:10:08 -04:00
eugene yokota 93418589b7 Merge pull request #40 from eed3si9n/wip/sbinary
Bump to sbinary 0.4.3
2016-05-02 05:53:23 -04:00
Martin Duhem 605beef7d3 Address problems reported by Codacy 2016-05-02 05:51:01 -04:00
Martin Duhem 1f45027b3a Completion for build-level keys
sbt's shell provided completion only for keys that were relative to a
defined project, but didn't provide completion for keys that belong to
the build definition only.

This commit fixes this issue by defining a new kind of `Parser` (from
which completions are generated) which runs its input simultaneously on
distinct parsers. We now define a parser for project-level keys and
another parser for build-level keys. These two parsers are eventually
combined, and we get the completions of both parsers.

Fixes sbt/sbt#2460
2016-05-02 05:50:28 -04:00
Eugene Yokota 0acf05626a Remove external dependencies 2016-05-02 04:17:22 -04:00
eugene yokota 6703c98f73 Merge pull request #2581 from eed3si9n/wip/forward_porting
FPORT: Various ports
2016-05-02 04:03:08 -04:00
Eugene Yokota 30ee653e82 Bump to sbinary 0.4.3
sbinary 0.4.3 is available from Maven Central
2016-05-02 04:00:57 -04:00
Dale Wijnand cc76d9ccd8 Merge pull request #39 from eed3si9n/wip/jline
FPORT: Workaround for Jline regression
2016-05-02 08:51:20 +01:00
eugene yokota d49b6fd420 Fixes #2480. Workaround for Jline regression (#2570)
Workaround jline/jline2#205
2016-05-02 03:27:38 -04:00
Eugene Yokota 89a17c79d6 Adjust to changes 2016-05-02 01:37:16 -04:00
Eugene Yokota ab43ec51d8 Adds a scripted test that tests repo override 2016-05-01 03:31:18 -04:00
Eugene Yokota 296758e159 Fix #2519. Fixes Maven Central getting included even with repo override 2016-05-01 03:19:34 -04:00
Eugene Yokota e3a06b72c0 Use 0.13.11 2016-05-01 03:06:26 -04:00
Eugene Yokota 78ea2932a4 Fixes #2427 inter-project dependency interference with sbt-web
sbt-web uses exportedProducts key as an extension point.
This removes exportedProductsAlways from 0.13.10-RC1,
and uses exportedProducts instead.
2016-05-01 02:59:06 -04:00
Eugene Yokota 447e2f7f8c Inter-project dependency tracking. Fixes #2266
Adds `trackInternalDependencies` and `exportToInternal` settings. These
can be used to control whether to trigger compilation of a dependent
subprojects when you call `compile`. Both keys will take one of three
values: `TrackLevel.NoTracking`, `TrackLevel.TrackIfMissing`, and
`TrackLevel.TrackAlways`. By default they are both set to
`TrackLevel.TrackAlways`.

When `trackInternalDependencies` is set to `TrackLevel.TrackIfMissing`,
sbt will no longer try to compile internal (inter-project) dependencies
automatically, unless there are no `*.class` files (or JAR file when
`exportJars` is `true`) in the output directory. When the setting is
set to `TrackLevel.NoTracking`, the compilation of internal
dependencies will be skipped. Note that the classpath will still be
appended, and dependency graph will still show them as dependencies.
The motivation is to save the I/O overhead of checking for the changes
on a build with many subprojects during development. Here's how to set
all subprojects to `TrackIfMissing`.

    lazy val root = (project in file(".")).
      aggregate(....).
      settings(
        inThisBuild(Seq(
          trackInternalDependencies := TrackLevel.TrackIfMissing,
          exportJars := true
        ))
      )

The `exportToInternal` setting allows the dependee subprojects to opt
out of the internal tracking, which might be useful if you want to
track most subprojects except for a few. The intersection of the
`trackInternalDependencies` and `exportToInternal` settings will be
used to determine the actual track level. Here's an example to opt-out
one project:

    lazy val dontTrackMe = (project in file("dontTrackMe")).
      settings(
        exportToInternal := TrackLevel.NoTracking
      )
2016-05-01 02:57:03 -04:00