24 questions
5 votes
2 answers
223 views
Cannot understand how incremental assemblers/compilers/image-based systems work
I am learning a little assembly and for my next project I would like to learn how to make an incremental assembler. By "incremental assembler" I mean an assembler that accepts new code while ...
2 votes
0 answers
207 views
Understanding Incremental Environment in the context of annotation processing in Java
I am confused about what exactly is incremental environment in the context of annotation processing in Java. An example is highly appreciated. The following is a quote from the Javadoc of Filer: The ...
3 votes
1 answer
2k views
How do header files and makefiles help incremental compilation in c++?
I understand what incremental compilation is: when a compiler only compiles the code you edited not all of it. But how does separating code into .h and .c/.cc files, and makefiles in C++ help ...
2 votes
0 answers
22 views
Is is possible to have a linker generate a binary, that is as close to the previously generated one as possible?
Here is the context: I work with microcontrollers, where the resulting binary is written to an internal flash, and executed from there. The flash is erased and written in 4KiB blocks. The flasher is ...
0 votes
1 answer
317 views
How to properly deal with class dependencies to utilize incremental compilation in Java/Android with Gradle?
I improved our build system and activated incremental builds and compilation as described in this question. To my disappointment, incremental compilation didn't improve build times as much as I ...
-3 votes
2 answers
400 views
Siebel Incremental Compile - Automation Feasibility with Jenkins
I am currently working on to Automate Siebel compile through jenkins, As we all know for full compilation there is a command, however i am unable to do the same for Incremental compilation, most of ...
7 votes
1 answer
3k views
What does Rust's lack of incremental compilation mean, exactly?
This question was asked before Rust officially supported incremental compilation. Rust 1.24.0 and later enable incremental compilation by default for development (debug) builds. I'm an outsider ...
1 vote
1 answer
1k views
When does IntelliJ's Scala incremental compilation happen?
When does IntelliJ's Scala incremental compilation happen? I notice that making changes to a file does not cause the corresponding .class files (in /target) to be updated. When does this happen?
3 votes
2 answers
267 views
Preserve results of sbt incremental compilation when moving project directory
Consider the scenario: I have a simple scala project managed by sbt, in a directory called foo. cd foo sbt compile It now takes a few seconds and the project compiles correctly. Now, thanks to sbt ...
1 vote
0 answers
125 views
broken SBT compilation - bug or feature?
I face the following problem when using SBT. If I add this line to build.sbt: unmanagedResourceDirectories in Compile <+= baseDirectory( _ / "src/main/scala" ) Incremental compilation breaks in a ...
8 votes
1 answer
835 views
How often is "incremental compilation" performed on Java in Eclipse/ Intellij?
I understand that Eclipse uses it's own compiler for Java (ECJ) which has the ability to perform incremental compilation. From most of the readings I have found, this compilation is generally ...
0 votes
1 answer
111 views
SBT-web incremental compilation with file dependencies
I'm trying to write an set-web plugin which compiles sass files. I'm adhering to the convention that files with names starting with an "_" are not compiled directly, but they can be included in other ...
1 vote
1 answer
493 views
GWT "No source code is available for type" when incrementalCompileWarnings flag set to true
Our project compiles fine when flag incrementalCompileWarnings isn't set to true (for maven-gwt-plugin). When it's set, there appear several errors like this: Tracing compile failure path for type '...
5 votes
3 answers
723 views
How to prevent SBT from recompiling modified .class files?
In our project, we have a enhance post-process to the .class files generated by compile. This enhance step actually modifies the generated .class files then overrides it. enhance <<= enhance ...
1 vote
1 answer
526 views
SBT plugin: How to list files output by incremental recompilation
I am writing a plugin for SBT that requires a list of the class files generated by the last run of the Scala compiler. This list of class files is then passed into a program that performs some ...