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)

8
votes
3answers
1k views

Does it make sense to write build scripts in C++?

I'm using CMake to generate my projects IDE/makefiles, but I still need to call custom "scripts" to manipulate my compiled files or even generate code. In previous projects I've been using Python and ...
37
votes
5answers
17k views

How do you achieve a numeric versioning scheme with Git?

My organization is considering moving from SVN to Git. One argument against moving is as follows: How do we do versioning? We have an SDK distribution based on the NetBeans Platform. As the svn ...
9
votes
9answers
508 views

Should developers be expected to compile an internal library before the actual program?

Recently a senior developer that I work with made a case for requiring that developers get the latest version and compile as part of their project a major internal library. This stands in contrast the ...
15
votes
9answers
1k views

Convince a lone developer to use a separate build tool instead of the IDE one-click build

In my years of programming Java and more recently Scala, I've never used Ant, Maven, Gradle or any of those build tools for Java. Everywhere I've worked there was a build manager who took care of all ...
11
votes
3answers
744 views

What are good ways to organize input files (Makefiles, SConstruct, CMakeLists.txt, etc.) to build automation software?

One thing I like to do with my code is make sure that it's refactored into manageable pieces. However, when it comes to building the software, I find that whatever build automation software I end up ...
6
votes
2answers
851 views

Build Process for Web Application

I have a web application with lots of Javascipt and CSS code. I want to minify the CSS and JS code using something like UglifyJS. However, I don't want to program with the minified code and I want my ...
4
votes
1answer
273 views

What are build team responsibilities from developer point of view?

Lets assume that you are working for a corporation doing a lot of IT development. What do you think should be build team responsibilities that performs 'services' for developers? What do you expect ...
344
votes
12answers
11k views

Should I intentionally break the build when a bug is found in production?

It seems reasonable to me that if a serious bug is found in production by end-users, a failing unit test should be added to cover that bug, thus intentionally breaking the build until the bug is ...
-1
votes
1answer
382 views

Starting a new project in python and qt. Where can I find a good code layout for build scaffolding? [closed]

I am in the process of starting a new project with python and Qt. The project starts from zero, and it may become a commercial application. While the programming of the code in itself is a task, ...
2
votes
3answers
217 views

File system layout for multiple build targets

I am seeking some ideas for how to build and install software with some parameters. These including target OS, target platform CPU details, debugging variant, etc. Some parts of the install are ...
13
votes
2answers
817 views

Should the deploy script be an artifact of the build?

This is a web project written in Java. So, I'm writing the build and the deploy scripts. To create the build, I used ant. The continuous build is done with Jenkins. The build generates 3 different ...
13
votes
6answers
657 views

What does “automated build” mean?

I'm trying to add Continuous Integration to a project. According to Wikipedia, one major piece of CI is automated builds. However, I'm confused about what, exactly, that means, as the CI and build ...
1
vote
3answers
522 views

Getting started with build tools [closed]

I am on my final year on CS, working on my first significant project, so I thought its about time to learn and use build tools. I have read about Maven mainly and heard about Ant. I would like to ...
1
vote
1answer
54 views

What should be included on an About page/form?

I was looking to add a simple form that states my project's build number on a form to quick identify what version I am running. Then I realized I'm not sure what fits on an about page. In my ...
12
votes
7answers
930 views

Is Ant still in the “mainstream” for Java builds?

We have been slowly replacing batch command files (windows .bat) which were simply jarring up the classes compiled in the developers IDE, with more comprehensive Ant builds (i.e. get from CVS, clean ...
9
votes
1answer
2k views

Using a TFS Build Process Template (Workflow) for Deployment

I'm thinking of using TFS Build workflows for complex deployments. We have some that may need to deploy: Web applications and services Database SSRS Reports SSIS Packages Who knows what else I ...
4
votes
5answers
6k views

Is it possible for two DLLs to conflict , preventing solution to build

Though I have a specific case, but I was wondering about the general situation. Can two DLLs, when added as Reference to a Visual C# project collide with each other to prevent the solution from ...
2
votes
1answer
163 views

Can anyone recommend a toolchain-agnostic way of declaring and documenting inter-package build dependencies?

I currently have a project at my hand that I'll leave soon (PhD work) and should be left in an understandable form since it is likely to be taken up, though it is not known yet by whom and when. ...
6
votes
4answers
2k views

Is there a general rule for when you should use 'make clean' instead of just 'make'?

I am writing a multiple-filed program right now, and apparently running only 'make' (as one would intuitively think needs to be done in most situations) for some reason causes my program to fail. I ...
10
votes
8answers
501 views

Moving from one man project to team project in the future. What should I be doing now in preparation and what can wait?

To elaborate I am interested in knowing what people think you need to put in place while still a one man project (team source control, documentation, builds etc) and what things don't need to be done ...
2
votes
1answer
162 views

Which tool to use for creating application releases?

I'm wondering what others use as a tool for creating the final package to hand over to the customer. For now, these are the tasks it should perform for our company: build a set of VS projects ...
1
vote
1answer
233 views

Store build server configuration in same repository as source code?

Some co-workers and myself are tasked with a "rewrite" of an ancient, unmaintainable application and to shape it into something workable. I am setting up a continuous integration server, and since we ...
6
votes
5answers
356 views

Should the build drive your tags or should the tags drive the build?

Our current method of creating a product release is to tag all of our component repositories with the next appropriate version and then modify a master build script with these new version numbers for ...
6
votes
1answer
478 views

1-click software release

I am rewriting a vb6 installer into NSIS. One of my priorities is to compile-to-release in the least number of steps possible; ideally, a one click process, in which all needed files are included, ...
0
votes
3answers
305 views

How do build time and unit test time compare?

Does this depend heavily on the type of project (e.g. scientific software vs banking system vs game)? If so, in which areas is the difference the highest and lowest? In your experience, is it safe to ...
4
votes
3answers
277 views

Should deployment errors constitute a build failure?

Our software uses in-house written deployment software due to the complexity of the product. As part of our current QA (not dev) build process (using more in-house software) we compile the code, patch ...
2
votes
1answer
387 views

How do you handle multiple projects that form the same product(s)?

I have limited experience when it comes to build and version control systems. I feel like I've run into a common problem but I'm having trouble uncovering how it is typically handled. Say you have ...
3
votes
1answer
1k views

Automake - how to keep the source tree clean?

I have a project that uses GNU autotools to build itself. I am trying to modify so that autotools generates all the non-versioned control files in a separate directory so that I can keep the source ...
16
votes
9answers
1k views

Babysitting your Continuous Integration System

One of my roles in my team is the build person. I am responsible for maintaining/updating our build scripts and making sure we are building 'smoothly' on the continuous integration server. I usually ...
5
votes
3answers
454 views

Forgetting to merge changes from trunk to branch

Recently, I forgot to merge changes from trunk to our maintenance branch. This caused us to rebuild - twice - and put QA on hold for two days while we fixed the mess. Normally, when committing to ...
4
votes
3answers
171 views

Do you allow presentation layer code to be deployed outside of a build cycle?

For any standard web project you will have server-side code, server pages, JavaScript and CSS files as your code assets. It's pretty standard practice for server-side code to have a test suite and a ...
161
votes
26answers
18k views

How to apologize when you have broken the nightly build

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 ...
12
votes
6answers
691 views

When does Continuous Integration add value? [duplicate]

Possible Duplicate: How many developers before continuous integration becomes effective? When does continuous integration (such as CruiseControl) add value to a project? Do factors such as ...
2
votes
6answers
333 views

Do Makefiles Matter?

I'm currently working on a small library as a hobby project. I am the only one who actively codes for it, but a few of my friends have expressed interest in participating in the future. When using ...
6
votes
4answers
258 views

Where do you store your builds?

We currently use Team Foundation Server to do our builds. I know we can tell TFS to keep our builds for a certain amount of time or keep them indefinitely. What if we want to keep some or all of our ...
0
votes
1answer
123 views

about build process

I have programmed in Obj C and C, but until now found that I dont fully understand the steps in taking the software from source code to executable, I found this image kind of explaining it (sorry ...
1
vote
3answers
417 views

Ms Build publishing vs Visual Studio IDE publishing

I am currently working on ms build to publish my winform application based on the environment selected (Dev or Prod). I am using Ms Build Community Task and referencing this article to achieve this ...
7
votes
3answers
1k views

How do you manage frequent software releases to multiple clients? [closed]

we have a cross-platform middleware product which we typically end up customizing/bug fixing on a per client basis. In some cases, providing updates as often as once/twice per week. We have a lot of ...
12
votes
4answers
3k views

Release build vs nightly build

A typical solution is to have a CI (Continuous Integration) build running on a build server: It will analyze the source code, make build (in debug) and run tests, measure test coverage, etc. Now, ...
3
votes
4answers
2k views

Why maven so slow compared to automake?

I have a Maven project consists of around 100 modules. I have reason to decompose the project to so many modules, and I don't think I should merge them in order to speed up the build process. I have ...
11
votes
6answers
2k views

Can you make a build in one step?

From the joel test: Can you make a build in one step? I've got to say I can't. I'm currently working on a web app that has a spreadsheet list of items that must be carried out in order to ...
2
votes
1answer
228 views

C library build system dependencies

This debate has cropped up on a mailing list for a project I'm involved in. Unfortunately we're quite a small bunch at the moment, so I want to ask a wider audience. We're writing a C library (for ...
4
votes
2answers
1k views

Advantages of Hudson and Sonar over manual process or homegrown scripts

My coworker and I recently got into a debate over a proposed plan at our workplace. We've more or less finished transitioning our Java codebase into one managed and built with Maven. Now, I'd like for ...
7
votes
9answers
2k views

Automated build platform for .NET portfolio - best choice? [closed]

I am involved with maintaining a fairly large portfolio of .NET applications. Also in the portfolio are legacy applications built on top of other platforms - native C++, ECLIPS Forms, etc. I have a ...
8
votes
5answers
324 views

Is there a better strategy than relying on the compiler to catch errors?

I've been programming in C and C++ for some time, although I would say I'm far from being an expert. For some time, I've been using various strategies to develop my code such as unit tests, test ...
10
votes
4answers
407 views

Arguments againts checking-in binary files into SCMs

I work for a company that primarily builds Java applications and I'm trying to convince everybody to stop checking-in binary files (dependencies and final products) to SCM. They know it is a bad ...
18
votes
11answers
8k views

Which Continuous Integration framework do you use and why? [closed]

There are quite a few different Continuous Integration (CI) frameworks out there and I'm wondering which is the most popular. Which frameworks have you used at firms where you work? Is there any ...
21
votes
12answers
10k 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 ...
13
votes
5answers
1k 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 ...
4
votes
6answers
690 views

Build/deployment tools for a small (1) development effort [closed]

What build or deployment tools are available for a 1 person development effort, in the .NET space, that are capable of producing project outputs? I'm not looking necessarily looking for a CI server ...