Have you moved your embedded build environment to Ant? How do you manage multiple build environments? What build tools do you use to manage cross-platform builds? Tell us about it in our Wireless Forum.
Cross-platform Builds Made Easy: From Microsoft Visual Studio to ARMCC Using Ant and XSL
Tired of keeping embedded make files in sync with your Microsoft Visual Studio project? Use Ant's XSL processor to convert Microsoft Visual Studio project files on-the-fly before cross-platform builds!
by Ray Rischpater,
Aaron Wood and
Aleatha Parker-Wood
July 19, 2005
ne of the challenges of cross-platform development is managing your build environment. With so many platforms these days using the combination of Microsoft Visual Studio and an emulator to facilitate rapid development and frequent cross-compilation using a separate build chain, you may frequently find your emulation and target build environments don't have the same file lists or dependencies. This is because you have to update both the Microsoft Visual Studio environment and the target hardware environment using something like a make file or an Ant script. The repercussions of this process are obvious: bizarre run-time problems or broken builds that result in the gnashing of teeth for everyone on the development team.
Tired of this pain in our organization and fresh from switching from Microsoft to Ant to automate builds, we decided to use Ant's built-in XSL processor to convert from Microsoft's XML vocabulary to Ant's XML vocabulary on-the-fly as part of a pre-build step. This eliminates the need for file dependency lists for the target platform entirely. In essence, this delegates the responsibility for maintaining the build dependencies to Microsoft Visual Studio alone, giving the development team a single place in which to add or remove files. This article shows you how to do this for the Slideshow application in the QUALCOMM BREW development book Software Development for the QUALCOMM BREW Platform You can download the source code here. Remember that the same strategy can be used for any remote target environment if you're leveraging Ant for your device builds
It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com. Already a member?
To become a member of DevX.com create your Member Profile by completing the form below. Membership is free!