build-automation

Does the Visual Studio Deployment project (vdproj) need to be in the same solution as the included project output

I have a fairly large solution with several projects and multiple deployment projects (VDPROJ). I am in the process of automating builds using MSBUILD. I am aware of the limitation where I need to invoke Visual Studio (VS) in order to build the VDPROJ. I cannot switch to WiX at this time. Currently I have a EXE task in my build scr...

Looking for a target that works like "_CopyWebApplication" but for console apps

We already have build scripts that creates our web application folders very nicely. We create multiple folders for each environment, and then change the configs in those folders according to the environment. How can we get the same results as what _CopyWebApplication does? Example: <MSBuild Projects="$(SourceCodeCheckoutFolder)\sour...

Database Schema Versioning Strategies

I work on a project that uses a reasonably large database, the live version weighing in at somewhere around 60-80GB. The live database is the only real definitive source of our schema, and because of its size duplicating this database is too slow to be done often. This means we have ended up developing our database schema in a pretty ad ...

Add subversion revision to war manifest using maven2

I want to find a maven native (i.e. without calling external programs) to inject the svn revision in the war manifest. Does anybody know a way to do that? I found mention to how to add the subversion revision to manifests in jar files but not with war files. I searched SO but could not find this issue specifically. ...

Problems with Continuous Integration (CI) in TFS during Build Automation?

Hi all, I am using TFS 2008 and Visual Studio and my boss has instructed me to implement Build Automation for Development and Release builds for a web Project. I am a total newbie in Build Automation. There are multiple developers working on the project on different machines using Visual Studio 2008 team System. Source is already be...

How do I create a WAR file using NetBeans' generated ant script?

Hi. I'm trying to configure an automated build process, and I need to get a WAR file to deploy to Tomcat. The project was created in Netbeans, which automatically generates an ant script. I think when I click "Clean and Build Project" from the menu it runs a series of ant targets and generates the WAR that I need. So does anyone know...

Free .NET build system?

Possible Duplicates: Which Continuous Integration tool are you using? Best Continuous Integration Setup for a solo developer (.NET) Even though this is likely a dupe, I can't seem to find a list of free CI build systems for .NET. I've mainly used Hudson and TFS so far, but I was not exactly satisfied. Wikipedia lists quite ...

Getting GWT build version (also from Eclipse plugin)

Is there a possiblity to get or generate a version ID on every GWT compile is performed, from ant Build File or using 'Compile' button in Google Eclipse Plugin? ...

Set Active Build Configuration in Xcode via User Script

How could I set the active build configuration of my current project in xcode with a shortcut? The idea is to have a shortcut to simply change between building for a device and the iphone-simulator. I think this could be easily be done in AppleScript and then integrated into user scripts but since I don't have any knowledge in AppleScrip...

Using MSBuild 4 command line to publish ASP.NET web application

In previous msbuild we used the target '_CopyWebApplication' in order to build and convert the source of a project into a published site, this worked OK, but wasn't ideal. In .NET 4, the publishing process is somewhat more sophisticated and additionally seems a bit of a black box to understand. Whilst packages look great, I cannot full...

PL/SQL pre-compile and Code Quality checks in an automated build environment?

We build software using Hudson and Maven. We have C#, java and last, but not least PL/SQL sources (sprocs, packages, DDL, crud) For C# and Java we do unit tests and code analysis, but we don't really know the health of our PL/SQL sources before we actually publish them to the target database. Requirements There are a couple of things ...

How to enable Automatic obfuscation in Team Build using dotfuscator and TFS 2008?

Hi all, I am trying to accomplish Build Automation (Continuous Integration) using TFS 2008 and VS 2008. We have a Web based (.Net) product which contains a number of small and large projects (Some C# and Some Vb.Net based). A source control server is already in place that is being used for version Management(later referred as Data Ti...

When building a web application project, TFS 2008 builds two separate projects in _PublishedFolder. Why?

I am trying to perform build automation on one of my web application projects built using VS 2008. The _PublishedWebSites contains two folders: Web and Deploy. I want TFS 2008 to generate only the deploy folder and not the web folder. Here is my TFSBuild.proj file: <Project ToolsVersion="3.5" DefaultTargets="Compile" xmlns="http://sc...

How to build a VS2010 C++ Project on a BuildServer

Hi! I've a .NET Solution with a managed C++ assemlby Targeting .NET 3.5 created with VS2010. The command: %windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe MyProject.sln compiles the solution on my dev machine. On my BuildServer I get this error: Build FAILED. "F:\CruiseControl.NET\Projects\MyProject\MyProject.sln" ...

How to get a changeset SQL query using DB Pro for .net and SQl Server when usinga Team build?

Hi all, I am working on Build Automation via Team Build (TFS 2008). We are using DB Pro with our Web project. I want to get the SQL script for database change-set ,(that has occurred till the nightly build), automatically using MSBuild Script . This script has to bundled in a zip file along with Web Application binaries and pages. Ho...

Cannot drop custom Workflow activity for TFS2010 in custom build process template.

Hi, I've created a custom workflow activity for TFS 2010 to customize the assembly versioning. I've created the activity and tested it using a Testworkflow and some unit testing code. It works fine. When I create a new build process template however, I cannot drop the custom activity onto the workflow designer. When I drag it to th...

How do I tell nant to only call csc when there are cs files in to compile?

In my NAnt script I have a compile target that calls csc. Currently it fails because no inputs are specified: <target name="compile"> <csc target="library" output="${umbraco.bin.dir}\Mammoth.${project::get-name()}.dll"> <sources> <include name="project/*.cs" /> </sources> <references> <...

Automatic incremental SQL Script generation for incremental, nightly builds when using Team Build in TFS 2008 and Visual Studio 2008 ?

hi all, hope that everybody here is OK. We are using VS 2008 as development tool, TFS 2008 as version control as well as build automation. Some of our developer use dbpro for databases changes and some use SQL Server management studio. I am trying to automate build for Web Application built using C# and VB.Net. Our scenario is such tha...

Change default ant target by command line argument

I'm recently assigned a task to make ant be able to build war packages for different environments. And I'm almost done. Except one feature. The ant accepts an env parameter by like -Denv=DEV, and use different configuration files to make the war package. But the default target is start which will build, deploy and start the tomcat. I ...

Exceptions from Buildbots PeriodicScheduler intervals?

Buildbots Periodic scheduler triggers builds at fixed intervals (e.g. every 30 minutes). But there are certain times (e.g. at night, during the weekend or while regular maintenance is performed) where I'd like it to relax. Is there a way to have a more fine-grained description for the Periodic scheduler? Or should I rather use the Night...