build-process

How to build and deploy an Amiga application that is bootable from a floppy disk (NON-DOS)?

Following up on the "How do I code and compile an Amiga application?" question, what development applications and build process is required to boot an Amiga application from a floppy disk? Update: Pointed out by jesup, taken from Amiga RKM Devices: The Amiga trackdisk device directly drives the disk, controls the disk motors, re...

Target-specific Variables as Prerequisites in a Makefile

I'm trying to write a GNU make Makefile which has a load of similar targets, where the build commands vary slightly between them. I'm trying to use target-specific variables to represent these variations. Some of these variable values refer to files I want to use as prerequisites. For example: target_1:special_filename=target1_prereq ta...

"ERROR MSB4040 There is no target in the project" when using msbuild+Delphi2009

I'm trying to automate the build of a project in Delphi 2009. I'm using msbuild with .net 3.5 I simply call: Z:\Server>C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild "BestSellerAppServer.g roupproj" /target:Build And get this: Build started 27/08/2009 01:15:45 p.m.. Project "Z:\Server\BestSellerAppServer.groupproj" on node 0 (Buil...

CMake and CTest question

In the test that I want to run using CTest I should be adding the test that I want to run, with the following command: add_test(TestName ExeName) problem is what if I want to supply an argument to the TestName, where do I put it? how do I run ctest individually without cmake in unix command line in this context? ...

[Maven2] How to deliver properties files in addition to artifacts?

I am using Maven2 to build a WAR project. Some properties files are dependent on the environment targeted for a release. I want to deliver, in addition of the WAR, a file called datasource.xml. This file already exists in my project directory, but contains properties that will be filtered during the build (i.e. some ${foo.bar}). In oth...

What steps are necesary to automate a build of iPhone app?

I have prior experience in build a automatic build process for .NET & Delphi projects but now want to automate the building of a iPhone project... not only simply builds but also to the final deployment.. I want a generic step list, with the command line actions that need to be performed, so anyone could adapt it to their particular bui...

How to set an Xcode attribute in CMake for a specific configuration?

I'm using CMake to generate an Xcode project, and I use set_target_properties(myproj PROPERTIES XCODE_ATTRIBUTE_WHATEVER "some value") to explicitly set a build setting. I'd like to only set it for a particular configuration, similar to using set(CMAKE_CXX_FLAGS_MYCONFIG "-O2") How can I do this? ...

How can i add embedded resources to dll during build process

I have a flavored c# project and package i can catch the buildbegin event when the dll is building what i want is to embedding some files into the building dll in this event handler how can i fullfill this task can i just add these files to project file but not displayed in the solution tree? ...

Visual Studio post build events stuck waiting for executable to finish before running app in debug mode.

Part of the post build on my project is the execution of a program I wrote for testing the main application. Unfortunately, the post build process in visual studio locks up waiting for the executable to exit. So, i'm stuck closing my test program in order to have the post build process complete and my application run. How do I change thi...

How do you put an large existing database (schema) under source control?

My DBA just lost some development work that he did on our development database. Poor fella. So naturally our manager asked him, at our status meeting, how this could happen and how we could avoid this happening in the future. "Source control could alleviate the problem" I suggested... The dba's response; "No, we just backup the server mo...

How to get Flex Builder 3 to generate two builds: one "-use-network=true", another "-use-network=false"?

I'm building a Flex application that will need run under two different deployment scenarios: First, the application will be hosted on the web. The SWF loads some external resources (images, text) so it requires network access, which is the Flex Builder 3 default build flag "-use-network=true". I don't need to do anything special; it j...

How to handle images during software development

For software development one often needs images. But when I start working on an image I very fast end up with dozens of versions, like so Start with a nice large scale image, let's say a photo from my camera(x.nef) I do some adjustments on exposure correction and white balance, convert it to a x.jpg start to add some little stuff by co...

Command line compiling an iPhone Application

I would like to find a way to compile and package our iPhone application as part of our automated nightly build. At present we always have to manually kick off a build on a shared Mac that has the adhoc certificates installed on the box and then post the resulting test binaries some place where testers can pull them down and install the...

Abusing the word "library"

I see a lot of questions, both here on SO and elsewhere, about "maintaining common libraries in a VCS". That is, projects foo and bar both depend on libbaz, and the questioner is wondering how they should import the source for libbaz into the VCS for each project. My question is: WTF? If libbaz is a library, then foo doesn't need its ...

Building a WAR project with unzipped JAR dependency?

I have two projects, my-lib and my-webapp. The first project is a dependency of my-webapp. Thus, when ask Maven2 to build my WAR, the my-lib JAR is added in the WEB-INF/lib/ directory of the web application. However, I want to have the my-lib JAR unzipped directly in the WEB-INF/classes directory, exactly as if the my-lib sources were c...

CMake variable or property to discern betwen debug and release builds

I want to set a CMake variable differently for debug and release builds. I have tried to use CMAKE_CFG_INTDIR like this: IF(${CMAKE_CFG_INTDIR} STREQUAL "Debug") SET(TESTRUNNER DllPlugInTesterd_dll) ELSE(${CMAKE_CFG_INTDIR} STREQUAL "Debug") SET(TESTRUNNER DllPlugInTester_dll) ENDIF(${CMAKE_CFG_INTDIR} STREQUAL "Debug") But th...

cancel build operation

I am in phase of implementing hudson for the build automation. I am using some shell scripts to perform one of the build step. Cancel build operation (in the middle of build process) leads to the build in illogical state. Is it possible to restrict users to use cancel build operation? ...

How to programmaticly concatenate with ANT?

Let me preface by saying that I'm new to ant, and I'm using version 1.6.5 if it matters. I have a file with a list of files that I want to concatenate. The relevant part of my first attempt was this: <target name="for-each"> <xmlproperty file="scripts.xml" collapseAttributes="true" /> <echo message="testing for-each"/> <con...

How do I optionally require a command line arguement for Ant?

I'm new to ant, and I want to require a file name if something other than the default target is used, so the calling syntax would be something like this: ant specifictarget -Dfile=myfile I'm using the ant contrib package to give me additional functionality, so I have this: <if> <equals arg1="${file}" arg2="" /> <then> ...

Visual Studio 2005 build problem

Hi, I have a project Y whose build order properties states it depends on project X. I need to map project X's dll within Project Y References folder. The problem arises when the dll for Project X is not mapped within Project Y References folder. Then when I build Project Y it fails with because it can't find the reference to Project X...