Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to use RTC build system to automatically build and deploy a mobile application?

I'd like to put together an automated build and deployment system for Android mobile apps using IBM tools.

I want to use Rational Team Concert build system, which would execute an Ant build file, pull source code from RTC SCM, then build and deploy an Android application created with IBM Worklight.

In other words, an automated build that generates the application .apk file, deploys the application web resources and adapters to the Worklight Server, and deploys the apk file to IBM Application Center.

Does anyone have experience with or examples for similar scenario?

0 votes



2 answers

Permanent link
I don't specifically with that technology, but if u can do this with ant (having the source local), then you can get the source out of rtc.

you need a stream to contain it, and then a repository workspace for the build user where the code is 'accepted' into for the build.  lacking a current deploy tool (uDeploy coming)  I would make the deploy steps part of the post build steps in the Build Definition.

assuming u have a working ant build file this shouldn't take more than an hour to setup.

0 votes

Comments

Thanks for replying Sam.
I have the SCM part working, my main need is to have the Android app packaged and deployed to Worklight Server automatically by the build system.
Your assumption that I need a working Ant build file is correct. That said, I'd ask if anyone has a working example of an Ant build file (that works in this specific scenario) that they could share.
Thanks.

ant build.xml, like makefile, is a black art.  


even tho I use one of the logic plugins for my build file, I still have been unable to train someone else on how it works so that they could support it. 


Permanent link
Hi Ricardo,

this just pressed article (Feb 25th) from DevWorks provides some practical information in this area. Note: uDeploy is part of the scenario (in addition to RTC & Worklightt).

Regards,
Stéphane

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Feb 26 '14, 7:42 p.m.

Question was seen: 12,796 times

Last updated: Feb 28 '14, 5:38 a.m.

Confirmation Cancel Confirm