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

Can I move a file from a component to another?

Can I move a file/dir from one component to another component?

It is a limitation of CC UCM, and jazz supports it or not.

0 votes


Accepted answer

Permanent link
The other answers to this question are very old (2007). The updated answer is that the ability to move files and folders to other components has been added in RTC 6.0.3. You can use the context menu action of "Team" --> "Move in Repository".

There is a brief mention of this feature in the RTC 6.0.3 'New & Noteworthy' as shown here:
(At the moment I am not sure where the official help documentation is for this)

This feature was added in the following work item:

In terms of client-side API, see: IWorkspaceConnection.moveVersionablesBetweenComponents(...)
In terms of server-side API, see: IScmService.moveVersionablesWithHistory(...)


Note: The ability to move entire projects (i.e. an Eclipse project) has been in the product for a while (prior to RTC 6.0.3). You can see the help for this feature here: https://www.ibm.com/support/knowledgecenter/SSCP65_6.0.5/com.ibm.team.scm.doc/topics/t_scm_eclipse_mv_project.html
Ralph Schoon selected this answer as the correct answer

0 votes


One other answer

Permanent link
On Mon, 03 Dec 2007 12:58:01 +0000, hanjie_siemens wrote:

Can I move a file/dir from one component to another component?

It is a limitation of CC UCM, and jazz supports it or not.

You can move a whole project between components by opening the Workspace
editor, selecting a component, then a project inside it and hitting the
"move..." button.

There is support for moving any folder between components, however only
project moves are exposed in the UI.

- Dmitry

0 votes

Comments

The UCM issue is that although you could create a copy of a file/dir in
another component (and then delete it from its original component),
changes that were made in other (pre-move) streams would be "lost" when
accepted into a post-move stream (since they wouldn't be applied to the
copy). I believe the same problem exists (currently) in Jazz SCM as
well, doesn't it? (I.e. if you accept a change to that file/dir from a
pre-move stream, it doesn't get applied to that file/dir in its new
component location).

Cheers,
Geoff

Dmitry Karasik wrote:

On Mon, 03 Dec 2007 12:58:01 +0000, hanjie_siemens wrote:

Can I move a file/dir from one component to another component?

It is a limitation of CC UCM, and jazz supports it or not.

You can move a whole project between components by opening the Workspace
editor, selecting a component, then a project inside it and hitting the
"move..." button.

There is support for moving any folder between components, however only
project moves are exposed in the UI.

- Dmitry

That is correct, we still have additional work to do to better support
cross-component move conflicts and updates.

JohnC

Geoffrey Clemm wrote:

The UCM issue is that although you could create a copy of a file/dir in
another component (and then delete it from its original component),
changes that were made in other (pre-move) streams would be "lost" when
accepted into a post-move stream (since they wouldn't be applied to the
copy). I believe the same problem exists (currently) in Jazz SCM as
well, doesn't it? (I.e. if you accept a change to that file/dir from a
pre-move stream, it doesn't get applied to that file/dir in its new
component location).

Cheers,
Geoff

Were there updates on this issue in the latest versions of RTC ? I received query related to moving files\folders between components. I write integration with RTC client and would like to know whether this is possible using RTC client SDK.

Thanks,
Gidi

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
× 1,381
× 12

Question asked: Dec 03 '07, 7:52 a.m.

Question was seen: 7,122 times

Last updated: Oct 23 '18, 4:22 p.m.

Confirmation Cancel Confirm