Commit Graph

9153 Commits

Author SHA1 Message Date
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
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
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 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 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
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
Eugene Yokota ef14f9dc03 publish tests 2015-09-04 01:48:44 -04:00
eugene yokota 715aa73ed1 Merge pull request #6 from xuwei-k/test-scope
specs2 and scalatest should be the "test" scope
2015-09-03 11:37:34 -04:00
xuwei-k 624d2320f6 specs2 and scalatest should be the "test" scope 2015-09-04 00:28:54 +09: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
eugene yokota ef8b947891 Merge pull request #5 from sbt/wip/orgname
organization := "org.scala-sbt"
2015-09-02 02:45:17 -04:00
Eugene Yokota cf890a84a8 organization := "org.scala-sbt" 2015-09-02 02:44:51 -04:00