RTC Buildmanagement with an Android Project

In  this chapter we will create a basic Android Project with RTC as Versioncontrol and Build Management. The Android Project will be extended over the time, but for now there is just a simple Login Mask.


The next Blog Entries are about:

* Automated testing with Robotium

* Connect the Android Project with the RESTful interface of RTC.

* OSLC with Android

* Feedreader with an object DB like db4o.

* Usage of the Android Webkit

* Oauth with Android

..but back to our first task.

For automated builds the Android SDK uses Apache Ant , which RTC has great support for. In the following example I used the newest Android SDK, ANT 1.8 and RTC 3.0.1RC2. Download the Eclipse Project.

Any discussion will be welcome.

  1. Create a new Agile RTC Project with Android. Details at http://jazz.net/library/article/505. We will use a “Singel Stream” RTC Project. An add. good source of information is also at jazzpractise.
  2. Create a new Android Project  Details at http://www.vogella.de/articles/Android/article.html. Put this Android Project into RTC Version  Controll.
  3. Create a build.xml. Details at http://www.androidengineer.com/search/label/build
  4. Download ANT  Version >1.8 and at the location of ANT inside Eclipse: Window->Preferences->Ant->Runtime . Push the Button “Ant Home…”
  5. Download the “Build System Toolkit” from  and install/unzip it
  6. Create a RTC Build.
  7. Start your Jazz Build Engine with ” jbe -repository https://localhost:9443/ccm -engineId engine1 -userId myUser -pass userPasswd -sleeptime 1″ (substitute the userId/userPassword with your values)
  8. Create a Build Definition with values like this:
  9. Insert values like this in the “Source Control Tab” of the Build Definition:


* Automated start of an AVD Device, if not started

, ,

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: