build

Unix: fast 'remove directory' for cleaning up daily builds

Is there a faster way to remove a directory then simply submitting rm -r -f *directory* ? I am asking this because our daily cross-platform builds are really huge (e.g. 4GB per build). So the harddisks on some of the machines are frequently running out of space. This is namely the case for our AIX and Solaris platforms. Maybe there ...

Any real world CMake project example ?

I am new to CMake, i think the best way to learn it is to see how it is used in a real world project. I know KDE uses CMake, however, my project is much small than that. On the other hand my project is bigger than mos the hello-world project in the tutorials. simply speaking, my file structure looks like: build # for binary lib_extern...

What names do you use for the “Solution Platforms” in Visual Studio?

The Visual Studio Default config says: “Any CPU”, does anybody change that? If so, what would you use and why? ...

Is it possible to create an async build step?

I would like to start an application from a pre-build step. However, I do not want Visual Studio to wait for the application to close. Basically, I have a simulation engine that I need to start prior to a debugging session. Is this possible? I tried commands like "start app.exe" and "cmd start app.exe"... ...

How do I generate Symfony fixtures YML from exising database data?

I was wondering if anyone knew how to generate a fixture.yml from data that is already existing in the database? As you can use the build-schema to generate a schema, is there a way to do that for data? symfony propel:build-schema ...

svn causes build errors in eclipse

hi, I imported a java project into eclipse which had .svn folders in it. The project did on build properly and it gave errors. But, once I deleted the .svn folders from the project, eclipse did not show any errors. What is the reason ? ...

Capistrano Hates Gemspecs

I'm deploying a rails app on Slicehost using Capistrano. Part of the process of deployment involves rebuilding a gem and installing it. Deploying the code to the server via git scm works fine, but for some reason when I try and do a... run 'gem build /my/app/folder/my.gemspec' ... in a separate task in deploy.rb, it all goes bboom. I...

Can you create custom build rules for XCode based on file type?

I have a project with a bunch of .png files that I want to convert to PVRTC compressed textures. Right now, I'm using a custom XCode run script phase that looks like this: TEXTURE_TOOL=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool $TEXTURE_TOOL -e PVRTC --bits-per-pixel-2 -o "$SRCROOT/images/select_menu_bgs1.pvr...

Loosely-coupled, non-referenced assembly - how to make sure it's in the \bin\Debug folder of the exe project for debugging?

I'm building a loosely-coupled app, where the main exe project only contains references to an assembly with interfaces. The concrete implementations of those interfaces are in assemblies that are referenced indirectly - via IoC. However, those assemblies' build output doesn't get copied to the bin\Debug folder of the exe, which means m...

How to ignore output from executable with CruiseControl.Net build?

I'm running a little find and replace utility called fart.exe (yes, fart, as in Find and Replace Text) as part of my CC build. Works great. The problem is that FART while it is working displays a little ASCII spinner composed of pipe, dash, slash... | / - . There isn't a way to suppress this spinner, and CC thinks these little symbols ...

How do I use a script's output in an Ant Conditional

I want to do something like the following <target name="complex-conditional"> <if> <exec command= "python some-python-script-that-returns-true-or-false-strings-to-stout.py/> <then> <echo message="I did sometheing" /> </then> <else> <echo message="I did something else" /> </else> </if> </target> How ...

Sharing common Ant targets between projects

Is there a well-established way to share Ant targets between projects? I have a solution currently, but it's a bit inelegant. Here's what I'm doing so far. I've got a file called ivy-tasks.xml hosted on a server on our network. This file contains, among other targets, boilerplate tasks for managing project dependencies with Ivy. For exa...

Creating single EXE file for project using .Net and another external library

I have an email client created for class that we need to run as a single EXE. It is made with C++ .NET, and the external POCO library, which has a ton of DLL files... What would be the best way to make this happen? I was looking on some similarly asked questions, and some people recommended tools such as ILMerge and Ezirez, but the que...

BIOS build number and Identification number ?

Hi, I want to get the BIOS Build number and Identification number. I am already using WMI class Win32_Bios dataclass but I it is not returing the value for Build number and Identification number on any of the windows OS. can any one let me know how should I go to get the above fileds mentioned for bios? ...

Configure hudson to build multiple branches

I use an ant file to build a java project in mercurial through hudson. The mailnine has a hudson job running just fine. Recently a new branch was created and pushed to the server by commnd line: hg branch newbranch hg commit hg push -f The mainine does not contain these changes and still builds fine. I have set up a new job with the sa...

Visual Studio 2008 project reference

I have a problem with the "Copy to output" functionality in Visual Studio 2008. Maybe I'm misunderstanding how its supposed to work. I have a solution with four projects: TestApp1 (Windows application) TestAppA (Windows application) TestProj1 (Class library) TestProjA (Class library) The dependencies are as follows (dependency as in...

Enabling Ant Tools in a new Eclipse Galileo installation

I have recently installed Eclipse Galileo with the PHP Developers Tools. I plan to install the Flash Builder 4 Plug-in to do ActionScript development as well. I want to use Eclipse to both create an ant build script and execute it to compile ActionScript docs from an ActionScript 3 code library. The problem is that when I try to run a...

Hudson build defaults

This has been a fairly long-standing problem for us with our Hudson installation, and searching around the Hudson Wiki / Issue Tracker hasn't yielded any insight to this. The question: Is it possible to set certain default values for a maven2 build in Hudson? For example, we want all our projects to run the "clean" goal before a build, ...

How can I get Maven to generate a jnlp for my project?

I'd like to have Maven2 generate a .jnlp (webstart profile) for my application. There is a maven-jnlp-plugin, but it's deprecated as of somewhere around Maven 1.1-beta2. Is there a more preferred way to do this, or do I need to build out this capability myself? ...

Sharepoint feature environment-dependant (UAT, PROD) properties

Hi all I'm developing a feature for MOSS which stores some environment-specific config data in feature.xml (like connection string). I would like to have a separate .properties file for each environment and make it automatically substitute appropriate values to where needed (like feature.xml) while building. Is that possible and what t...