build-automation

CCNet - retrieving built files

I've set up a number of build machines, but I always manually edited the XSL files in the web dashboard so that the build report includes a link to the created output package (typically a ZIP file). Is there a better way (for example a plug-in) to include a link? How do you get at the finished product that CCNet exists for? ...

TFS 2010 Update PHP Website on Checkin

I am using Team Foundation Server 2010 as source control with Visual Studio 2010 and VS.PHP. I have set up a Deploy.xaml workflow to execute upon check-in. All this needs to do is export the changed files to a test server. I cannot find any documentation on how to build this simple task through the GUI. Can anyone point me in the right d...

Verification of dependency authenticy in automated build systems

Hi everyone, I was just pointed to a very interesting article about a security problem called Cross Build Injection (XBI). Bascially it is a fancy name for smuggling bad code into an application at build time via automated build systems such as ant, maven or ivy. The problem could be alleviated by introducing a cryptographic signature ...

tfs 2008 build webapplication project and non aspx files

I have setup build defination to automate a build on web application project. I also have cfm files as part of web application project. Build is successfull but all the cfm files are ignored and are missing from the drop location. does the tfs build ignores non .net files. Advise ...

Tools to make TFS 2010 Build customization easy

Are there any visual tools for the TFS2010 Build engine? I just don't need to know WorkFlowright right now. It would be nice to just pickup a tool and make my custom builds rather than digging into WorkFlow, then into TFS 2010's way of using WorkFlow. ...

Qt Visual Studio Add-In Problems

Hi, I am using Qt 4.6.2 with the latest version of the Visual Studio Add-In(1.1.5) with Visual Studio 2005 Professional. I am finding that whenever I restart Visual Studio or switch build targets(I am building Win32 & x64, Debug/Release builds) all of my moc, uic & rcc files will be regenerated even when the .h/.ui/.qrc files have not ...

What are good resources for learning how to manage builds and releases?

I recently took on the responsibility for managing our company's builds and releases. We ship our products as both a web service and as a licensed product that customers can install on their internal servers. My job involves making sure QA has the builds they need for testing, which may come from the main development branch or feature-...

How do I execute tasks in MSBUILD?

I'm trying to wrap my head around MSBuild. I have a very simple script that does the following so far: Builds a solution and places it in my drop location. I have created a <Target> and in it I would like to copy files and from my source control location and drop them in the drop location as well. Eventually the script will have to c...

Use cases for using netmodules when compiling .NET assemblies?

I'm interested in use cases for netmodules in .NET. In particular, I've been looking into better ways to break up solutions in .NET but not have quite as many assemblies to deploy. Netmodules are a very interesting idea, but they appear to break debugging and are not natively supported in Visual Studio (though they are for MSBuild). I'd ...

Dynamically finding build files with <ant> task

Hi all, I am trying to build subprojects from my main Ant build script.. The build files are located in plugings/<pluginName>/build.xml I want to do something effectively like <ant antfile="plugins/*/build.xml" ...> It should dynamically find build files in the plugin directory. Haven't been able to get it to work yet with filese...

Hudson and UCM ClearCase

I have recently put one of our projects on Hudson using the UCM ClearCase plugin. Hudson works well until a configuration changes and then it hangs at update. In ClearCase the user is prompted and asked if they would like to continue (yes/no) when theres a change so im guessing this is where Hudson is hanging. I have configured Hudson t...

Where should unit tests live?

I'm relatively new to unit testing, and I've discovered that while many sources say that you should write unit tests, few of them give any indication where to put them in your project. The only suggestions that I've seen are to put them alongside the production code or to build a directory structure that mirrors your production code. T...

How do I get a graph of build times in TeamCity?

I want to keep track of our build times for different agents in TeamCity. How do I go about this? ...

How do I clear my Hudson build history?

I recently updated the configuration of one of my hudson builds. The build history is out of sync. Is there a way to clear my build history? Please and thank you ...

Install/Uninstall a Windows Service in a build script with NAnt

Does NAnt have the ability to install or uninstall a windows service, using the InstallUtil utility or whatever else? ...

Is it possible to set up TFS 2010 to do gated checkins but use NAnt as the build engine?

We are currently using TFS as our source code repository, but I prefer NAnt as my build engine over MSBuild. I was wondering if anyone knows if it is possible to use NAnt for the build engine but still get the benefits of having a TFS gated check-in build? ...

WAF, SCons or did I overlook something

I am looking for a make alternative (for lots of reasons which I will keep to myself for now). My needs are something that will compile c/c++ and C# and run static analysis and unit tests. It must be easy to grasp, and maintain even for people with intermediate technical skills. During my analysis, I have fallen for WAF and SCons and ...

How do I programmatically compile projects and solutions in release with c#?

My dilemma is that I need to compile a large amount of projects and solutions as per the configuration settings specified in the files. I've found a few different ways to do this, and I've landed on using the Microsoft.Build.BuildEngine.Engine class, which has recently become deprecated. Here's some sample code that illustrates its use...

MSBuild to run unit tests

I am trying to configure CruiseControl .net to build our repository code periodically and run the tests included in the solution. I have configured the retrieving code from the svn server and building part. But I am unable to run tests on it. MSBuild keeps on complaining that. error MSB4057: The target "Test" does not exist in the ...

xcode and ad-hoc-distribution: can i bring xcode to automatically make an .ipa ?

can i make, that when compiling in the adhoc-profile, i made for xcode, pack it into a zip complaining to itunes or an ipa, give it an automatic name (optional ... appname_date_time.zip) and copy it to a network-path ? so, what is really my problem: i think i understood, that in a past-build-phase i can run a shell-script. but i haven´t...