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

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

0 votes



6 answers

Permanent link
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?

0 votes


Permanent link
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:
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?

0 votes


Permanent link
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?

0 votes


Permanent link
It sounds like you are asking for workitem 55028 (Better control of what
& 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?

0 votes


Permanent link
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

0 votes


Permanent link
Ok thanks

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

0 votes

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

Question asked: Aug 18 '08, 9:20 a.m.

Question was seen: 6,348 times

Last updated: Aug 18 '08, 9:20 a.m.

Confirmation Cancel Confirm