build-process

Building from the command line to produce a binary for Mac OS 10.5 (and 10.6)

I am referring to the following source: http://clpbar.sourceforge.net Build process is the standard: ./configure followed by make If I build on 10.5 I get a binary whose file contains: Mach-O executable i386 If I build on 10.6 I get a binary whose file contains: Mach-O 64-bit executable x86_64 How can I build from the command line on ...

How do I build and distribute my Java project?

I used Eclipse to build a pretty simple Java project. It builds and runs in the IDE. I have a few unit tests I wrote using JUnit. They all build and pass in the IDE. My project is in the following path: /home/vg1890/workspace/project/ The main source is in: /home/vg1890/workspace/project/src And the tests are in: /home/vg1890/...

Mitigating verbosity of Maven pom.xml files (or: a critique of Maven by a fan)

I like maven. I even like it very very much. Since I switched to it from Ant I have saved lots of hours of works, building build files, administrating dependencies, etc, and saved lots of space in my source control repository. The problem is that maven files are too verbose. Not that Ant files where less verbose, but their verbosity was...

How can I set up the "Working Directory:" from the "External Tools Configuration..." in Eclipse?

Hello everybody, When I open a source file from my project and I run a custom build script, I want the working directory to initialise to the actual current working directory from which the source file was opened. Any idea how to do this? UPDATE: Also, how can I set the "Working Directory" to one level above the actual working directo...

MSBuild file for deployment process

I could do with some pointers, code examples or references that may help me do the following in an msbuild file to help speed up the deployment process.. This scenario involves getting a developers 'local' version onto a 'development' server.. Increment a developers local Web Applications Assembly version number Publish a developers l...

Building Flex 3 Project from MSBuild

I am working on a .NET project with a Flex/Flash front end. The build scripts are written in MSBuild and I'm looking to build the Flex project (authored in Flex Builder 3) from my primary build script. What options do I have for building a Flex 3 application from MSBuild? I've already seen flexbuild, and it looked ideal until I tried i...

What GNU make substitute do you recommend?

Imagine you're free to choose a tool like GNU make for a new C++ project. What would you choose? Are any usable substitutes out there? It shall have/be a command line interface "easy" to understand ;) easy to set up for a default c++ project may support src/bin seperation as common for Java may not add too much dependencies to other s...

Build Boost-powered solution in VS

Boost rocks, it is great and extremely powerful, but I hate it everytime I build solution in my Visual Studio 7.1. It seems Boost has impact on build time (not positive). I cannot remove all Boost usage from my project to compare build times but I tried it on small projects and the difference is meaningful. I guess the problem is tha...

Building FLTK Project in Eclipse

I am having trouble getting set up with FLTK in Eclipse. I am trying to create an OpenGL window with the following code (which I found here): #include <FL/Fl.H> #include <FL/Fl_Gl_Window.H> #include <FL/gl.h> // // Simple resizable 2D GL window // erco 10/08/05 // class MyGlWindow : public Fl_Gl_Window { // DRAW METHOD // ...

Cancel a running build process in VS

Is it possible to cancel/abort a running build process in Visual Studio 2008? How? ...

Visual Studio links although nothing has changed

I have a couple of VS 2008 projects (C++) that are linked every time I start a build, even though nothing has changed. i.e. I select "Build Solution", it compiles and links, I select "Build Solution" again, it doesn't compile anything, but links again. This is quite annoying and I have checked everything that might cause it to link agai...

Linking with a different .so file in linux

I'm trying to compile a piece of software which has the standard build process e.g. configure make make install The software requires a library e.g. libreq.so which is installed in /usr/local/lib. However, my problem is I'd like to build the software and link it with a different version of the same library (i have the source for the ...

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

Hi there, 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 iPhone apps. Somebody has a clue how can I run my script at the very last possib...

Boost Jam Not Producing Thread Library on Windows

I downloaded the latest Boost Jam binary from SourceForge and I'm using the command: bjam toolset=gcc --build-type=complete stage I've installed Cygwin along with the GCC compiler. While the command produces a stage/lib directory, I cannot find the thread library that I'm using in Linux. Boost Jam takes a while to run, so there coul...

Any experience with a Continuous Integration Appliance?

We have a continuous integration server running Hudson CI. I'm thinking about putting up an LCD display in the office with various build stats and am curious what others have put together. I'm currently thinking about buying a WIFI-enabled digital picture frame that I can send generated images to. Or repurposing an old laptop... Thoug...

Nant: Building projects using svn-externals

Using subversion and Nant for building. I have a main project that depends on several sub-projects. The sub-projects exist as separate projects inside subversion. My question is: Should the nant build script in the main project build all the referenced sub projects and itself? Or do the subprojects know how to build themselves and I ...

Optimizing the build performance of an ASP.NET web site project?

I'm currently working with an ASP.NET CMS that keeps close to 500 code files in the App_Code directory, as well as hundreds of web forms with code-behind in various folders of the site. It is a web site project (not a web application project) and I'm reluctant to change it since this is a project with multiple developers involved, plus t...

Is the Mercurial .hgignore my only option for handling hundreds of temp files generated when compiling?

OK, this is driving me absolutely crazy. I've been all over google and SO looking for someone who has asked this question, but am coming up completely empty. I'll apologize in advance for the lengthy round-about way of asking the question. (If I was able to figure out how to encapsulate the problem, maybe I would have been successful ...

Build numbers: major.minor.revision

How would you write a build.xml file, using neither custom code nor external dependencies (such as a shell script), that: Generates a build number of the form major.minor.revision (e.g., 01.02.34). Auto-increments the revision on each compile of the source code. Auto-increments the minor version on each execution of a dist(ribution) ta...

Bamboo Versioning

Hello guyz, I have a situation where i need to maintain version information of my builds. By googling i found limited information. one way is to create a version file on source control and keep updating. other is to use the source control revision number. final one is to use bamboo build number. i haven't implemented anyone of this befo...