Commit Graph

17847 Commits

Author SHA1 Message Date
eugene yokota 8bf3873d3b Merge pull request #4 from Duhemm/port-2197
Remove IfMissing.Fallback
2015-09-11 12:05:01 -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 cbde870057 Remove IfMissing.Fallback
It was used by code in ComponentCompiler in sbt/incrementalcompiler, but
this code has been removed.
2015-09-11 10:25:11 +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
eugene yokota 71aebc32f6 Merge pull request #16 from Duhemm/jline-access
Make `sbt.internal.util.JLine` private to sbt package
2015-09-10 20:53:36 -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
eugene yokota 540e5fad96 Merge pull request #3 from Duhemm/cleaning
Clean the build and the warnings
2015-09-10 12:08:06 -04:00
Martin Duhem d00b7d8b61 Fix more warnings
Undeprecated `CustomPomParser` because it looks like nothing has
replaced it yet.

Removed usage of trait `scala.NotNull`, because it has been deprecated
as of Scala 2.11 and its support has never been implemented in scalac.
2015-09-10 16:10:51 +02:00
Martin Duhem 6822671f01 Add recommended compiler flags, fix warnings
Remove `JavaNet1Repository` which was deprecated.
2015-09-10 16:08:59 +02:00
Martin Duhem dc814a5154 Add sbt-houserules, formatting 2015-09-10 16:08:58 +02:00
Martin Duhem aec925b57f Make `sbt.internal.util.JLine` private to sbt package
It was private to `sbt.internal.util`, but it is used in sbt's codebase.
2015-09-10 14:39:29 +02: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 72e47657e5 Merge pull request #2 from sbt/wip/orgname
org name + Bintray + Util 0.1.0-M2 +  IO 1.0.0-M3 + Travis + scalatest
2015-09-07 04:55:06 -04:00
Eugene Yokota 9a42d645e9 Publish test artifacts 2015-09-07 04:40:23 -04:00
Eugene Yokota 1232a01037 Put things into sbt.librarymanagement package 2015-09-07 04:33:45 -04:00
Eugene Yokota c65c5016b0 bump to up Util 0.1.0-M3 2015-09-07 02:59:23 -04: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 349254362d Merge pull request #13 from sbt/wip/packagenames2
package name change and test migration
2015-09-07 02:51:08 -04:00
Eugene Yokota 70b49e9a4b Comment on SI-8450 2015-09-07 01:45:39 -04:00
Eugene Yokota dc0fd2d48b move sbt.internal.util.Logger into sbt.util 2015-09-07 01:31:17 -04:00
Eugene Yokota e6711a4e91 bump up 1.0.0-M3 2015-09-07 01:11:13 -04:00
Eugene Yokota a30bcdbb37 Fix test 2015-09-05 05:53:15 -04:00
Eugene Yokota dbf9dc7450 bump to util 0.1.0-M2 and migrated to scalatest 2015-09-05 05:32:07 -04:00
Eugene Yokota 10fa9a4709 Using doge to release correctly 2015-09-05 01:42:34 -04:00
Eugene Yokota cf6e656a67 Add utilTesting to root 2015-09-05 00:58:48 -04:00
Eugene Yokota eb6812943d sbt.util.internal -> sbt.internal.util package 2015-09-05 00:51:58 -04:00
Eugene Yokota 0a2d39673c sbt.util.internal -> sbt.internal.util package 2015-09-05 00:51:58 -04:00
Eugene Yokota c20887853e migrate to scalatest 2.2.4 2015-09-04 17:40:48 -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 45cb379c6e 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 bc54e035ef Move util into sbt.util.internal package 2015-09-04 12:54:38 -04:00
eugene yokota bc4b85e5b8 Merge pull request #10 from sbt/wip/patmatchwarning
Removes a warning. Ref #4
2015-09-04 10:13:43 -04:00
eugene yokota 4caeb5e328 Merge pull request #9 from sbt/wip/existentials
Removes a warning.
2015-09-04 09:43:45 -04:00
Eugene Yokota d482668c08 Removes a warning. Ref #4
Exhaustion check was not picking up StaticScopes, which is an object.
2015-09-04 07:25:16 -04:00
Eugene Yokota c9d7a0964a Removes a warning.
Ref #4. Inferred type was existential. This tightens it.
/review @Duhemm, @dwijnand
2015-09-04 06:59:57 -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
eugene yokota c491f57f27 Merge pull request #4 from Duhemm/cleaning
Clean the build and the warnings
2015-09-04 06:47:32 -04:00
eugene yokota 523ec2ab84 Merge pull request #8 from sbt/wip/publishtests
publish tests
2015-09-04 06:46:22 -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