Martin Duhem
98c789b826
Abstract over dependency context in Compile
...
This commit completes the abstraction over dependency kinds in the
incremental compiler, started with #1340 .
2014-11-19 10:35:07 +01:00
Jean-Rémi Desjardins
ced5230289
Remove some compiler warnings
2014-09-10 22:55:43 -07:00
Eugene Yokota
adb41611cf
added scalariform
2014-05-01 12:50:07 -04:00
Grzegorz Kossakowski
fea18a4fbe
Remove AnalysisCallback.{beginSource, endSource} methods.
...
As pointed out by @harrah in #705 , both beginSource and endSource are
not used in sbt internally for anything meaningful.
We've discussed an option of deprecating those methods but since they
are not doing anything meaningful Mark prefers to have compile-time
error in case somebody implements or calls those methods. I agree with
that hence removal.
2013-10-24 16:44:45 +02:00
Mark Harrah
ce348c4aea
Minimal support for class file formats 51.0, 52.0 in incremental compiler. Fixes #842 .
...
It is not currently possible to use a newer class file format than the one for the jvm sbt is running in.
2013-09-26 08:14:40 -04:00
Mark Harrah
a867d8e87c
extract public inherited dependencies from Java class files
2013-05-01 17:54:10 -04:00
Mark Harrah
4dc75343ae
Record and persist public inheritance dependencies.
...
Includes placeholders for adding public inherited dependencies for Java classes.
2013-04-26 22:35:27 -04:00
Mark Harrah
77001a4259
drop canonicalization of files on classpath and other cleanup. Fixes #723 .
2013-04-09 20:13:06 -04:00
Mark Harrah
f6d73128fc
deprecations
2013-02-25 09:24:04 -05:00
Paolo G. Giarrusso
d64a0e078d
Silence boring Eclipse warnings: catching all exceptions, part 2
...
These warning fixes are new since my last pull request, please verify.
2013-01-22 09:05:15 -05:00
Grzegorz Kossakowski
ef39aeb9c1
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
6354b174e8
Java classfile analysis: log the problematic URL when IO.urlAsFile throws an exception. Ref #564 .
2012-10-15 12:42:28 -04:00
Eugene Vigdorchik
b5a29987e6
Changes required to use sbt as-is from Scala-IDE.
2012-07-13 14:33:26 -04:00
Mark Harrah
9414f98f2c
classfile analyzer should pass full name to AnalysisCallback
2012-05-08 20:25:25 -04:00
Mark Harrah
2e868e6d67
Merge pull request #433 from vigdorchik/optimize_java_compile
...
Do not load classes for dependencies since having URLs is enough.
2012-04-19 09:30:05 -07:00
Mark Harrah
d0899419e7
Revert "Revert "Work around scalac issue causing boxing." (ClassNotFoundException)" (Reverted wrong commit.)
...
This reverts commit 7dac90fffe .
2012-04-18 03:14:59 -04:00
Mark Harrah
7dac90fffe
Revert "Work around scalac issue causing boxing." (ClassNotFoundException)
...
This reverts commit 6c090313da .
2012-04-17 05:13:27 -04:00
Paul Phillips
6c090313da
Work around scalac issue causing boxing.
...
Tableswitch slightly cheaper than a couple million trips
through the Byte box.
2012-04-16 19:42:58 +01:00
Eugene Vigdorchik
cbb1e3daf2
Do not load classes for dependencies since having URLs is enough.
2012-04-16 18:48:31 +04:00
Mark Harrah
0b3ec05a81
support incremental recompilation when using exportJars. fixes #108
2011-07-18 17:14:22 -04:00
Mark Harrah
8e32a52250
fix issue with Java source files that don't generate classes always being recompiled
2011-06-14 19:32:36 -04:00
Mark Harrah
9ff1adc290
fix Java class to source mapping
2011-05-27 20:42:46 -04:00
Mark Harrah
2343a55bb9
replace Path with RichFile
2011-05-14 18:21:41 -04:00
Mark Harrah
77092b7888
resolver keys, javaHome, scalaHome, and change Java source resolution
...
- rename resolvers to fullResolvers, baseResolvers to resolvers
- if set, use javaHome for compilation as well as running
- add scalaHome configuration for easily configuring scalaInstance
for a local Scala installation
- no longer require source roots for Java sources. Instead, resolve
ambiguities by package name and then distance to root. Common
package suffixes in different directories within the same project
are a potential problem.
2011-03-09 18:07:43 -05:00
Mark Harrah
ce068d7fbc
Java source support
...
generate API for Java sources from class files (currently, uses reflection)
hook into partial recompilation process
2010-09-27 18:57:00 -04:00
Mark Harrah
5a13de4ff7
move remaining pieces of sbt subproject to sbt_pending and fix notices
2010-09-21 21:55:50 -04:00
Mark Harrah
0d5814e2b3
Rework external dependency tracking and multi-projects
...
Reduce AnalysisCallback interface:
remove discovery
simplify dependency notification methods
Use map of classpath entry to Analysis for locating
source API for external dependencies
Handle classpath changes by locating class
on classpath and either locating Analysis/Source
as above or comparing Stamp. This requires storing
the class name of a binary dependency now.
Make this process aware of full classpath, including
boot classpath
2010-09-17 21:59:43 -04:00
Mark Harrah
883cd1a201
remove discovery from Java Analyzer
2010-09-17 21:35:13 -04:00
Mark Harrah
d0fa1eb461
* move Environment classes to util/env module
...
* move TrapExit, SelectMainClass to run module
* rearrange some compilation-related code
* Jetty-related code moved to web module
2010-07-14 19:24:50 -04:00
Mark Harrah
1585d805bd
more reorganization, mostly IO. Also, move class file analyzer and history code to separate projects
2010-06-13 22:59:29 -04:00