Commit Graph

4616 Commits

Author SHA1 Message Date
Eugene Yokota 0cc9488632 Bring BuildStructure and others into internal 2016-05-06 19:21:13 -04:00
Eugene Yokota ce3926fbed Bring EvaluateConfigurations and DslEntry to internal 2016-05-06 17:32:26 -04:00
Eugene Yokota 6304b24916 Remove old specification file from this location 2016-05-06 16:04:24 -04:00
Eugene Yokota ee272d780e Reorganize directory structure 2016-05-06 16:01:49 -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 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
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 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 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
Martin Duhem b086360046 Update bridge retrieval in `consoleProject`
Fixes sbt/sbt#2428
2016-05-01 02:49:11 -04:00
Eugene Yokota faf0683a7a 0.13.11 notes 2016-05-01 01:26:18 -04:00
eugene yokota 3351873a22 Merge pull request #2578 from xuwei-k/fix-2552
exclude directories from unmanagedSources
2016-04-30 13:44:56 -04:00
xuwei-k a6e31a0dc7 exclude directories from unmanagedSources
fix #2552
2016-04-30 11:13:02 +09:00
eugene yokota 2590f2d3d1 Merge pull request #2577 from eed3si9n/wip/bumpscala
[sbt 1.0] Bump to Scala 2.11.8
2016-04-29 17:20:30 -04:00
Eugene Yokota e4ee409cd5 Some changes due to cross publishing 2016-04-29 16:18:40 -04:00
Eugene Yokota 9e10f01363 Workaround for XML literal in build.sbt 2016-04-29 16:18:19 -04:00
Eugene Yokota bfd7930217 Update Travis CI configuration 2016-04-29 12:37:34 -04:00
Eugene Yokota 0df316b34e Configure launchconfig to 2.11 2016-04-29 04:39:49 -04:00
Eugene Yokota de4fef8a09 Move sbt-maven-resolver out of this repository 2016-04-29 04:08:09 -04:00