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)

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 ...
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 ...
36
votes
5answers
18k 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 ...
33
votes
6answers
6k views

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

There are some programming languages for which exist their own package management systems: CTAN for TeX CPAN for Perl Pip & Eggs for Python Maven for Java cabal for Haskell Gems for Ruby Is ...
22
votes
7answers
1k views

how to stay efficient when a build is almost always broken

I work in a middle sized team which shares the same source code and while have a continues integration in place, but as all of us has to work in the same branch, the build is almost always broken. ...
20
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 ...
17
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 ...
17
votes
7answers
616 views

How important are daily builds?

One of the criteria of the Joel Test is daily builds. The idea is that if the build is broken, whoever broke it is around to fix it up. If the build cannot be fixed, everyone will have to check out an ...
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 ...
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 ...
14
votes
5answers
922 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 ...
13
votes
6answers
660 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 ...
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 ...
12
votes
6answers
692 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 ...
12
votes
7answers
937 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 ...
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, ...
12
votes
4answers
323 views

Patching open source software when upgrading is not an option?

I recently ran into a rather annoying (confirmed) bug in an open source software package that I have integrated into my application. According to the public issue tracker this bug has been resolved ...
12
votes
2answers
825 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 ...
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 ...
11
votes
3answers
752 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 ...
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 ...
10
votes
4answers
409 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 ...
9
votes
9answers
509 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 ...
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 ...
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 ...
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 ...
8
votes
4answers
4k views

Continuous Build server (cc.net, hudson, bamboo, etc…) remote build experience?

We currently use once cc.net server for our build process, which builds both .net (using msbuild & nant) and java (using maven and ant). CC.net monitors source control, and triggers a remote ...
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 ...
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 ...
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 ...
6
votes
1answer
479 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, ...
6
votes
2answers
854 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 ...
6
votes
4answers
260 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 ...
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 ...
5
votes
4answers
584 views

What software models are appropriate for daily builds and continuous integration?

On reading the joel test and about daily builds, a discussion with a few tech-lead friends of mine in various companies revealed that they never did daily builds or continuous integration because ...
5
votes
4answers
1k 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 ...
5
votes
2answers
414 views

How to deal with undesired commits that break long-running release builds?

We ran into an unfortunate situation at work recently and I've been wondering what we can do to avoid similar problems in the future. We make embedded systems. The FPGA code is in one SVN repository ...
5
votes
3answers
280 views

How do I go from “here's the zip” to a good release strategy?

I can write code, resolve dependencies, and get my program to run on my computer; I have no idea where to go from here though. How do I get the software ready for distribution? The school ...
5
votes
3answers
373 views

Best practices for versioning project after dependency upgrade

Say, my project have dependency N with version 1.0.0. Then something have changed, and I should depend on newer version - let it be 1.0.1. OK, I'm incrementing dependency version, nothing else ...
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 ...
5
votes
1answer
274 views

Delphi Build Server - Do I need to check in .dres files?

We're using final builder to build a Delphi project and the person managing the build server noticed that projects with no .dres files were not building because they're not in SVN and because they're ...
5
votes
1answer
109 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 ...
5
votes
1answer
363 views

Conditional attribute in XML - most concise solution?

I am tasked with setting up conditional profiling - a method of tagging chunks of XML with an attribute, which will then be used as a conditional value to extract subset of that XML. Have a look at ...
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 ...
4
votes
3answers
172 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 ...
4
votes
3answers
176 views

How to maintain nearly identical internal/external programs without having separate codebase for each?

I have a program I'm working on that my company uses internally, but is also sent to vendors. The vendor version will be identical, except that it will be missing some features, and use an installer. ...
4
votes
3answers
452 views

What is the best setup for distributing a PHP application?

What is a recommended setup in terms of source control, builds, testing, bug tracking, and deployment for a downloadable PHP application (a la Wordpress, phpBB, Magento, etc.)? As a developer working ...
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 ...
4
votes
1answer
275 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 ...
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 ...