It's all about the answers!

Ask a question

RTC Bulk File Import


William Harms (62) | asked Apr 16 '10, 1:46 p.m.
Good afternoon everyone,
I am currently evaluating RTC over Perforce. I have a source tree that I want to import.

I've created a Jazz project area, repos workspace, and created a few components. (one for each top level product we build) However, I'm having a really hard time just adding the files.

In P4 I can just run from the workspace root: p4 add ... And it just brings in all the files.

RTC looks like a powerful tool.. I'm hoping that it has the same capability.

I surfed the Jazz wiki, forums, and community sites and can't find what I'm looking for.

Thanks..

4 answers



permanent link
Michael Valenta (3.7k3) | answered Apr 19 '10, 1:17 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
What you need to do is load the content into the RTC rich client as
projects. The easiest way to crate a project (New>Project) in RTC and
then copy your data into that folder of disk. Once that is done, Refresh
the project in the Project Explorer and choose Team>Share Project from
the context menu and share the content with Jazz Source Control.

Hope this helps,
Michael

WilliamLHarms wrote:
Good afternoon everyone,
I am currently evaluating RTC over Perforce. I have a source tree
that I want to import.

I've created a Jazz project area, repos workspace, and created a few
components. (one for each top level product we build) However, I'm
having a really hard time just adding the files.

In P4 I can just run from the workspace root: p4 add ... And it just
brings in all the files.

RTC looks like a powerful tool.. I'm hoping that it has the same
capability.

I surfed the Jazz wiki, forums, and community sites and can't find
what I'm looking for.

Thanks..

permanent link
Fergus Allan (11) | answered Oct 15 '12, 5:43 a.m.
Except that you cant create a new project because the component already exists. 

I have created a component, a workstream and a workspace but nothing I do seems to allow me to add any files to this component.


permanent link
Karl Weinert (2.0k52736) | answered Oct 15 '12, 7:40 a.m.
JAZZ DEVELOPER
In Team Artifacts view right click your workspace choose load.
Select the "Browse the components to select the folders to be loaded" click next
You should see a list of components as folders, check the ones you want to load.
(this will create eclipse projects from those folders)
Then you can copy your files in, using the eclipse import feature (right click the project you want to import into in the package explorer in the java perspective) Or copy them in using the Operating system and right click the project and choose refresh to see the files in eclipse.

Michael's comments should work too but to clarify a little you would be creating new eclipse projects not a new RTC project (at least that is where my confusion was the first few times)







permanent link
Fergus Allan (11) | answered Oct 15 '12, 8:34 a.m.
many thanks - I've slowly been getting there and your comments have helped.

There are a couple of areas that have held me up.  The first is that the files I am working with are not eclipse projects- therefore the first step - load as eclipse projects was not selected and the project expoler remained blank.

The second is that the project explorer is burried away on the work items perspective.  And was blank when I did find it until I followed the above step to load as eclipse projects....

Having used the file system to copy the files in the workspace, the refresh on the Pending Changes does not show the files.  I've wasted a lot of time on that one.  The refresh does however have a drop down and Refresh-dropdown->refresh sandbox does show them. 

There are a few bugs with projects and components but getting there (rtc 3)!

Your answer


Register or 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.