Mirco reported a problem with incremental compilation in the IDE. It turns out that the problem is because IDE is not using transactional ClassfileManager that has been introduced to sbt some time ago.
Once IDE switches to transactional ClassfileManager the reported problem disappears. That's why I'm marking this ticket as 'defect'.
Once IDE switches to transactional ClassfileManager the reported problem disappears. That's why I'm marking this ticket as 'defect'.
Leave a comment
on 2013-11-06 05:31 *
By gkossakowski
Here's sbt ticket: https://github.com/sbt/sbt/issues/958
on 2013-11-06 05:31 *
By gkossakowski
Here's sbt ticket: https://github.com/sbt/sbt/issues/958
We might need to have a 3.0.3 release.
We might need to have a 3.0.3 release.
We might need to have a 3.0.3 release.
Switch to the Sbt transactional classfile manager.
This involved moving away from the Java interface for passing inputs to
Sbt, since it didn't support passing true IncrementalOptions. This PR
mimics what Zinc is doing.
A couple of cleanups:
- no more pendingSources (it was a workaround the missing transactional feature)
- clear all problem markers when building a project. Until now we removed when each
file started compiling, but Sbt is guaranteed to issue all errors for
a given project. This way we don't have stale error markers (a file that
shouldn't have errors, but wasn't recompiled by Sbt).
Fixed #1001953.
Branch: master
Commit: scala-ide:0a1ee43db0
This involved moving away from the Java interface for passing inputs to
Sbt, since it didn't support passing true IncrementalOptions. This PR
mimics what Zinc is doing.
A couple of cleanups:
- no more pendingSources (it was a workaround the missing transactional feature)
- clear all problem markers when building a project. Until now we removed when each
file started compiling, but Sbt is guaranteed to issue all errors for
a given project. This way we don't have stale error markers (a file that
shouldn't have errors, but wasn't recompiled by Sbt).
Fixed #1001953.
Branch: master
Commit: scala-ide:0a1ee43db0
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|