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 ...

learn more… | top users | synonyms (1)

2
votes
4answers
81 views

building feature dependent version software

I have a program that is used by customers to do some computational work. And how long it takes always depends on how much data customer wants to compute. Some customers have a little data, some have ...
0
votes
0answers
9 views

Running unit tests for an Azure solution built by TeamCity

We have a solution containing a Web Role and Worker Role. This is built by TeamCity and deployed by Octopus Deploy to a Microsoft Azure environment. The solution contains unit test assemblies (MSTest) ...
0
votes
0answers
31 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 ...
0
votes
2answers
149 views

Is a “build” assembly? [closed]

In an old book I have, they say that "build" is either a process of converting source code into executable or the actual result - assembly. Is that correct? Is a build actually the assembly, I mean ...
3
votes
1answer
90 views

Handling changes specific to a customer

The problem C# project consisting of WCF services used by a Flex application. A customer may request a functionality change that requires me to alter code to work just for them. It could be a single ...
1
vote
2answers
96 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
votes
1answer
95 views

Including compiled application in build [closed]

I currently maintain the build process of a suite of applications through TFS. Our nightly build, in addition to compiling the code checked in that day, uses InstallAware to produce an installer for ...
55
votes
5answers
14k views

Why are there no package management systems for C and C++? [closed]

There are some programming languages for which exist a package management system: CTAN for TeX CPAN for Perl Pip & Eggs for Python Maven for Java cabal for Haskell Gems for Ruby npm for NodeJS ...
0
votes
0answers
22 views

Organising client-server projects

I am about to spin up a new development in my shop. It will be our first client-server application. It will be written for .NET 4.6 using C# and visual studio. WCF will be used for interprocess ...
1
vote
3answers
118 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
51 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) ...
4
votes
0answers
455 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 ...
0
votes
0answers
44 views

Question on Build Automation and Promotions

My team uses Maven, jfrog artifactory and Jenkins to implement a continuous delivery environment. Currently our workflow is as follows. We have a job in Jenkins which checks out all the code from ...
2
votes
1answer
118 views

How to retrieve the third-party library licenses

I am looking for a way to automatically collect all the third-party library licences that my project is using. Currently I am collecting by hand the licences on github. So far , I don't have a clear ...
20
votes
8answers
1k views

Is directly using Make considered obsolete? [closed]

So I have been coming across many comments/posts/etc regarding creating makefiles directly, and how it is a silly thing to do in 2015. I am aware of tools such as CMake, and I actually use CMake quite ...
3
votes
2answers
69 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 ...
0
votes
0answers
101 views

Gradle workflow with project dependencies

I'm wondering how people develop day-to-day with Gradle and how they manage in-house dependencies. Let's say we have a main project with the following in-house dependencies: proj depends on dep1 ...
5
votes
4answers
199 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 ...
0
votes
0answers
287 views

Starting off with Grunt in an eclipse webapp project

I've been developing a webapp for some months now using struts2, jQuery and sitemesh to decorate my pages (JSP's mostly). My dependencies are managed by Maven and I've had a fun time learning as I'm ...
4
votes
2answers
122 views

How should an embedded OS be combined with user code?

As a side-effect of an embedded project I've been working on, I've developed a small operating system for an ARM processor. While the OS and my user code are in separate directories and have clean ...
4
votes
2answers
876 views

Automated builds, build tools and Embedded systems

I come from an embedded world where we use C/C++ for programming, and use an IDE to generate a binary file, which is then programmed into a Hardware Board, which can then be tested. With this ...
3
votes
1answer
79 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
108 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
62 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
161 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 ...
85
votes
9answers
9k 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
126 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 ...
5
votes
4answers
7k views

What are linkers and loaders? How do they work?

I am trying to understand things like linkers and loaders better. What area of computer science do they belong to? Compiler, Operating System, Computer Architecture? Where do linkers and loaders ...
2
votes
2answers
146 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 ...
2
votes
1answer
3k views

Visual Studio build everytime JS and CSS changes?

I am relatively new to Visual Studio Development and I was wondering - it seems that everytime I make changes to my JS or CSS in my project - I have to "build" the project again. Is there any way to ...
0
votes
0answers
27 views

Common to include pre-built binaries for supporting build tools? [duplicate]

As part of a Visual Basic 6 project, I have created a python script to provide a CLI to building the project/docs. However, I realize that not all developers who will have access to this project will ...
3
votes
0answers
88 views

Is there an industry standard term for a build which uses the production API, but is specifically for internal testing? [closed]

I'm working on clearing up our build processes of a PhoneGap app we're developing for iOS and Android, and I want to develop a concise naming scheme for our different build types. Here's what I'm ...
10
votes
5answers
4k views

To integrate git versions as build numbers or not?

A colleague and I have been taking turns debating/discussing the issues/merits of integrating a version derived from the current git repository into our code whenever it builds. We think the merits ...
0
votes
1answer
85 views

Caching build results

This is a "technology/concept identification" question. I have a rather large project in a DCVS repository. Build times are loooong (about an hour) from a full clean. The project is already divided ...
3
votes
3answers
303 views

How do you identify bugfix commits on QA environment with Git repository?

I got used to the following approach on bugfixing phase of the project development. The developer should add SVN commit number as a comment to the JIRA issue when resolving it. Latest artifact from ...
1
vote
2answers
240 views

Would forcing developers to fix at 3 AM the build they broke undermine motivation? [closed]

Breaking the build is a bad thing. Different teams take different measures to encourage their members to avoid breaking the build at all costs. Some measures are moderate. For example Joel Spolsky ...
-1
votes
2answers
127 views

Is 'lazy' the correct term for timestamp-based skipping? [closed]

(1) The oldmakeutility looks at timestamps, and if the output is newer than the input, it skips (pointless, time-consuming) re-compilation of e.g. C files. The same is true for many languages and ...
11
votes
2answers
3k views

Why is build.number an “abuse” of semantic versioning?

I was explaining a proposed build system (Gradle/Artifactory/Jenkins/Chef) to one of our senior architects, and he made a comment to me that I sort of disagree with, but am not experienced enough to ...
16
votes
5answers
2k views

What advantages do continuous integration tools offer on a solo project?

If you're doing a solo project - would you use CI tools to build from a repository? I've used Hudson and Cruise Control in a team environment, where it's essential to build as soon as anyone checks ...
3
votes
2answers
251 views

To depend on source code or on binary?

We have two in-house projects, A and B, developed by different teams with B dependent on A. Since source code for both projects is stored in git, I've included project A as a submodule into project B ...
167
votes
24answers
23k views

How to apologize when you have broken the nightly build [closed]

My first commit in my project resulted in the nightly build being broken and people are all over me as we are nearing the release. I want to send an apology email that should sound sincere and at the ...
25
votes
12answers
22k views

What exactly is the build number in MAJOR.MINOR.BUILDNUMBER.REVISION

What I think about Build Numbers is that whenever a new nightly build is created, a new BUILDNUMBER is generated and assigned to that build. So for my 7.0 version application the nightly builds will ...
6
votes
2answers
699 views

Should maven generate jaxb java code or just use java code from source control?

We're trying to plan how to mash together a build server for our shiny new java backend. We use a lot of jaxb XSD code generation and I was getting into a heated argument with whoever cared that the ...
3
votes
3answers
398 views

Purpose of building file using Make

I am trying to understand what is the purpose of making files using commands such as cmake .. and make, I have tried looking online but there is no concise explanation on its purpose that i could ...
6
votes
1answer
391 views

Where do the responsibilities of build tools end and those of CI tools start? [duplicate]

In the delivery of software, and within the sense of the deployment pipeline, where do the responsibilities of build tools, like Maven, end, and the responsibilities of CI start? As a rough example ...
3
votes
2answers
213 views

Should performance tests be instrumented by build tools?

Should performance tests be instrumented by build tools as part of the build process, or should they live completely outside? If outside, then where in the deployment pipeline should they live? I ...
19
votes
4answers
1k views

Why isn't java used as a build language?

If Java is a general purpose language, and building a program is something that can be described using the Java language, why isn't this the best way to write build files and instead we use tools like ...
3
votes
2answers
674 views

Multiple entrance points in project

My question is related to C++ but it comes from Java actually. When I was programming Java I had multiple classes, which were derived from a base "Test" class. Their purpose was to test things - run ...
2
votes
1answer
103 views

Build number when supporting previous version

I am developing and maintaining a web-based application that's used internally at my job. I am the only developer and so I'm not really using branches; everything happens on the trunk. I do tag ...
2
votes
3answers
258 views

How to avoid binary dependency on size change

class A { public: int i; }; // A.h and defined in project libA.vcxproj (libA.dll) I'm using class A in multiple places at various projects as below. Apporoximately 100 projects. include "A.h" class ...