Commit Graph

18 Commits

Author SHA1 Message Date
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
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 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
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
Martin Duhem 392b91c21f Update to sbt/io 1.0.0-M1, fix dependencies 2015-08-31 03:43:29 +02:00
Eugene Yokota 71e037ea4e moved subprojects around 2015-08-04 18:06:04 -04:00
Pierre DAL-PRA 25dde24eda Replace procedure syntax by explicit Unit annotation 2015-08-04 10:07:38 +02:00
Martin Duhem c4eb670588 Find most specific version of compiler interface sources
This commit introduces a mechanism that allows sbt to find the most
specific version of the compiler interface sources that exists using
Ivy.

For instance, when asked for a compiler interface for Scala 2.11.8-M2,
sbt will look for sources for:

 - 2.11.8-M2 ;
 - 2.11.8 ;
 - 2.11 ;
 - the default sources.

This commit also modifies the build definition by removing the
precompiled projects and configuring the compiler-interface project so
that it publishes its source artifacts in a Maven-friendly format.
2015-07-16 11:18:48 +02:00
Eugene Yokota 2b526e6aa7 added scalariform 2014-05-01 12:50:07 -04:00
Grzegorz Kossakowski 62fcc2a9b3 Follow source layout convention supported by Eclipse.
Moved source files so directory structure follow package
structure. That makes it possible to use Scala Eclipse plugin
with sbt's source code.
2012-12-07 10:27:08 -08:00
Mark Harrah 8869378573 implement embedded interface 2012-04-18 16:01:45 -04:00
Mark Harrah 6b774286d1 reorganize compilation modules 2012-04-18 08:08:25 -04:00