Questions tagged [build-automation]

Build automation is the act of scripting or automating tasks like compiling, packaging, running tests, deployment etc.

Build automation is the act of scripting or automating a wide variety of tasks that software developers do in their day-to-day activities including things like:

  • Compiling computer source code into binary code
  • Packaging binary code
  • Running tests
  • Deployment to production systems
  • Creating documentation and/or release notes

Advantages

  • Improve product quality
  • Accelerate the compile and link processing
  • Eliminate redundant tasks
  • Minimize "bad builds"
  • Eliminate dependencies on key personnel
  • Have history of builds and releases in order to investigate issues
  • Save time and money - because of the reasons listed above.

See also , and .

1857 questions
14
votes
6 answers

Anything better than CruiseControl for .Net CI?

I've been asked to set up yet another CruiceControl environment for yet another client. I realized that I've been using CC for years without really looking around for competitors. Is there anything else that's sprung up that does the job equally…
14
votes
2 answers

How to run a script after Xcode runs codesign on my iPhone app?

I've got a script written which does some steps to package my build for an Ad Hoc distribution. My first guess was to use a run script phase in my Ad Hoc target. But it looks like codesigning is fixed at the last position in the chain of building…
Jens Kohl
  • 5,899
  • 11
  • 48
  • 77
14
votes
6 answers

MSBuild doesn't pick up references of the referenced project

I bumped into a strange situation with MSBuild just now. There's a solution which has three projects: LibX, LibY and Exe. Exe references LibX. LibX in its turn references LibY, has some content files, and also references to a third-party library…
wasker
  • 1,959
  • 2
  • 19
  • 32
14
votes
3 answers

Renaming files during ANT copy

I'd like to copy a directory of files, and rename some of them in the process. When I run the script below, nothing copies. If I comment the glob mappers in the file below, the files are copied (without the renaming) Thanks for any help. James
tarling
  • 1,887
  • 2
  • 19
  • 27
13
votes
4 answers

How to make a SublimeText 2 shortcut to Run Processing sketches on Mac?

I'm using SublimeText 2 to code my Processing sketches, but every time I need to run the program I have to switch to Processing and click the Run button, Textmate have a bundle to automate this process and I would like to do the same with…
Ricardo Sanchez
  • 4,935
  • 11
  • 56
  • 86
13
votes
4 answers

How to synchronize SVN revision and version ressources of EXE/DLL files?

Say I have some C++ project which builds an exe or dll file. The project is checked into a SVN repository. I want to automatically synchronize the revision from SVN with the version resource embedded in my exe/dll file, i.e. the version should be…
newgre
  • 5,245
  • 4
  • 31
  • 41
13
votes
4 answers

Android - use ant to create build configurations that change configuration values

What I want is a way to have settings that are dependent on build configuration. To give a specific example, my android application connects to a web service. In development, I want the service url to be pulled in from a configurable value. In…
Josh
  • 16,286
  • 25
  • 113
  • 158
13
votes
1 answer

Team Foundation Server Build variables

Does anyone know (or know where to find, couldn't myself) what variables I can use on a TFSBuild.proj file for my automated builds? For example, $(SolutionRoot) gives me the path to all my source files, but I want to copy the built solution from the…
juan
  • 80,295
  • 52
  • 162
  • 195
13
votes
3 answers

Visual Studio Build statistics

I'm interested in how much time I am spending on building my projects every day. Is there any existing tool which provides such statistics? Thanks!
Danra
  • 9,546
  • 5
  • 59
  • 117
13
votes
4 answers

Is there a NAnt task that will display all property name / values?

Is there a NAnt task that will echo out all property names and values that are currently set during a build? Something equivalent to the Ant echoproperties task maybe?
serg10
  • 31,923
  • 16
  • 73
  • 94
13
votes
3 answers

How to set up maven 3 local plugin repository

I need to have a completely offline maven repository due to some limitations. According to http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException , only are searched for plugins. So I am wondering how to…
SunLiWei
  • 1,313
  • 4
  • 11
  • 30
13
votes
2 answers

A type safe build system for C++ (something like SBT)

After using Scala's Simple Build Tool (SBT) and loving it, I'm working on a C++ project that makes extensive use of CMake. The CMake files are quite complicated, and it's painful to modify them, or to even understand them. In contrast, I've found…
emchristiansen
  • 3,550
  • 3
  • 26
  • 40
13
votes
3 answers

Is there a modern replacement for Make?

Make was never a tool that I was in love with and over the years I've used Ant quite a lot but Ant is pretty geared toward Java, just as several other tools (Grunt, Rake, etc.) are all about some other language and tool stack. Is there a modern tool…
John Munsch
  • 19,530
  • 8
  • 42
  • 72
13
votes
1 answer

Running PublicResXFileCodeGenerator at compile time

We are using PublicResXFileCodeGenerator to generate *.Designer.cs files from *.resx files. Currently these are generated whenever the .resx is saved or when we right click and choose "Run Custom Tool". I want to be able to run this tool…
Tim
  • 181
  • 1
  • 1
  • 9
12
votes
5 answers

MSbuild for updating the assemblyinfo file

I am writing a batch file to automate a series of tasks. One of these tasks is to update the version of the dlls in my solution, by editing the assemblyinfo.cs file in the various projects in my solution; and then finally calling msbuild.exe to…
user20358
  • 14,182
  • 36
  • 114
  • 186