Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [builds]

The simplest type of build is a process that converts (source) code to a compiled binary file that can then be run. More complex builds can also run unit or integration tests and can use tools to generate reports about the quality of the code. Lastly, builds are often triggered automatically by ...

-2
votes
1answer
97 views

How to organize the build system of a project as it starts including multiple languages across multiple operating systems and compilers?

I wrote a Music Player and Library in Java for GNU/Linux and Windows. My build process is currently in ANT, but I intend to migrate away from that to something more modern after the next release. I'...
1
vote
1answer
95 views

Best practice of c/C++ dependency management on build servers?

I develop largely in java which has maven or ant/ivy. Is there a recommended way to manage build dependencies for c++ projects? I'm setting up the build on our build server right now but the thing ...
10
votes
1answer
263 views

Redundant code sent down the pipe with Micro-frontends

My understanding of Micro-frontends is that the key problem they solve is in helping enterprises have multiple, possible disparate teams, work on individual components/small-apps that will be used to ...
2
votes
3answers
204 views

What advantages do daily builds provide specifically over continuous builds in practice?

I have seen this question and do not believe this to be a duplicate What software models are appropriate for daily builds and continuous integration? . I don't fully understand what advantage ...
-1
votes
1answer
37 views

When should you use config transforms rather than compiler directives?

I'm currently working on an application which uses compiler directives to vary settings between environments. Would it be worth refactoring these to use settings in the web.config which will be ...
-1
votes
2answers
138 views

Solutions for preventing build breakage

Some background to my question: We have a traditionally windows-only C++ code-base which we are in the process of porting to linux. Parts of the system have been running on linux for many years, but ...
6
votes
1answer
2k views

In-Source Build vs. Out-Of-Source Build

In my (primarily C++) development, I have long adhered to using out-of-source builds. That is, my source usually sits in a /project/src directory and the builds live in a /project/build/bin/release, /...
2
votes
1answer
88 views

Application build needs external “resources” to work: is this bad or… normal?

I was talking with some coworkers about the application build and we have some divergences about what each one consider a good practice or something to worry about. I learn that a good application ...
3
votes
1answer
500 views

Webpack and Lazy Load for large-scale Web Application

Background I am trying to develop with Webpack and JavaScript. Webpack would bundle all source code into one single file. When application becomes large, the file would be very large and cause ...
4
votes
1answer
223 views

What is the purpose of build for language like PHP?

I apologise in advance if this question seems obvious to some or whether this question should not even be asked. I have done research about the build process and I do understand the purpose of ...
-3
votes
1answer
107 views

Build Environment [closed]

In my current organisation, we have several different build environments (like toolset etc.) which are needed for compiling the code of different modules within the same product. I found this a big ...
2
votes
1answer
76 views

How to test a build tool?

For ease of use, I will use a build too to automate the various steps required to build my project on a new computer - like installing dependancies and so forth. Once I've got that all automated, how ...
1
vote
5answers
2k views

Should automated unit tests be part of the build?

Should automated unit tests be a part of the build process, or should they be manually run when someone makes changes to the code instead? To me it seems like making it part of the build rather than ...
1
vote
1answer
155 views

Practices to build test vs release versions of code?

I've written an application which reads a list of filenames and does stuff on those files. Dynamic allocation is not allowed and our language of choice is C. The app has an array to hold the ...
3
votes
2answers
237 views

how to improve build stability in a team

We are working on a software project, a team of 5-10 developers. The code base is continuously integrated using Bamboo. We have a build plan running also unit and integration tests and then a ...
0
votes
1answer
1k views

Why are unity builds faster given modern compilers?

Consider (using Visual C++ as an example): cl /EHsc a.cpp b.cpp c.cpp versus cat a.cpp b.cpp c.cpp > unity.cpp cl /EHsc unity.cpp Why is the first variant slower given a modern compiler? I've ...
1
vote
1answer
178 views

Are there valid reasons for modifying the code of an application between build and release?

In a question on stackoverflow the answer I received was basically "It happens if you replace a .dll file in an already built application". That seems very dirty to me. I understand the need for ...
4
votes
2answers
1k views

How can I reduce the build time from once a day to once every 15 minutes?

I have a large codebase of Java/JSP files that needs to be compiled and checked for errors. The compilation time is long enough that we only run it once a day. However, I'd like it to be more frequent ...
74
votes
7answers
15k views

What is the purpose of a dedicated build machine?

Due to a number of circumstances leading to a poor deployment last build cycle, I campaigned in our office to perform all future deployments with a dedicated build machine, and my boss accepted this ...
2
votes
1answer
72 views

Communicating warnings in CI context - Nodejs, Grunt, Slack

We have a fairly complex Gruntfile.js that performs numerous things to process a bunch of EPUBs. It's part of our CI process being run regularly on Jenkins. Sometimes we want to notify the person who ...
1
vote
1answer
69 views

How to share new features in a large multi module project [duplicate]

I have been working in large multi module projects over a period of time. One major issue I faced is, how to communicate to other teams of a new feature which they may be interested in. Consider this ...
3
votes
1answer
134 views

“Nightly” a good place for experimental features?

In my day job I work on a tightly controlled project with features and overall scope ultimately decided on by committee. Often the final features are the result of a single (or multiple) member's ...
0
votes
2answers
62 views

Is changing the PATH in C comparable to `source` a virtualenv in Python?

Virtualenv appends its own path to $PATH, effectively overwriting the Python to the one picked when the virtualenv is created. Would changing the $PATH work equivalently as virtualenv in a compiled ...
9
votes
2answers
2k views

How to properly manage dependencies for C/C++ project?

I have a project which uses 3-4 different open source C/C++ libraries. I built these libraries for several platforms and checked in include files and static libs for different platforms in my project....
0
votes
0answers
485 views

Is it a good practice to build multiple web app war files from one source repo?

I have been asked to do the following: Take a project within a repo (repo has multiple projects inside) Build ant build script that will build two separate tomcat webapp war files. They are two web ...
0
votes
1answer
102 views

What is the proper way to track my build versions in Qt?

Basically what I need in my project is a number of some sort that iterates itself every time I build my project, and that I can output by my program. So for example, when generating audio, I need to ...
1
vote
1answer
160 views

Build and Deployment Strategies In House Software

We are currently building applications that will run in house and not be rolled out to any customers. We are the only customer. We are using c# and the latest .Net platform. We are also using Team ...
3
votes
1answer
252 views

How can we improve our build process?

The company I work at has a (in my opinion) slow build process. We use TFS, and checking in code takes several hours. It goes like this: (Assuming change is made and code review has been approved) ...
4
votes
1answer
1k views

Is it good practice to check in updated assemblyinfo.cs files after build

Our build process changes the version number of all AssemlyInfo.cs files, so that the version number can be managed completely by the build server. Right now, we commit the changed AssemblyInfo.cs ...
0
votes
1answer
234 views

Visual Studio Online CI Builds and Gated Check ins

I'm looking for a way to achieve something like this using VS online ... I have a lot of small solutions in the root of the repo that are structured a bit like ... Foo.sln "/Framework/xxx" "/...
0
votes
1answer
263 views

Considerations when using Gulp to compile typescript vs using Visual Studio [closed]

We are a Microsoft shop, developing with Visual Studio. We are building a single page app, and we have elected to use Gulp to handle a lot of the script build tasks (javascript minification, css ...
4
votes
2answers
1k views

Organizing maven modules and spring profiles

I'm facing a design problem with Spring's profile and Maven multimodule project from which i'm building a product, as a web as application that can be customized for differents clients. For this i ...
7
votes
2answers
1k views

Why incremental builds in “make” don't use hashing algorithms?

I am a beginner with make and I'm wondering about when to use make clean. One colleague told me that incremental builds with make are based on the files timestamps. So, if you checkout an old version ...
0
votes
2answers
220 views

How to get developers to fix broken tests

In our company we have multiple test stages: unit and integration tests (CI build) application tests (all calls to other systems are mocked) system tests (interacting with other systems) all ...
0
votes
1answer
79 views

Is it possible to deploy a maven artifact straight to a webserver?

Say I have my project that looks like /src/main/java/... /src/main/resources/... /src/main/webapp pom.xml And I have this stored in my version control, Git/SVN etc. My artifact has a signature ...
1
vote
1answer
94 views

Is it okay to build artifact specific to environment?

I'm building a web application project that in my view behaves differently in specific environments. I have dev, int, uat, prod environments. DEV is a local environment for developer and 'int' is the ...
1
vote
2answers
569 views

Best practices for adding Node.JS build features to a non-Node project

The primary use for Node.JS is of course as a full server stack, and I've used it in that manner to great success. However, a number of useful, interesting NPM packages deal with things like ...
1
vote
2answers
498 views

How to make git automatically merge increased build numbers? [closed]

I like having build numbers, just because it is cool. Please don't judge me :D. However, I develop on two machines (one OS X and one Windows for portability checks). I have on both machines a script ...
1
vote
3answers
4k views

What does it mean to build from source?

I'm trying to install numpy using this. This link opens with these instructions: These instructions describe how to build NumPy and SciPy libraries from source. If you just want to use NumPy ...
1
vote
1answer
73 views

Speed up my delivery pipeline

I have a solution with many components with different deploy iter: WebAPI backend (on IIS) AngularJS frontend (on IIS) A process manager (as Windows service) A projection engine (as Windows service) ...
5
votes
0answers
590 views

How to monitor & record build (compile/test) time? [closed]

I work on a large-ish Java project. We are using maven as our build tool, and I use Intellij (14) as my IDE. Currently, if I build the whole project (c. 15 modules) it takes about 3 minutes. Due to ...
4
votes
2answers
113 views

Implementing incremental builds [closed]

I'm working on a toy language. Until now, multiple files have been compiled by merging the ASTs of each file and then running the semantic analysis and code generation phase on the merged AST. Now I'...
5
votes
4answers
799 views

Shell commands in bash or python? How much encapsulation is too much?

I'm thinking about how to decide whether it's better to encapsulate my work behind well-named function names, or to expose it - which will help developers understand what's going on more quickly? Is ...
3
votes
1answer
562 views

How to deal with relative paths in out of source build?

An out of source build is a build which can be in any directory other than the source directory I have a project which contains relative paths to some resource files, needed at runtime, which are ...
4
votes
1answer
512 views

Makefile for library project to be able to compile the unit tests and the demo program using make

I am new to makefiles and I am developing a (non-executable) library in C++. Additionally to the library I have (executable) unit tests and an (executable) demo program. I would now like to be able ...
1
vote
2answers
90 views

Deploy a website via apt/yum to different environments without rebuilding for each?

I want to setup a continuous integration pipeline for the first time. I have a website that includes a config file that points to MySQL and Redis. I would like to build a package once and then deploy ...
9
votes
1answer
269 views

Why does Apache have two separate tools for build and dependency management?

Apache has two separate tools: Apache Maven Apache Ant + Apache Ivy They seem to both fill the same niche. I have two questions: What are the highlights of the main differences between the two ...
95
votes
9answers
16k views

What are the advantages of build scripts?

For most of my programming career, I've used the "build/compile/run" command in whatever IDE I'm working with to produce a runnable program. This is one button, pretty easy. As I learn more about ...
4
votes
3answers
532 views

How to structure project where a library and application using the library are concurrently developed?

I am planning to develop a new application that will heavily use a library that will be developed from scratch specifically for the application, but made general enough for it to be used for other ...
2
votes
2answers
422 views

What uses are there today for manually writing Makefiles? [closed]

I remember the general gist of writing Makefiles, but, due to CMake, autotools and other such Makefile generators, I've forgotten so many details that, if you were to ask me to write a makefile from ...