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

Are there SCM-like source control tasks for Ant?

Hello,

I'm curious if there are Ant tasks in RTC to handle source control operations. In other words, I'm looking for tasks that provide the same functionality as SCM tool does.

At the very least, are there tasks to check-in and deliver changes and to create a snapshots?

Thank you!

0 votes



2 answers

Permanent link
You can check https://jazz.net/library/article/195 (Mostly with build)

Also another option is that you could call SCM tools via ANT as-is (EXEC)

0 votes

Comments

Thank you Karthik, I've seen this article.

Problem is that when running such build scripts from within RTC, I get an error code 27 from <exec>, message is "Another RCP application is running in this sandbox".

When you say "when running such build scripts from within RTC", is it that you run the build scripts from the RTC Eclipse client? If so, can you confirm if the sandbox used in the build scripts is not open in the RTC Eclipse client?

Thanks,
Sridevi
RTC SCM CLI


Permanent link
I downloaded the "Plain Java Client Libraries API documentation" from:
 https://jazz.net/downloads/rational-team-concert/releases/5.0.1?p=allDownloads
...and I noticed there is a package named "com.ibm.team.build.ant.task" with lots abstract and concrete tasks.  So if there are already Ant tasks, then why should we have to resort to doing "exec" of the scm command-line tool? 

Of course the issue is that mere API Javadoc is not sufficient to understand how to incorporate these Ant tasks into a build script - so would there be any detailed documentation on the RTC SCM Ant tasks?

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
× 1,202
× 63

Question asked: Nov 15 '12, 8:29 a.m.

Question was seen: 5,707 times

Last updated: Sep 16 '14, 2:28 p.m.

Confirmation Cancel Confirm