Moving files between components
Michael Sternberg (81●8●1) | asked Oct 17 '10, 10:57 a.m.
There are two components. Each one of them contain a different file using the same path (e.g. src/file1.cpp and src/file2.cpp).
1. Why I can not load those components to a local disk ? Folder name should unique between components ?
2. If the answer to above is "this is the way RTC works" how can I move files between components ? In "Navigator" view I can right click on file and choose "Move", but it allows me to move only between loaded components and I can not load those components because of first problem.
If it's possible - I would like to move the file including it's history..
Geoffrey Clemm (26.6k●1●28●34) | answered Oct 17 '10, 4:23 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
These are two very different questions:
1) By default, the RTC load does not include the component name in the
default pathname used during loading. In the GUI, you can use the
Advanced load options to change this. In RTC-3.0, there is a variable
you can set to get the component name added to the pathname where the
files are loaded.
2) To move a file across components, you have to use the "move in
repository" operation, which can only be applied to top-level folders
under the logical component root. So to move a single file, you'd have
to create a top level folder, move the file to that folder, move that
folder to the other component, move the file to where you want it,
delete the top level folder. Work item 56504 requests that this be
supported directly in the GUI, rather than requiring this workaround.
On 10/17/2010 11:08 AM, mishka wrote:
There are two components. Each one of them contain a different file
Howard McKinney (21●2) | answered Nov 09 '10, 3:41 p.m.
I am using RTC v188.8.131.52, and the default for my workbench is to include the component name in the path name. I could not find any options to control this, can you be more specific where this Advanced option is located?