Component root folders
I've created a number of components, each from an Eclipse project (is
there any other way ?)
I've noticed that within each RTC component, there's a single root
folder that matches the name of the Eclipse project I used to load it.
I was kinda hoping to be able to have the top-level 'contents' of my
Eclipse project become the top-level contents of the RTC component,
rather than simply getting a single top-level folder.
Is there a way to achieve this ?
Hope I've explained this clearly
Cheers
there any other way ?)
I've noticed that within each RTC component, there's a single root
folder that matches the name of the Eclipse project I used to load it.
I was kinda hoping to be able to have the top-level 'contents' of my
Eclipse project become the top-level contents of the RTC component,
rather than simply getting a single top-level folder.
Is there a way to achieve this ?
Hope I've explained this clearly
Cheers
6 answers
I was kinda hoping to be able to have the top-level 'contents' of my Eclipse project become the top-level contents of the RTC component, rather than simply getting a single top-level folder.
Is there a way to achieve this?
You can load the directories inside projects as projects in a new Eclipse workspace. Do this by:
1. Go to the Team Artifacts view.
2. Select "My Repository Workspaces" and choose the workspace you want to load.
3. From the context menu, select "Load..."
4. In the load dialog, select the option "Browse the components to select the folders to be loaded" and hit "Next"
5. On the subsequent page, select the folders you want to load.
That will allow you to load the contents of a directory into the root of your local Eclipse workspace. Does that answer your question?
Thanks for that explanation.
My question is more focussed on the converse however .. i.e. creating
components and component folders in repository workspaces, from eclipse
projects.
It appears that you can't share anything other than a top-level Eclipse
project .. i.e. you can't navigate to a nested folder within the Eclipse
project and share it, nor can you share an individual file or files.
Assuming I'm correct, is this likely to ever change ?
echughes wrote:
My question is more focussed on the converse however .. i.e. creating
components and component folders in repository workspaces, from eclipse
projects.
It appears that you can't share anything other than a top-level Eclipse
project .. i.e. you can't navigate to a nested folder within the Eclipse
project and share it, nor can you share an individual file or files.
Assuming I'm correct, is this likely to ever change ?
echughes wrote:
David Wardwrote:
I was kinda hoping to be able to have the top-level 'contents' of my
Eclipse project become the top-level contents of the RTC component,
rather than simply getting a single top-level folder.
Is there a way to achieve this?
You can load the directories inside projects as projects in a new
Eclipse workspace. Do this by:
1. Go to the Team Artifacts view.
2. Select "My Repository Workspaces" and choose the
workspace you want to load.
3. From the context menu, select "Load..."
4. In the load dialog, select the option "Browse the components
to select the folders to be loaded" and hit "Next"
5. On the subsequent page, select the folders you want to load.
That will allow you to load the contents of a directory into the root
of your local Eclipse workspace. Does that answer your question?
Getting back to my original question ...
When sharing Eclipse projects, RTC seems to want to create a single
root-folder within the component rather than allowing the root directory
folders (and perhaps files ?) of the Eclipse project to become the
root-folders of the component.
It's hard to express this question clearly but I hope you get my drift.
Cheers
echughes wrote:
When sharing Eclipse projects, RTC seems to want to create a single
root-folder within the component rather than allowing the root directory
folders (and perhaps files ?) of the Eclipse project to become the
root-folders of the component.
It's hard to express this question clearly but I hope you get my drift.
Cheers
echughes wrote:
David Wardwrote:
I was kinda hoping to be able to have the top-level 'contents' of my
Eclipse project become the top-level contents of the RTC component,
rather than simply getting a single top-level folder.
Is there a way to achieve this?
You can load the directories inside projects as projects in a new
Eclipse workspace. Do this by:
1. Go to the Team Artifacts view.
2. Select "My Repository Workspaces" and choose the
workspace you want to load.
3. From the context menu, select "Load..."
4. In the load dialog, select the option "Browse the components
to select the folders to be loaded" and hit "Next"
5. On the subsequent page, select the folders you want to load.
That will allow you to load the contents of a directory into the root
of your local Eclipse workspace. Does that answer your question?
It sounds like you are asking for workitem 55028 (Better control of what
& where content can be loaded).
Cheers,
Geoff
David Ward wrote:
& where content can be loaded).
Cheers,
Geoff
David Ward wrote:
Getting back to my original question ...
When sharing Eclipse projects, RTC seems to want to create a single
root-folder within the component rather than allowing the root directory
folders (and perhaps files ?) of the Eclipse project to become the
root-folders of the component.
It's hard to express this question clearly but I hope you get my drift.
Cheers
echughes wrote:
David Wardwrote:
I was kinda hoping to be able to have the top-level 'contents' of my
Eclipse project become the top-level contents of the RTC component,
rather than simply getting a single top-level folder.
Is there a way to achieve this?
You can load the directories inside projects as projects in a new
Eclipse workspace. Do this by:
1. Go to the Team Artifacts view.
2. Select "My Repository Workspaces" and choose the
workspace you want to load.
3. From the context menu, select "Load..."
4. In the load dialog, select the option "Browse the components
to select the folders to be loaded" and hit "Next"
5. On the subsequent page, select the folders you want to load.
That will allow you to load the contents of a directory into the root
of your local Eclipse workspace. Does that answer your question?
Yes, you are correct David. The UI does not allow adding files to the root of a component. The good news is that this isn't a server restriction, you can via our APIs add files at any level within a component.
However, it is currently a UI limitation and one in load operations (those that manage the local file area).
It could change, and you are not the first to ask <g>
Jean-Michel
Jazz Source Control Team
However, it is currently a UI limitation and one in load operations (those that manage the local file area).
It could change, and you are not the first to ask <g>
Jean-Michel
Jazz Source Control Team
Ok thanks
I'll watch the enhancement that Geoff mentioned
Cheers
jlemieux wrote:
I'll watch the enhancement that Geoff mentioned
Cheers
jlemieux wrote:
Yes, you are correct David. The UI does not allow adding files to the
root of a component. The good news is that this isn't a server
restriction, you can via our APIs add files at any level within a
component.
However, it is currently a UI limitation and one in load operations
(those that manage the local file area).
It could change, and you are not the first to ask <g
Jean-Michel
Jazz Source Control Team