Questions tagged [build-process]

The sequence of actions required to construct a software product or executable application, or the system which performs such actions.

Building applications is a critical part of software development. The build-process is the series of steps involved in assembling everything necessary to run your application and turning into something that can be natively executed. A build process might look like this:

  1. Create an output directory.
  2. Get latest version of source code from source control software. Also get latest version of any related files like images.
  3. Perform a full build/compilation of the source code.
  4. Create an install package.
  5. Copy install package to output directory.
  6. Logging every step.
  7. Alert developers when done.

Each individual step can be very involved. Two steps of the Joel Test are about the build-process:

Can you make a build in one step?
Do you make daily builds?

Builds are frequently automated; one of the steps of the Joel Test is the ability to perform a one-click build. Doing manual builds risks errors and has a high cost in developer sanity. Daily builds are important because they help catch errors that were checked into source control. There are many tools that can facilitate setting up automated builds like ANT/NANT.

2302 questions
1
vote
0 answers

Installing psycopg2 failed with python 3.2 but not with 3.4

First of all, I am sorry for asking a question that was asked million times, however, I couldn't resolve my issue. TL;DR: psycopg2 builds in Python3.4 virtualenv, but not in Python3.2; suspected dev packages missing, where can I get dev packages for…
julka
  • 1,172
  • 2
  • 13
  • 29
1
vote
3 answers

Build server polling vs. event-driven builds

Why do build servers poll for changes instead of SVN firing off an event (or a post-commit step) that tells the build server to start a build? It seems terribly inefficient to poll for changes, especially when the number of projects increases and…
Daniel T.
  • 37,212
  • 36
  • 139
  • 206
1
vote
1 answer

Gradle Multiproject Build: How to include JAR of a WAR project into another WAR without creating pseudo projects

I have two web apps A and B. B uses parts of code from A. If I declare A as a dependency for B the A.war is included WEB-INF/lib of B.war This kind of include is meaningless to the container. The only solution I see is to change A to a Java project…
Dojo
  • 5,374
  • 4
  • 49
  • 79
1
vote
1 answer

Deploying to openshift WildFly

I am using JSF, EJB, WildFly, maven and MySQL db to develop an app. I have a development environment for my project (db in the cloud and a local WildFly server). I want to deploy my app to the QA environment which is an openshift WildFly with MySQL…
1
vote
2 answers

Accessing TFS from Powershell

I am new to PowerShell and I am trying to get branches from TFS and merge them using a PowerShell script. Unfortunately I am failing a first hurdle. I do have Visual Studio 2010 install on my local machine and can access the TFS server (also 2010)…
w4ymo
  • 312
  • 2
  • 8
  • 21
1
vote
2 answers

Adding my own configuration for a C# project into MSBuild / Visual Studio

I could probably hack some stupid solution to my problem, but I would love to do it right and save myself future headaches. I can write simple .vcxproj files, but they usually end up being quite beginner-like and poor quality. I have a large-ish…
1
vote
2 answers

Programming for a 32-bit environment vs programming for a 64-bit environment / Build configurations

I was looking at some same code (a sample MS Visual Studio C++ project) recently with multiple build configurations (Release/Debug, Win32/x64). My question: What is the difference? I guess I understand Release/Debug (Release = finalized version of…
Russel
  • 3,609
  • 8
  • 33
  • 32
1
vote
0 answers

Xcode build script for storyboards - using the id attribute in custom error messages to link to a view controller or view

I'm writing a custom build script that processes .storyboard files. Sometimes a storyboard does not fulfill a requirement to be processed and thus I want to output an error message. There error messages are shown correctly when my script writes this…
1
vote
3 answers

jenkins subversion tagging multiple repositories

I have a project in jenkins that compiles java code using ant. I have 2 SVN repositories - one for source code files and one for compiled files. I am using subversion plug-in to update the source files and the compiled files from SVN. At the end of…
Gilad Baruchian
  • 930
  • 3
  • 14
  • 30
1
vote
1 answer

Using Ant in Eclipse to copy files to Tomcat directory

I have checked out a java servlet project from subversion that has a strange organization. All the java is in one directory and the resources ( JSPs, properties files, etc are in another ). I want to use Ant to build the project, but then copy files…
jeph perro
  • 6,242
  • 26
  • 90
  • 124
1
vote
1 answer

Custom build process load error

I used to be able to just double-click a build process XAML file to open/edit it from (TFS) source control. Now, when loading one of our custom build process templates, I'm getting the following error: Could not load file or assembly…
qJake
  • 16,821
  • 17
  • 83
  • 135
1
vote
1 answer

GNU Make, generate file with default settings/content when absent

I would like make to either copy a file from the source tree into the target/build directory if it exits or generate an empty/default file if not. It would be easy to do the following: target/settings.json: src/settings.json cp $?…
Ernelli
  • 3,960
  • 3
  • 28
  • 34
1
vote
1 answer

Error handling in VS/C# build events

I have just written a small utility to be used in a pre-build event. The utilty works fine when run as standalone, but does nothing when used in the build event. Is there a standard way of noticing and dealing with error conditions in build events,…
ProfK
  • 49,207
  • 121
  • 399
  • 775
1
vote
1 answer

Build number increment not reflected in AssemblyVersion

I've browsed through some of the discussion on auto-incrementing build numbers, but in the impatience of youth decided to roll my own and re-invent the wheel. I know there are probably better ways to go about this (which I'm definitely going to…
awshepard
  • 2,627
  • 1
  • 19
  • 24
1
vote
2 answers

SSIS Script task in a 64 bit environment

SSIS (SQL 2005) packages that have a script task that invoke custom .NET dlls throw the following error when run in a 64 bit environment The task cannot execute in 64-bit environment because the script is not pre-compiled. Please turn on the option…
Gemini
  • 29
  • 1
  • 4