build-process

What tools/languages do you use for PHP web application deployment ?

For my web application running on LAMP, I need to be able to deploy database migrations and code changes on multiple servers and be able to test deployment afterwards, all of this automatically done by scripts. Currently I'm torn between using directly my build tool (Phing) with some special deployment/test tasks, or shell scripts, or a...

What tools are available to determine which .NET assemblies have changed since the last build?

With a seriously big .NET site/solution (100's of assemblies), are there any tools available to recognise which assemblies have changed since the last build (using something more intelligent than file dates that will always change). I need to change our deployment process to a) increment the version of changed assemblies and b) generate...

Automatic tracking of build number in VS 2005?

In Visual Studio 2005, is there an easy way to automatically increment the assembly/file build numbers after a successful build? Emphasis on easy. I would like to track my build version, without having to set up CruiseControl or some similar tool. ...

How to automate Matlab/Simulink/Real-TimeWorkshop code generation?

I want to use a Simulink mdl to generate C files in an automated fashion. I am currently trying to use an m-script and a dos command shell, but I am having issues with a "do you want to save" dialog hanging the m-script. By experimentation I know that the mdl is being modified when the "set_param" line is run (i.e. no "save" dialog iss...

How would you compile/design a tiered application that has different feature sets

In a situation where you have something like a Lite, Normal, Ultimate tiers and overlapping feature sets that may have reduced functionality what would be the easiest way to keep things simple from a development standpoint? I've only worked with applications that had either a monolithic license, a sub feature license where specific comp...

Daily Build and SQL Server Changes

I am about to try and automate a daily build, which will involve database changes, code generation, and of course a build, commit, and later on a deployment. At the moment, each developer on the team includes their structure and data changes for the DB in two files respectively, e.g. 6.029_Brady_Data.sql. Each structure and data file i...

How does ivy:publish work?

I'm completely at loss how the ant task ivy:publish is supposed to work. I would expect that I do my normal build, which creates a bunch of jar files, then I would push those jars to the (local) repository. How can I specify from where to retrieve the built jars, and how would those end up in the repository? Update: <target name="pub...

OpenOffice command line PDF creation

I have some documentation written in OpenOffice, now I would like to include some of it as PDF files in the final build deliveries. Now I would like to do this with the automated build script. Is there a way to create a PDF file from OpenOffice with a command line command? ...

How can I use the "Publish" function in Visual Studio 2008 without erasing the contents of the target folder?

When I use Build->Publish Web Site in Visual Studio 2008, most of the time it compiles the site, and then simply asks me "All files in the target folder will be deleted. Continue?" (or something to that effect). On occasion, however, when publishing a project in Visual Studio, I would get a dialog box that would give me the choice of rep...

Error spawning cmd.exe while building Visual C++ 2005 project

I was changing the vc++ include directory with new paths suddenly getting below error erProject : error PRJ0003 : Error spawning 'cmd.exe'. ...

Using TFS, want to run a command line tool to perform obfuscation

Hi, First time using team explorer, and I want to add a build task that will run a command line tool to obfuscate the assembly. This will one of the last tasks to be performed I assume. How would I go about doing this using Team Explorer? ...

Need an good introductory tutorials on TFS build process

Hi, We are slowly rolling out team foundation, and I have to get up to speed on setting up a Build process on TFS. What are some good starting points TFS builds? From what it seems, there is no GUI for TFS build right? It is just about learning MSBuild? ...

Best practices, building trunk against trunk?

We have many projects that use a common base of shared components (dlls). Currently the development build for each project links against dlls built from the trunk of the components. (ie trunk builds use the dlls from other trunk builds) When we do a release build, we have a script that goes through the project files and replaces the tr...

Headless Eclipse Build returns ERRORLEVEL 13

Everything was going well. Nightly builds ran for more than a month with no problems. However, suddenly when invoking the feature builder from Eclipse the execution ends right away with the message. ERRORLEVEL 13 As far as I know I haven't changed anything, as this computer is normally not touched. (It is only used for the nightly b...

Subversion Ant update task taking forever

I've downloaded the svntask for ant from tigris.org, so it is the "official" one. I have a simple task to update my entire project <target name="prepare"> <svn username="user" password="pass"> <update> <fileset dir="."/> </update> </svn> </target> Running this task took about 2 hours. Running a svn update on the comm...

Referencing private .net assemblies in a subfolder

In Visual Studio 2008 I can add a project reference and set Copy Local property to true. As result the referenced assembly will be copied to the same folder the main assembly is build to. But what if I want to have all referenced assemblies in a subfolder near the main assembly? Something like this: .. myApp.exe Libs myLib1.dll my...

Is it possible to know when ReSharper's test runner is building my project?

I'm trying to use the MSBuild NUnit community task to force tests to run on each build, but I now see that when I use ReSharper's test runner and it builds the project I'm running the tests twice. It works but is not really desirable. Does anyone know of a variable or condition I can check within MSBuild so that I can skip the communit...

deploying resource files from xcode

How does one copy resource files (config/data/image) files to an applictions home directory on the iPhone. A related question Loading Data Files on iPhone?, received an answer "just add them to your project; Xcode will copy them to the .app bundle when it builds your application". How does one do this? (If this is a simple question, a ...

Ant script running forever in a loop

I am a NetBeans user and I wanted to reduce the number of steps required to build the project. I used to have two scripts: "build.xml"(created by NetBeans) and "build-module.xml"(my script), and I tried to merge them both into a single step. I renamed "build.xml" to "xbuild.xml" and renamed "build-module.xml" to "build.xml"(so NetBeans w...

Using cmake to generate visual studio C++ project files

Hi, I am working on an open source C++ project, for code that compiles on Linux and Windows. I use cmake to build the code on Linux. For ease of dev-setup and political reasons, I must stick to visual studio project files/editor on Windows (I can't switch to Code::Blocks, for example). I see instructions to generate visual studio files...