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

What exactly does the target ResolveReferences does in msbuild?

I have found many many answers in stack overflow and tips around the web recommending to use that, and i realize that it suppose to copy referenced dll's to the output folder. I want to understand that target's logic and how to use it properly, and…
Yuval Perelman
  • 4,499
  • 1
  • 22
  • 32
1
vote
2 answers

Replacing a HTML tag with Grunt-Replace

I'm working on a grunt file for work. We work locally with our files being in html and when we implement them into our CMS they need to be converted to aspx. I'm trying to replace all instances of with…
zach57
  • 442
  • 4
  • 20
1
vote
0 answers

How to use VisualStudio macro in pre-test script?

I am using VS2013. I am running a build definition based on the TfvcTemplate.12.xaml build template on a local build server. I am trying to pass the value of a Visual Studio macro to a pre-test PowerShell 3.0 script. My script currently only logs…
pcoveney
  • 11
  • 1
1
vote
0 answers

CMake to build project as library modules

I am trying to use CMake to build a project that contains several modules. project --modules CMakeLists.txt --mod1 CMakeLists.txt --src --*.cpp --include --*.h --mod2 CMakeLists.txt --src --*.cpp …
Ammar Husain
  • 1,789
  • 2
  • 12
  • 26
1
vote
0 answers

How to build sml3d from svn?

I'm trying to build the sml3d from the SVN source (is there an another way?). First, checked out the source with the following command like below: $svn co --username anonsvn \ https://smlnj-gforge.cs.uchicago.edu/svn/sml3d/trunk sml3d Then, I…
eldesh
  • 11
  • 2
1
vote
1 answer

Ant: how do I disable all non-error messages?

When running ant from command line on my Netbeans projects, I get the following messages hundreds of times, which is very annoying: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:javac Trying to override old…
java.is.for.desktop
  • 10,748
  • 12
  • 69
  • 103
1
vote
3 answers

Automatically copy new Jar file to Tomcat project WEB-INF/lib folder

I am developing a Tomcat app (actually it's a Red5 app, but this is effectively the same). This contains the usual /WebContent/WEB-INF/lib folder, which is where I locate the various jars it uses. Recently, I pulled a package out of my app project,…
1
vote
2 answers

Doing Cross-platform builds with Qt Creator

I am working on a desktop application using the Qt framework and Qt Creator IDE. I am doing my development on mac, and would like to begin testing on Windows as well. I am having trouble finding documentation on how do this. What's is the best way…
Joe Cannatti
  • 4,989
  • 5
  • 38
  • 56
1
vote
1 answer

Expanding parameters in Apache Ant exec task

I have a build that needs a task for starting a process, and one for killing it at the end. I have a file with the process id in it, but cannot figure out how to make ant expand the command substitution in order to pass the contents of that file to…
Bryan Agee
  • 4,924
  • 3
  • 26
  • 42
1
vote
1 answer

How to go about instantiating templates based on symbols missing in an object file?

(This question is a bit obscure without a lot of motivation so please bear with me.) For the sake of discussion let's assume I have two files, a.cpp and b.hpp. Suppose a.cpp has the declaration template void foo(T& t); and somewhere in…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
2 answers

Build Process failed with maven package

I am working on a maven project to build a simple utility api. The same source code when build on my office win XP machine, was successful. Now i am at home and working with same source code on CentOS machine. Here the build process failed…
vijay.shad
  • 2,444
  • 6
  • 27
  • 33
1
vote
1 answer

Can a rake task know about the other tasks in the invocation chain?

Rake (like make) is able to have many targets/tasks specified on invocation. Is it possible for a rake task to access the list of tasks the user invoked, in order to do its job? Scenario: Consider a Rake-based build tool. A help task would like to…
andrewdotnich
  • 16,195
  • 7
  • 38
  • 57
1
vote
0 answers

Building a NodeJS app on Heroku deploy

What is the recommended approach to using build tools like Gulp and Browserify to build your app on deploy with Heroku? Heroku doesn't give much info other than it's possible. The main reason I ask is because if you want to build your app on deploy…
anthonator
  • 4,915
  • 7
  • 36
  • 50
1
vote
1 answer

Accessing to the build process parameters in the Pre-Build script

How can I access to my Build Process parameters into the Pre-Build / Post-Build script. I cannot pass it in argument because I need to prompt the user to ask him the version number before queuing this Build. I have try with $env:MyVariableName but…
Kapoue
  • 847
  • 2
  • 11
  • 15
1
vote
2 answers

Nant: instruct MySql to create db and run scripts

How do I instruct Nant to tell MySql to run ddl scripts from a particular location and then run other scripts as instructed? Google let me to many sites which unfortunately do not work...
Quintin Par
  • 15,862
  • 27
  • 93
  • 146