build-process

How to test code locally when using a build server?

I've never worked on tremendously huge projects and the workflow we use at work is check-out/code/compile locally to test/commit. I was wondering how a build server would change this process. How do developer test their code when the application is too huge to compile locally? They just code, commit and pray? ...

MSBuild - Project Templates - For non-.NET projects in VS2008

How would you got about setting up a project that doesn't really build, but just runs some commands on the files you are working with. For example, lets say I wanted to setup a project for creating Windows Vista and Windows 7 gadgets. A gadget is nothing more than some html, images, javascript, xml, css, put into a .zip file and then r...

How to exclude files from being copied to bin-debug on build

Using Adobe Flex Builder Pro stand-alone, how do I filter or exclude some files in my project source folder from being copied into the bin-debug folder during a build? Flex Builder is based on the Eclipse platform IDE, this could be as much of a question about Eclipse as it is Flex Builder. ...

Build Tool Evaluation Report

Hi All Am currently evaluating a build tool/framework. I need to meticulously record my findings and present it to the projects for consideration. I am having trouble coming up with a good way of covering all salient points of such a tool. Anyone know any good sites that cover this topic? (Doesnt have to be specific to build tools - a...

PHP Build system

I'm using PHPUnderControl which runs on top of Cruise Control for my continuous integration and unit testing. I also have it setup to run PHPDocumentor to generate phpdoc's for me and it runs PHP Code Sniffer to enforce coding standards for me. But now I want to set up something on that same server (Ubuntu) to make deploying to a remote ...

Building a plugin with two source folders fails

I have an Eclipse Plug-in that contains two source folders: src/ src-gen/ The reason is that, as the name implies, the second folder is filled with the results of code generation. However, when I try an Eclipse PDE build, or even a single export of the plugin, the code in src/ that refers to generated classes will not compile. It s...

Post Build Actions in Flex Builder

Hi there, How do I add post-build actions in Flex Builder? For example, I'd like my build to work as normal, and execute from the bin folder; but I'd also like a copy of the final SWF to be copied to another folder automatically (I'm sick of doing it myself). Thanks! ...

Can Someone explain the Purpose of the different Build Actions in VS 2008?

At first I was just looking for the difference between Resource and Embedded Resource; then I noticed all these other Build Action types: Compile, Content, Embedded Resource, ApplicationDefinition, Page, Resource, SplashScreen, and EntityDeploy. I understand some of these but some are more vague and a clearcut definition would be helpfu...

Running JS minification as a maven goal?

I'm trying to use YUI compressor in a maven goal, but I'm pretty new to the inner workings of maven. I see that I can copy all js to a new directory with the following: <copy todir="blah"> <fileset> <!-- A bunch of file extension types --> </fileset> </copy> Now, for each css and js file, I want to run the run the yui compres...

How to add and implement configure flags in Autotools?

A portion of our research group's program has auxiliary functionality provided by ctemplate library. On our dated cluster, we can not build the software due to compilation , so I would like to separate this functionality and control whether it is included or not via a configure flag, such as --disable-ctemplate. The software, written in...

Including resource file in a project by .RC file rather than .RES file

I remember reading an article or post somewhere years ago that suggested including a resource file in a project by referencing the .rc file instead of an already compiled .res file so that the resource is built as part of the project's build process. I have a glyphs.rc file that I currently compile using the command brcc32 glyphs.rc. In...

FinalBuilder alternative for Mac OS X?

I use finalbuilder (http://www.finalbuilder.com/) for my build process. I wonder if exist a alternative to run in OSX. I could try to run finalbuilder inside a Windows virtual machine and run from SSH commands from there but still I want sometime to automatize the build process of my iPhone apps. I don't find a tool like FB with graphi...

XmlMassUpdate - how NOT to add xmlns ?

I'm using Nightly build 1.3.0.477 of MSBuild Community Tasks and I'm having problem with XmlMassUpdate. Here's what I want to do: for each project, if it does not reference CommonAssemblyInfo.cs file, add that reference. I'm doing it like this: <Message Text="Path is $(MSBuildCommunityTasksPath)" Importance="normal" /> <!---->...

Accidentally released code to live. How to prevent happening again?

We had an incident recently where some code got released to live that was not scheduled to be released. It had obviously been checked into the trunk. Which is fine i guess as you want to 'check in early, check in often'. However in this instance it was not supposed to be released in the next release. What kind of checks / strategy /...

How to optimize an SCons script?

I have an SCons script that takes around 10 seconds just to find out that nothing needs to be rebuild, which feels awfully long for what is essentially a rather small project. Reading the SConscript itself takes just a second or two, most of the time is spend at the: scons: Building targets ... step. How can I find out what exactly s...

IllegalAccessError when calling ant script from maven-antrun-plugin

I just updated Maven from 2.0.9 to 2.2.1 and I'm getting the following exception when running a maven build: INFO] [antrun:run {execution: precompile-jsp}] [INFO] Executing tasks default: jspc: [mkdir] Created dir: C:\builds\trunk\webapps\vyre_portlets\WEB-INF\jsp_src [INFO] -------------------------------------------------------...

How to release a subset of deliverables?

Hi, Further to my question at accidentally-released-code-to-live-how-to-prevent-happening-again. After client UAT we often have the client saying they are happy for a subset of features to be released while others they want in a future release instead. My question is "How do you release 2/3 (two out of 3) of your features". I'd be inte...

tool for building software

I need something like make i.e. dependencies + executing shell commands where failing command stops make execution. But more deeply integrated with shell i.e. now in make each line is executed in separate context so it is not easy to set variable in one line and use it in following line (I do not want escape char at end of line because i...

Can I write an ant task which takes parameters when being executed from another ant task?

Can I write an ant task which takes parameters when being executed from another ant task? What I try to achieve in general, is re-using existing tasks with different parameters. What I don't know is: is there something such a sub-task in ant? can it take parameters? how and where such sub-task is specified? Concept of what I need t...

How to force VS2008 C++ post-build events to execute?

For various C++ library projects in VS2008 I have a sibling project called <libraryname>-Test. This is an executable project that depends on the library and runs tests on it. The post-build configuration of the test project consists of simply: "$(TargetPath)" Visual Studio won't re-run the post-build step unless it actually does ...