Questions tagged [incremental-build]

When dealing with large project, incremental build takes care to build only what has been modified and its impacts.

When dealing with large project, incremental build takes care to build only what has been modified and its impacts.

It helps reducing the amount of time needed to build a project.

136 questions
15
votes
3 answers

File Tracker Log file format

In Visual Studio 2010 incremental builds are done using the File Tracker (Microsoft.Build.Utilities.FileTracker). It seems that it is responsible to the creation of these *.1.tlog files on the intermediate directory. I couldn't find any reference to…
Amir Gonnen
  • 2,971
  • 4
  • 25
  • 52
14
votes
1 answer

Android NDK incremental build

I'm currently working on a large Android app using a massive amount of C++ code. It compiles and runs, so far so good. Unfortunately, every time I modify something in the structure of my native source (add/delete/rename/move a file), which happens…
Alex
  • 153
  • 1
  • 4
14
votes
3 answers

Visual Studio 2012 - MSBuild incremental build not detecting changes

I have customised an MSBuild project so that the default target is a new target named similarly to 'BuildWithExternalReference'. This new target calls two other targets; the first is a custom target called something like 'BuildExternalReference'…
Ian Newson
  • 6,045
  • 2
  • 37
  • 58
12
votes
1 answer

Making sense of Scala development tools

There is a myriad of development tools and terms in the ecosystem, for example, language server, build server, Metals, BSP, LSP, Bloop, Zinc, Coursier, incremental compiler, presentation compiler, etc. I was wondering if someone could demonstrate…
12
votes
1 answer

Gradle inputs and outputs

I'm learning Gradle and trying to understand how input and output files determine whether a task is up to date. This task is never up to date, even when the build file doesn't change. task printFoo() { inputs.file(getBuildFile()) …
jaco0646
  • 11,033
  • 7
  • 47
  • 64
10
votes
2 answers

How to stop incremental build of Visual Studio permanently?

I know about the property /incremental but it need to changed every time NO if I want to stop incremental build. Is there any way to stop it for all the projects permanently.
pcbabu
  • 1,983
  • 3
  • 18
  • 30
9
votes
2 answers

Maven incremental building

We currently have a big Maven 2 project that is rather a collection of many single standalone projects with complicated dependencies, with the exception of some common parent POMs for building. In the end we always have to ship the application as…
anselm
  • 812
  • 1
  • 9
  • 19
9
votes
0 answers

xcodebuild not doing incremental builds

I recently checked out a fresh version of our iOS app from git and built from command line via xcodebuild. I then built a second time using the exact same command, while making no changes to files in the repo whatsoever (not even opening them). I…
Jason
  • 11,310
  • 13
  • 63
  • 115
9
votes
2 answers

How does gulp-typescript incremental compilation work?

gulp-typescript's README says it supports incremental compilation but doesn't explain what is meant by that term in this context. There's an issue discussing how gulp-typescript incremental compilation is slower than tsc, but it doesn't explain why,…
Max Heiber
  • 10,336
  • 4
  • 47
  • 67
9
votes
2 answers

Gradle build cache is not enabled for task

I have enabled gradle build cache for my project. But, we are using some non-built in tasks like npm-install from third party plugins. Gradle is not enabling cache for these tasks. For example it shows something like below when such task is executed…
dharanikesav
  • 627
  • 1
  • 6
  • 8
7
votes
1 answer

In Visual Studio, how to make the incremental build just as fast the debug-session-triggered build?

I have a Visual Studio 2010 solution with 40-ish projects in it (C# + one C++/CLI). I have Visual studio configured such that it builds the whole solution before starting debugging. Now suppose I change the code for a 'leaf' project on which no…
user180326
7
votes
1 answer

How to avoid that Visual Studio incremental build does not run when files outside and are changed?

I have a VS2017 csharp project and the .csproj file looks like the following: Exe netcoreapp2.0
7
votes
1 answer

Incremental Build with MSBuild.exe

I'm building a Visual Studio 2010 solution through Python with a call to subprocess. When called directly from the command line it takes devenv.com ~15 seconds to start. But when called from Python this jumps up to ~1.5 minutes. Naturally I'm hoping…
Shane Gannon
  • 4,336
  • 5
  • 32
  • 47
6
votes
1 answer

What's the best approach to incremental compilation when building a DSL using Eclipse?

As suggested by the Eclipse documentation, I have an org.eclipse.core.resources.IncrementalProjectBuilder that compiles each source file and separately I also have a org.eclipse.ui.editors.text.TextEditor that can edit each source file. Each source…
6
votes
2 answers

Disable incremental build for kapt

Since android gradle plugin has enabled incremental build by default annotation processing breaks, because only those classes who has been changed since last incremental build will be taken into account from annotation processors. So for java source…
sockeqwe
  • 14,614
  • 22
  • 78
  • 136
1
2 3
9 10