Are there SCM-like source control tasks for Ant?
2 answers
You can check https://jazz.net/library/article/195 (Mostly with build)
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
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?
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?