Questions tagged [build-time]

75 questions
0
votes
1 answer

Is it normal to have app:packageProductionDebug task taking 70% of build time?

I'm, currently trying to optimise my build time of an android application I'm developing. Currently it builds for about a minute and a half initial and about a minute for incremental build. I've tried all the recommendation from this page :…
user2610355
  • 101
  • 5
0
votes
1 answer

add a task on build time visual studio

Is it possible to add a task in visual studio project build time? My specific purpose is to copy a file and paste it somewhere else. Its a configuration file. If yes then is there any type of tasks i can add to build time ??? I am using visual…
Umer
  • 1,891
  • 5
  • 31
  • 43
0
votes
2 answers

How to access apk generated time in Android Programmatically?

Is it possible to get generated time of APK programmatically? I want to display that on the build time for build identification purposes. I know that I could hard code the time string in the gradle file and access them in my Kotlin code, as this…
Samuel Robert
  • 10,106
  • 7
  • 39
  • 60
0
votes
1 answer

Is there a cross-compiler method to disable coverage flags for test executables using CMake?

I am creating a generic C++, CMake, and Catch project template that I plan on using in the future, and want to enable code coverage reports for it. To do so, I decided to add the following CMake module into my list of Modules: CodeCoverage.cmake. My…
Arnav Borborah
  • 11,357
  • 8
  • 43
  • 88
0
votes
1 answer

Why is Android Studio cleaning before build?

Since a specific upgrade on Android Studio (unfortunately I can't remember exactly the version, because I had this problem since some months ago, but I'm just asking now), my build times are very high, something between 4 and 5 minutes. And this is…
0
votes
1 answer

Why does Visual Studio say both that my solution/website has 0 Errors and that it does have errors (and then the browser coughs up a "Error 404.17")?

When I do a Build > Rebuild Solution and Build > Rebuild Website in a ASP.NET project, it builds with 0 Errors. But when I run it via F5, I get, "There were build errors. Would you like to continue and run the last successful build?" I select "No"…
0
votes
1 answer

Building SL4 + RIAServices app takes too long on VS2010

Got a Win7 box with VS2010 Premium installed on it. Building desktop apps works just fine. But we got this solution with 15 SL4 and 21 desktop projects... Building the SL part of it takes too long. This is very irritating and encourages to drop…
0
votes
4 answers

Does installation occur during runtime, or during compile time?

According to published books suitable for a Wikipedia reference: Does installation occur during runtime, or during compile time? 'a "run-time error" is detected after or during the installation or copying of the program' -- Wikipedia
David Cary
  • 5,250
  • 6
  • 53
  • 66
0
votes
1 answer

Speed up the build process in multi-module maven project with Intellij IDEA

I am working on multi-module Java EE web application project(maven project) which have 23 modules. It have main 4 modules which can be used separately and other modules are supported back end module for those 4 modules. When the project is built,…
0
votes
4 answers

How can I determine why a build runs slowly in Visual Studio 2005?

I wanted to know if it is possible to know why a Visual Studio 2005 (MSBuild) build is taking a long time to build a project. Suddenly we are getting 7-minute build times on some computers, while others take less, such as 4 minutes. So I think I…
0
votes
4 answers

Usage of #import -- General guidelines for using #import in very large projects (ObjC)

Where do #import my headers and implementations? Are there rules regarding what I should do? Is there a way to import everything in a single header file?
M.R.
  • 1,053
  • 2
  • 13
  • 30
0
votes
2 answers

Can I generate a constant array of size n

I want to generate a constant array power[501] = {1, p % MODER, p*p % MODER, p*p*p % MODER, ..., p^500 % MODER}, of which p is an constant number. I know I could generate p^n % MODER by using the following code: template struct pow { …
abcdabcd987
  • 2,043
  • 2
  • 23
  • 34
0
votes
1 answer

OOD - How to desing and structure the projects to avoid redeploying the main Application (factory pattern?)

I would like to check if my understanding in using and implementing factory pattern. Say I am designing an Application to play several Games (chess, poker). The games are loaded from one of the following sources: CSV, XML but I want the ability to…
-1
votes
1 answer

Why are our Visual Studio builds so slow, but only on one machine?

We recently bought two new build machines that have the same specs/hardware. From what I understand, the same or very similar disk images were used to load onto that machine. But, I believe Visual Studio 2008 was installed later on both. We have…
bsh152s
  • 3,178
  • 6
  • 51
  • 77
1 2 3 4
5