It's all about the answers!

Ask a question

Is it possible to import into RTC via command line?


Patrick Gagan (31185) | asked Jun 17 '10, 7:05 p.m.
I have several SVN trunks that I want to import into an RTC repository workspace(which I have already created RTC components in).
I would like to automate the import by doing a SVN checkout followed by a RTC import into a RTC folder/component(contained within a workspace).

Obviously there are a couple ways of doing this via the RTC eclipse client.
From my experience I have had un-reliable results using the subclipse plugin(within the RTC client), and have also tried using SVN dump files which seem to work better, but still see the ocasional hicup/problem.

Since I do not care about keeping revision history I have decided that doing a plain filesystem Import is what I want to go with, but there is no
way of automating the import for multiple SVN trunks->multiple RTC components/folders within the RTC client.

Does a command line/scripting method exist to perform a large import?
All suggestions are welcome

One answer



permanent link
Jose Miguel Ordax Cassa (2.4k3126100) | answered Jun 18 '10, 2:12 a.m.
On 6/18/2010 1:07 AM, pgagan wrote:
I have several SVN trunks that I want to import into an RTC repository
workspace(which I have already created RTC components in).
I would like to automate the import by doing a SVN checkout followed
by a RTC import into a RTC folder/component(contained within a
workspace).

Obviously there are a couple ways of doing this via the RTC eclipse
client.
From my experience I have had un-reliable results using the subclipse
plugin(within the RTC client), and have also tried using SVN dump
files which seem to work better, but still see the ocasional
hicup/problem.

Since I do not care about keeping revision history I have decided that
doing a plain filesystem Import is what I want to go with, but there
is no
way of automating the import for multiple SVN trunks->multiple RTC
components/folders within the RTC client.

Does a command line/scripting method exist to perform a large import?
All suggestions are welcome


Have you investigated SCM CLI?
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/c_scm_cli.html

Hope it helps,

Chemi.

Your answer


Register or to post your answer.