build-process

How to make build definition in TFS Build 2010 configurable w.r.t input variable values and "items to build"

We are using TFS Build 2010 for Builds. We have two branches of source code (Lets say branchA and branchB). Now as a part of the build definition we set the projects to build: Now to employ the same build definition from branchB will mean that I create another build definition file with same content, with only the items to build set t...

Ant propertyset inheritance with nested tasks

I have a set of nested Ant build files, and I need to control which properties are inherited by each "sub" task. I'm trying to define these as propertysets (to keep the code manageable) but these are not inherited by subtasks, unlike properties. The example below demonstrates the problem, foo.* get copied into the middle project but not...

Seeking help on compiling big projects

Recently I've had to work with big, existing projects to get them to compile. So far, it's been a pain in the butt to download all of the necessary libraries and configure the environment correctly. If I had a checklist that I could hand to project leads, listing: "here's what I need to run your project," that'd save me time and effort....

Has anyone used MikeCI or Cloudbees for their Continuous Integration

Has anyone used MikeCI or Cloudbees for their continuous integration usage? Has anyone explored the use of SaaS for build automation including guys like codesion with hosted version control for example? ...

Ivy custom url resolver

I am trying to create custom resolver in my ivysettings.xml file: <ivysettings> <settings defaultResolver="default"/> <resolvers> <chain name="default"> <url name="scala-tools"> <ivy pattern="http://scala-tools.org/repo-releases/[organisation]/[module]/[revision]/ivy-[revision].xml" /> ...

Import an Ant classpatch from another file

I'm exploring the awesomeness of Ant 1.8.1's import ability. Here's my situation: I have a top-level Ant file (project.xml) that turns around and calls ant on another Ant file (say, neato_project.xml) which actually does the build, or clean or whatever. I have 12 different project files that this top-level (project.xml) file can call, s...

Settings bundle with non-standard name

May I use a settings bundle in xcode which is not called Settings.bundle? If I have multiple settings bundles (for multiple build targets), must I define these additional names anywhere? My application seems to always look for one called Settings.bundle. ...

Build Report API in Team Build 2005 from Visual Studio 2008

Our shop is set up with a Team Foundation 2005 server but all development work is done in Visual Studio 2008. What I would like to be able to do is write a program that examines the build history of a given Build Definition and extract out the test results to produce pretty graphs of the sort that Team Build really doesn't give. Howeve...

NUnit in Finalbuilder: How can I provide a path to nunit-console without the finalbuilder option

My shop has a precedent of checking in 3rd party tools to source control and using relative paths in projects/builds to find everything. Also, as NUnit releases new versions there have been several versions of NUnit admitted to this 3rd party libraries section in source control, so that changing older tests wasn't necessary to start usin...

Visual Studio 2010: How to enforce build order of projects in a solution?

Hey all, I had no problem with this in Visual Studio 2008 but it seems that VS 2010 is having an issue, and I'm betting it's probably me. I have a solution with an ASP.NET Web Site Project and a few C# projects (BLL, DAL, Tests in NUnit). I have configured the build process for the test project to automatically run NUnit to run the tes...

Scala SBT: AssertionError on build

I am using SBT (0.7.4) with Scala(2.7.7) to build my Scala project and sometimes I get following error when building the project. So far the only remedy seems to retry it or do a clean on the SBT shell which adds delay in build process. No definite pattern of occurrence of the error has emerged but it happens quite a lot when I am using...

minify and combine files - what is your development and release setup?

I am currently using PHP minify to combine and compress the static files (CSS and JS). With PHP minify it is very easy to develop and deploy. Because: Say there are two files: a.js and b.js and we combine and minify them in ab.js. Now its enough for me to include only one script tag: <script type="text/javascript" src="http://static.ex...

Importing Jars not working

Hey guys, I'm trying to do something very simple. All I want to do at this moment is build a file that contains the appropriate classes. I have a file called Promomon.java class Promomon { public static void main(String[] args) { System.out.println("Hello World!"); } } Simple simple, everything is fine there. I can compile...

VS2010: build, start and detach project with shortcut or context menu

Hi, I have quite a few projects in my solution and I would like to build, start and then detach some of them quicker. At the moment I have to right click the project, debug->start new instance, open process window, select process and then detach. I am wondering if there is a nicer solution to this. Can I perhaps tweak the context menu...

building linux kernels

Hi i Just got the book Linux Kernel Development by Robert Love . It has lots of places where you are required to modify and build the kernel . So how should i go with it . Is it better to use a VM , or should i somehow get a proper test machine for it , since i dont want to goof up on my system and data. ...

Organizing Build Output (centrally)?

I have a solution that is building a lot of executables and assemblies which need to be in a specific folder hierarchy to work. Mostly all the .exe files and their accompanying .dll files must be in one folder because the main exe will spawn (via process.start) the other exe files and they will dynamically load assemblies. TS redirects ...

Managing COM type library as a dependency.

We have a win32 unmanaged application that has an API we distribute as a type library. Several other applications we build depend on the TLB from the legacy application being registered to build. Each product is still under active development, including the items exposed/accessible to the type library. While trying to find the best ...

list of folders to be included BY DEFAULT while compiling C++ files

HI All I am using MS C++ compiler cl.exe at command line to build my projects. The list of directory that must be included with /I is huge. I don't want to include this big huge list for each file I need to compile. Do you know a way to set the list of folders to be included by default so that these will not appear at the command line ...

copy files after successful build

Hi All, I'm working on a application where multiple dev will check-in everyday. I want to copy latest files only after check-in and successful TFS build to a share location. Currently I'm using post build script something like Attrib -r "$(ProjectDir)Data*." /S & xcopy /S /Y /I "$(ProjectDir)Data*." "ShareLocation" But the biggest ...

compile time high in weblogic 10.0 and frequent compilation happens

our application takes around 2.5 hrs to clean build through IDE, but once clean build it will take only 5 to 10 mins for all small change compilations, but in my system, sometimes build happens for longer time again and again, and even if the code is fully built, if i exit and restart the workshop with build automatically enabled, it wi...