SCM LoadAs strangeness
Using RTC 2.0 GA
I have a pretty typical component/folder structure like so:
MyComponent
MyRootFolder
Stuff ...
If I load the component using defaults (i.e. not Load As), then I get
the following in my Eclipse workspace
MyEclipseWorkSpace
MyRootFolder
Stuff
The component name has been dropped from the folder layout
(perhaps by the "Load the folders of components as projects" default
setting).
When using the "Load As" dialogs, it seems that the component name is
never dropped from the folder layout, so you always get:
MyOtherWorkSpace
MyComponent
MyRootFolder
Stuff
Have I missed something ? Can the same folder layout as "Load" creates,
be created using "Load As" ??
Dave
I have a pretty typical component/folder structure like so:
MyComponent
MyRootFolder
Stuff ...
If I load the component using defaults (i.e. not Load As), then I get
the following in my Eclipse workspace
MyEclipseWorkSpace
MyRootFolder
Stuff
The component name has been dropped from the folder layout
(perhaps by the "Load the folders of components as projects" default
setting).
When using the "Load As" dialogs, it seems that the component name is
never dropped from the folder layout, so you always get:
MyOtherWorkSpace
MyComponent
MyRootFolder
Stuff
Have I missed something ? Can the same folder layout as "Load" creates,
be created using "Load As" ??
Dave
6 answers
Dave,
To load a folder using Load as, you need to perform a Show In Repository
Files view and select the folder you want to load.
Michael
David Ward wrote:
To load a folder using Load as, you need to perform a Show In Repository
Files view and select the folder you want to load.
Michael
David Ward wrote:
Using RTC 2.0 GA
I have a pretty typical component/folder structure like so:
MyComponent
MyRootFolder
Stuff ...
If I load the component using defaults (i.e. not Load As), then I get
the following in my Eclipse workspace
MyEclipseWorkSpace
MyRootFolder
Stuff
The component name has been dropped from the folder layout
(perhaps by the "Load the folders of components as projects" default
setting).
When using the "Load As" dialogs, it seems that the component name is
never dropped from the folder layout, so you always get:
MyOtherWorkSpace
MyComponent
MyRootFolder
Stuff
Have I missed something ? Can the same folder layout as "Load" creates,
be created using "Load As" ??
Dave
My subject line was not wise !! This issue is probably caused by my
mis-understanding rather than anything 'strange' in the RTC product.
I'm not really asking about how to load a folder ... rather, I'm
querying the fact that 'load' seems to not use the top-level folder
names at all (they seem to get dropped), whereas, 'load as' (seems) to
always create the top-level folders.
Correcting my earlier post, my component looks like this:
MyComponent
MyRootFolder
.project file with name "MyProject"
Stuff ...
When I use 'load', I get
MyProject
.project file with name "MyProject"
Stuff ...
Both the component name and the top-level folder name are not used in
the file layout.
None of the above is a problem, I'm just trying to understand what the
principles of 'load as' are regarding the above. 'load as' seems to
have different rules, such that I cannot figure out how to use 'load as'
to achieve the same layout as 'load.
i.e. How can 'load as' be used to get:
MyProject
.project file with name "MyProject"
Stuff ...
On 11/9/2009 9:53 AM, Michael Valenta wrote:
mis-understanding rather than anything 'strange' in the RTC product.
I'm not really asking about how to load a folder ... rather, I'm
querying the fact that 'load' seems to not use the top-level folder
names at all (they seem to get dropped), whereas, 'load as' (seems) to
always create the top-level folders.
Correcting my earlier post, my component looks like this:
MyComponent
MyRootFolder
.project file with name "MyProject"
Stuff ...
When I use 'load', I get
MyProject
.project file with name "MyProject"
Stuff ...
Both the component name and the top-level folder name are not used in
the file layout.
None of the above is a problem, I'm just trying to understand what the
principles of 'load as' are regarding the above. 'load as' seems to
have different rules, such that I cannot figure out how to use 'load as'
to achieve the same layout as 'load.
i.e. How can 'load as' be used to get:
MyProject
.project file with name "MyProject"
Stuff ...
On 11/9/2009 9:53 AM, Michael Valenta wrote:
Dave,
To load a folder using Load as, you need to perform a Show In Repository
Files view and select the folder you want to load.
Michael
David Ward wrote:
Using RTC 2.0 GA
I have a pretty typical component/folder structure like so:
MyComponent
MyRootFolder
Stuff ...
If I load the component using defaults (i.e. not Load As), then I get
the following in my Eclipse workspace
MyEclipseWorkSpace
MyRootFolder
Stuff
The component name has been dropped from the folder layout
(perhaps by the "Load the folders of components as projects" default
setting).
When using the "Load As" dialogs, it seems that the component name is
never dropped from the folder layout, so you always get:
MyOtherWorkSpace
MyComponent
MyRootFolder
Stuff
Have I missed something ? Can the same folder layout as "Load"
creates, be created using "Load As" ??
Dave
Load As can be used to load your component into a specific location other than the default sandbox. If Load does what you want, I would use that instead of trying to use Load As to perform what Load does.
So Load gives you this:
EclipseWorkspace/MyProject
And Load As can achieve this:
OtherEclipseWorkspace/MyProject
So Load gives you this:
EclipseWorkspace/MyProject
And Load As can achieve this:
OtherEclipseWorkspace/MyProject
With Load As, the user must provide the name that the local project will
have. The name is not retrieved from the .project file. If you want to
use the name from the .project file, you should just use the Load action.
To answer your question directly, to get the same behavior from Load As,
the user would need to show the component in the Repository Files view,
select the folder MyRootFolder, choose Load As and type in the name
MyProject as the last segment of the target path.
Hope this helps,
Michael
David Ward wrote:
have. The name is not retrieved from the .project file. If you want to
use the name from the .project file, you should just use the Load action.
To answer your question directly, to get the same behavior from Load As,
the user would need to show the component in the Repository Files view,
select the folder MyRootFolder, choose Load As and type in the name
MyProject as the last segment of the target path.
Hope this helps,
Michael
David Ward wrote:
My subject line was not wise !! This issue is probably caused by my
mis-understanding rather than anything 'strange' in the RTC product.
I'm not really asking about how to load a folder ... rather, I'm
querying the fact that 'load' seems to not use the top-level folder
names at all (they seem to get dropped), whereas, 'load as' (seems) to
always create the top-level folders.
Correcting my earlier post, my component looks like this:
MyComponent
MyRootFolder
.project file with name "MyProject"
Stuff ...
When I use 'load', I get
MyProject
.project file with name "MyProject"
Stuff ...
Both the component name and the top-level folder name are not used in
the file layout.
None of the above is a problem, I'm just trying to understand what the
principles of 'load as' are regarding the above. 'load as' seems to
have different rules, such that I cannot figure out how to use 'load as'
to achieve the same layout as 'load.
i.e. How can 'load as' be used to get:
MyProject
.project file with name "MyProject"
Stuff ...
On 11/9/2009 9:53 AM, Michael Valenta wrote:
Dave,
To load a folder using Load as, you need to perform a Show In Repository
Files view and select the folder you want to load.
Michael
David Ward wrote:
Using RTC 2.0 GA
I have a pretty typical component/folder structure like so:
MyComponent
MyRootFolder
Stuff ...
If I load the component using defaults (i.e. not Load As), then I get
the following in my Eclipse workspace
MyEclipseWorkSpace
MyRootFolder
Stuff
The component name has been dropped from the folder layout
(perhaps by the "Load the folders of components as projects" default
setting).
When using the "Load As" dialogs, it seems that the component name is
never dropped from the folder layout, so you always get:
MyOtherWorkSpace
MyComponent
MyRootFolder
Stuff
Have I missed something ? Can the same folder layout as "Load"
creates, be created using "Load As" ??
Dave
Work item 85020 ("scm load should provide an option to load artifacts
with full path information") should address this issue. This work item
is currently marked as Planned-For 3.0.
Cheers,
Geoff
David Ward wrote:
with full path information") should address this issue. This work item
is currently marked as Planned-For 3.0.
Cheers,
Geoff
David Ward wrote:
Using RTC 2.0 GA
I have a pretty typical component/folder structure like so:
MyComponent
MyRootFolder
Stuff ...
If I load the component using defaults (i.e. not Load As), then I get
the following in my Eclipse workspace
MyEclipseWorkSpace
MyRootFolder
Stuff
The component name has been dropped from the folder layout
(perhaps by the "Load the folders of components as projects" default
setting).
When using the "Load As" dialogs, it seems that the component name is
never dropped from the folder layout, so you always get:
MyOtherWorkSpace
MyComponent
MyRootFolder
Stuff
Have I missed something ? Can the same folder layout as "Load" creates,
be created using "Load As" ??
Dave
Thanks Geoff
On 11/14/2009 5:27 PM, Geoffrey Clemm wrote:
On 11/14/2009 5:27 PM, Geoffrey Clemm wrote:
Work item 85020 ("scm load should provide an option to load artifacts
with full path information") should address this issue. This work item
is currently marked as Planned-For 3.0.
Cheers,
Geoff
David Ward wrote:
Using RTC 2.0 GA
I have a pretty typical component/folder structure like so:
MyComponent
MyRootFolder
Stuff ...
If I load the component using defaults (i.e. not Load As), then I get
the following in my Eclipse workspace
MyEclipseWorkSpace
MyRootFolder
Stuff
The component name has been dropped from the folder layout
(perhaps by the "Load the folders of components as projects" default
setting).
When using the "Load As" dialogs, it seems that the component name is
never dropped from the folder layout, so you always get:
MyOtherWorkSpace
MyComponent
MyRootFolder
Stuff
Have I missed something ? Can the same folder layout as "Load"
creates, be created using "Load As" ??
Dave