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
1 answer

Visual Studio 2010, targetting the 4.0 framework for debug and the 4.0 Client Profile for release

I have been unable to edit and continue in a project that targets the 4.0 Client Profile however i can if i am targetting the full 4.0 Framework. I want to release against the client profile to limit the download required to install. Is there anyway…
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
1
vote
2 answers

Gulp-js task to minify non-minified files and concatenate with minified files

How to write a gulp-js task which minifies only non-minified files and concatenated them with already minified files.
ahmadalibaloch
  • 5,851
  • 2
  • 50
  • 59
1
vote
0 answers

Is there a way to run a target only if a file has been changed since the last build?

In an ant build script, is there a way to check if the files in one folder have been changed or added to since the last build, and then conditionally run a target based on that check? My project has three assets folders, one for each of three…
Mar
  • 7,765
  • 9
  • 48
  • 82
1
vote
1 answer

How are content files for .deb files created?

I'm creating a clone of Cura, and one major hurdle is creating a custom content file present here. If I could get an explanation as to how this file is generated, that would be great. My main aim is to work around the file to provide it some…
Projjol
  • 1,195
  • 2
  • 12
  • 26
1
vote
2 answers

Grunt + TFS build output format

I'm using grunt in my project to run my unit test (use karma), test coverage, code analysis (tslint), ... I easily include my grunt task into my TFS build proccess template, thanks to activity 'Invoke process': WriteBuildMessage only print…
Felix_Billon
  • 690
  • 2
  • 10
  • 21
1
vote
1 answer

Viewer lines in License.licx breaking build process

I've recently been tasked with adding a report to an older WPF application. Part of the process involved adding ActiveReports to the solution in question. After getting the report implemented and tested on my local machine, it came time to commit…
Andrew Gray
  • 3,756
  • 3
  • 39
  • 75
1
vote
1 answer

How can I declare dependencies in index.html with Grunt?

My AngularJS app is structured like this: myproj |-- app | |-- index | | |-- index.html | | |-- index.js | |-- page1 | | |-- page1.html | | |-- page2.js | |-- page2 |-- common | |-- resources | | |--…
CodyBugstein
  • 21,984
  • 61
  • 207
  • 363
1
vote
0 answers

MVC project, must add reference to PresentationFramework, WindowsBase errors

I have an MVC project that has been working for years that I just re-published to the server yesterday. I opened it up to debug and make changes to code. Some time in between compiles, something happened and now the build fails complaining that…
user3738893
  • 425
  • 1
  • 6
  • 18
1
vote
1 answer

Migrate Maven 2 profiles.xml to Maven 3

I'm trying to migrate an existing big multi-module project from Maven 2 to Maven 3. The project does heavy use of profiles.xml to define settings for different environments (development, staging, production); and as you may know, profiles.xml is no…
Johnco
  • 4,037
  • 4
  • 34
  • 43
1
vote
4 answers

Building with ant : dynamic build options?

With multiple developers working on the same Tomcat application, I'd like to tell the application to install to a different path, based on the current user and revision control client/view. So, if Bob is building, the app should be installed in…
JR Lawhorne
  • 3,192
  • 4
  • 31
  • 41
1
vote
1 answer

How to let other xgsubmitted tasks share cpus with visual studio build tasks?

I can use incredibuild as a visual studio extension package to build my code using many cpus. Also I can use xgconsole msbuild ... command. But if I want to add some other tasks along with vc build at the same time. So I tried it in some ways: Use…
1
vote
1 answer

CMake, copy source files expand macros and build

I need to do following. Source code is located in src\MY_SOURCE_PATH\SourceFiles I need to expand macros, especially because I use macros to generate some source code (guards for serializing enums in example, also the same thing is done by some…
CoffeDeveloper
  • 7,961
  • 3
  • 35
  • 69
1
vote
1 answer

Writing makefile to compile several binaries

I am trying to write a Makefile to compile 87 files with the following names: file1.c, file2.c file3.c .... file87.c I am trying to compile them into separate binaries with names: file1, file2, file3 .... file87 In the Makefile I need to…
Ankur Agarwal
  • 23,692
  • 41
  • 137
  • 208
1
vote
3 answers

How can I run my testing application immediately after a build in TFS?

I have a solution that uses the standard TFS build definition template. Unit tests are run when building the solution, but don't fail the build. I also have a separate testing application that runs a suite of automated tests. These tests take too…
Gary McGill
  • 26,400
  • 25
  • 118
  • 202
1
vote
1 answer

Setting up a web development/build environment

My current project has a development web server and live web server. Developers make changes to files on the dev server and test them (by going to the dev address) and make changes as necessary. When the file or files are ready to go, they are…
Eric
  • 18,512
  • 4
  • 29
  • 34
1 2 3
99
100