Commit Graph
7575 Commits
Author SHA1 Message Date
Eugene Yokota 21a027c487 Fix Compiler.compilers 2015-09-14 21:59:36 -04:00
Eugene Yokota 076ccd7b90 Merge 2015-09-14 10:54:22 -04:00
eugene yokota 128e9eff41 Merge pull request #2204 from Duhemm/modularize
Fix all imports
2015-09-14 10:39:13 -04:00
Martin Duhem c981abd295 Fix all imports 2015-09-14 14:28:09 +02:00
Eugene Yokota 1b55efaf10 remove unused paths 2015-09-14 03:36:36 -04:00
Eugene Yokota 4053ea92ba Remove source that went into the modules 2015-09-14 03:33:39 -04:00
Eugene Yokota 7132491f6c Rewire to new modules 2015-09-14 03:27:22 -04:00
Eugene Yokota 0df130fbe2 New scalariform 2015-09-14 01:22:52 -04:00
Eugene Yokota f26f95fe6a Reorganize subprojects around 2015-09-13 01:13:42 -04:00
Martin Duhem ce915b23ba Retrieve java compiler interfaces using Ivy
Previously the component compiler depended on a `componentID` added to
some interfaces to be able to compile the compiler interface. sbt's
launcher placed artifacts marked with this `componentID` in a special
directory that was then used by the ComponentCompiler to be able to
compile the compiler interface.

This commit modifies the ComponentCompiler so that it does not expect
these components to be already present in some directory, but instead
downloads it using Ivy when required.
2015-09-11 13:53:51 +02:00
Martin Duhem 0cc451b8b2 Fix deprecation message 2015-09-11 10:22:33 +02:00
Martin Duhem c74eae096f Rename binary form of compiler bridge
This will avoid all clashes between modules that may have the same name
as other components of sbt, or two different compiler bridges that would
happen to have the same name.
2015-09-11 10:21:45 +02:00
Martin Duhem f86b8163e8 Retrieve compiler bridge sources in temp directory
Note that they won't be downloaded again, because the component compiler
will look for a previously-compiled version of the compiler bridge
before trying to fetch the sources again. If they've already been
downlaoded, then they have been compiled and a compiled version of the
compiler bridge already exists.
2015-09-11 10:20:05 +02:00
Martin Duhem d110e6937b Specify the compiler bridge module in a setting
In order to restore reproducibility of builds, we no longer cascade over
the possibly available versions of the compiler bridge sources (a
specific version of the bridge sources may not be available one day, but
exist on the next day), but rather let the build definition configure
which module to use.

Fixes sbt/sbt#2196
2015-09-11 10:12:02 +02:00
eugene yokota d4f7977c42 Merge pull request #2201 from fkorotkov/javac-line-content-fixes
Use getPosition method to get an offset position instead of using a line number
2015-09-10 22:33:52 -04:00
eugene yokota 57321bf6bc Merge pull request #2192 from DavidPerezIngeniero/0.13
More robustness when using the tasks and settings command
2015-09-10 21:14:57 -04:00
fkorotkov cf8d7fbdff Use getPosition method to get an offset position instead of using line number 2015-09-10 16:35:09 -07:00
Martin Duhem 4f0b1071df Retrieve version of compiler interface from properties file
Previously we used the version of the component manager. However, these
two versions do not need to be in sync, which would make us try to
retrieve the wrong version of the compiler interface sources.
2015-09-09 16:49:52 +02:00
eugene yokota 5401a77b86 Merge pull request #2197 from Duhemm/fix-2196
Fixes #2196, Specify the compiler bridge module in a setting
2015-09-08 23:23:48 -04:00
Eugene Yokota 90f3b7eb9e Fixes build 2015-09-08 17:06:24 -04:00
eugene yokota 1759027139 Merge pull request #3 from Duhemm/compiler-interface-logging
Compiler interface logging (sbt/sbt#2177)
2015-09-08 16:46:56 -04:00
Martin Duhem f87fe3fb16 Update sbt modules, migrate to scalatest
- Update sbt/util to 1.0.0-M3
 - Update sbt/librarymanagement to 1.0.0-M2

Also, migrate the tests from specs2 to scalatest.
2015-09-08 09:57:12 +02:00
eugene yokota 589bb1a340 Merge pull request #13 from sbt/wip/packagenames2
package name change and test migration
2015-09-07 02:51:08 -04:00
Eugene Yokota eb6812943d sbt.util.internal -> sbt.internal.util package 2015-09-05 00:51:58 -04:00
eugene yokota d843da1e66 Merge pull request #11 from sbt/wip/packagenames
Move util into sbt.util.internal package
2015-09-04 14:24:02 -04:00
Eugene Yokota 24694faa31 Move util into sbt.util.internal package 2015-09-04 12:54:38 -04:00
eugene yokota cee106e9b6 Merge pull request #4 from Duhemm/cleaning
Clean the build and the warnings
2015-09-04 06:47:32 -04:00
Martin Duhem 92ea782d94 Fix deprecation messages 2015-09-04 12:25:59 +02:00
Martin Duhem 152b040fe3 Rename binary form of compiler bridge
This will avoid all clashes between modules that may have the same name
as other components of sbt, or two different compiler bridges that would
happen to have the same name.
2015-09-04 12:23:06 +02:00
Martin Duhem 1c4a900ff5 Retrieve compiler bridge sources in temp directory
Note that they won't be downloaded again, because the component compiler
will look for a previously-compiled version of the compiler bridge
before trying to fetch the sources again. If they've already been
downlaoded, then they have been compiled and a compiled version of the
compiler bridge already exists.
2015-09-04 12:00:44 +02:00
Martin Duhem dcad8a5527 Specify the compiler bridge module in a setting
In order to restore reproducibility of builds, we no longer cascade over
the possibly available versions of the compiler bridge sources (a
specific version of the bridge sources may not be available one day, but
exist on the next day), but rather let the build definition configure
which module to use.

Fixes sbt/sbt#2196
2015-09-04 11:17:27 +02:00
Martin Duhem 00101022e1 Download compiler interface sources in boot directory 2015-09-03 09:45:51 +02:00
Martin Duhem ee0f73addb Hide Ivy logs in compiler-interface sources retrieval
Because in most cases there aren't version-specific sources, we expect
the retrieval to fail a number of times before succeeding. This
generates a lot of noise in sbt's log, so the logs will now be shown if
and only all the versions fail.
2015-09-03 09:42:38 +02:00
Martin Duhem aec1e5fd52 Fix error in migration to sbt/io 2015-09-02 16:46:22 +02:00
Martin Duhem e2ddae8d98 Add recommended compiler flags, suppress a lot of warnings 2015-09-01 15:34:41 +02:00
David Perez 1e2617a807 More robustness when using the tasks and settings command 2015-09-01 14:16:41 +02:00
Martin Duhem ac95f33d71 Merge branch '1.0' of github.com:sbt/util into cleaning 2015-08-31 15:40:26 +02:00
Martin Duhem 5a769891d5 Add recommended compiler flags, fix most of the warnings 2015-08-31 15:25:10 +02:00
Josh Suereth 58f5ceb6f2 Merge pull request #2186 from dwijnand/fix/1750-2
Tail-end fixes for #1750.
2015-08-31 07:43:24 -04:00
Martin Duhem 392b91c21f Update to sbt/io 1.0.0-M1, fix dependencies 2015-08-31 03:43:29 +02:00
Dale Wijnand 397c25679f Add notes for #1750. 2015-08-28 23:38:49 +01:00
Dale Wijnand 8e6e32d7cb Enable Ivy flag that fixes #1750. 2015-08-28 23:38:45 +01:00
Josh Suereth f6895b6f00 Merge pull request #2163 from dwijnand/fix/1750
Fix SNAPSHOT srcs/docs with Ivy upgrade.
2015-08-27 08:34:09 -04:00
Josh Suereth 6f8eaab026 Merge pull request #2178 from Duhemm/scripted-pending
Run pending tests in scripted, consider their successes as failures
2015-08-27 08:33:40 -04:00
Martin Duhem 2bed67a44d Disable test dependency-management/mvn-local
It is very flaky with Travis.
2015-08-27 09:54:20 +02:00
eugene yokota fc7af22eef Merge pull request #2177 from Duhemm/compiler-interface-logging
Compiler interface sources: Hide Ivy logs & download compiler interface sources in boot directory.
2015-08-26 14:31:25 -04:00
Martin Duhem e31a9ba456 Download compiler interface sources in boot directory 2015-08-26 10:33:11 +02:00
Martin Duhem 41b7208a36 Hide Ivy logs in compiler-interface sources retrieval
Because in most cases there aren't version-specific sources, we expect
the retrieval to fail a number of times before succeeding. This
generates a lot of noise in sbt's log, so the logs will now be shown if
and only all the versions fail.
2015-08-26 09:40:53 +02:00
Dale Wijnand caa0f9c010 Move update-classifiers-snapshot-srcs as it fails with MavenResolverPlugin. 2015-08-25 22:03:12 +01:00
Josh Suereth da8bb5b621 Merge pull request #2151 from dwijnand/add-Def.settings
Extract Def.settings from Project#settings.
2015-08-25 09:52:27 -04:00