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

Loading or fetching a workspace without project root folder

If I have a project structure such as this:
componentA:
projectAroot\.project
\subdir1
\subdir1_1
\projectAfile.txt
componentB:
projectBroot\.project
\subdir1
\sundir1_1
\projectBfile.txt

Is it possible during teamFetch (JBT) of load (scm tool) to create:
\.project (from projectAroot)
\subdir
\subdir1_1
\projectAfile.txt
\projectBfile.txt

Essentially giving me:
1. elimination of the root folder in each project
2. overlay of projectB's directory structure on top of projectA's
(because other than the root folder, they have the same directory
structure).

We're integrating RTC into our existing build environment, and if we
can't accomlish the above, we need to re-vamp build processing.

Thanks, Brian

0 votes



7 answers

Permanent link
Just for interest's sake, why aren't you laying out your projects in the
repository the same way you want them laid out on disk?

Cheers,
Geoff

Brian Gillan wrote:
If I have a project structure such as this:
componentA:
projectAroot\.project
\subdir1
\subdir1_1
\projectAfile.txt
componentB:
projectBroot\.project
\subdir1
\sundir1_1
\projectBfile.txt

Is it possible during teamFetch (JBT) of load (scm tool) to create:
\.project (from projectAroot)
\subdir
\subdir1_1
\projectAfile.txt
\projectBfile.txt

Essentially giving me:
1. elimination of the root folder in each project
2. overlay of projectB's directory structure on top of projectA's
(because other than the root folder, they have the same directory
structure).

We're integrating RTC into our existing build environment, and if we
can't accomlish the above, we need to re-vamp build processing.

Thanks, Brian

0 votes


Permanent link
Geoff, I'm not generally an Eclipse user... setting this up for another
group. I assumed that Eclipse requires a root folder in each project,
and when Team Shared, that's how it goes into RTC. Are you saying I can
put stuff into a component that will not have a root folder?

Thanks, Brian

0 votes


Permanent link
You can put any file system structure you want into a component, with or
without projects or project roots.

In RTC-1.0, there were some limitations in terms of how you can then
load that component into the file system. In RTC-2.0, those limitations
have been removed (in particular, the currently available beta of
RTC-2.0 no longer has these limitations).

So I'd recommend that you lay out your projects in your component
exactly how you want them laid out on disk when they are loaded.

Cheers,
Geoff



Brian Gillan wrote:
Geoff, I'm not generally an Eclipse user... setting this up for another
group. I assumed that Eclipse requires a root folder in each project,
and when Team Shared, that's how it goes into RTC. Are you saying I can
put stuff into a component that will not have a root folder?

Thanks, Brian

0 votes


Permanent link
Geoff, We're using RTC-1.0 (actually v1.0.1) and this is a production
environment, so I would be hesitant to move to RTC-2.0 beta.

Given we're using RTC-1.0, I don't see how to create the structure I
describe in Eclipse... doesn't an Eclipse project have to exist in a folder?

And, when I share an Eclipse project with RTC, I see no option to load
the component with just the content of the Eclipse project. It brings
along the project folder as well.

Are you saying I need to move to 2.0 to achieve what I want? Or am I
missing something in how I'm using Eclipse and sharing my project with RTC?

Thanks, Brian

0 votes


Permanent link
Hi Brian,

Let's go back to your original question (in case I misunderstood what
you were trying to do):

Brian Gillan wrote:
If I have a project structure such as this:
componentA:
projectAroot\.project
\subdir1
\subdir1_1
\projectAfile.txt
componentB:
projectBroot\.project
\subdir1
\sundir1_1
\projectBfile.txt

Is it possible during teamFetch (JBT) of load (scm tool) to create:
\.project (from projectAroot)
\subdir
\subdir1_1
\projectAfile.txt
\projectBfile.txt

Why do you want to have a file from project B be loaded in project A?

Cheers,
Geoff


Brian Gillan wrote:
Geoff, We're using RTC-1.0 (actually v1.0.1) and this is a production
environment, so I would be hesitant to move to RTC-2.0 beta.

Given we're using RTC-1.0, I don't see how to create the structure I
describe in Eclipse... doesn't an Eclipse project have to exist in a
folder?

And, when I share an Eclipse project with RTC, I see no option to load
the component with just the content of the Eclipse project. It brings
along the project folder as well.

Are you saying I need to move to 2.0 to achieve what I want? Or am I
missing something in how I'm using Eclipse and sharing my project with RTC?

Thanks, Brian

0 votes


Permanent link
Geoff, This comes from how the projects we are looking to migrate from
PVCS have been structured in PVCS. There are a number of projects
currently managed in PVCS that share a common chunk (a dozen of so
files). In PVCS, this is done using a linking mechanism, much like a
symlink in UNIX. So for each project, the "common" files appear in the
same sub-folder structure within each project. We're trying to reproduce
this behavior in RTC/Eclipse.

Thanks, Brian

0 votes


Permanent link
Even with the new load features of 2.0 this is not possible.
We do not support the "nesting" or overlaying of shares on top of one
another.

- Heather
SCM committer

Brian Gillan wrote:
If I have a project structure such as this:
componentA:
projectAroot\.project
\subdir1
\subdir1_1
\projectAfile.txt
componentB:
projectBroot\.project
\subdir1
\sundir1_1
\projectBfile.txt

Is it possible during teamFetch (JBT) of load (scm tool) to create:
\.project (from projectAroot)
\subdir
\subdir1_1
\projectAfile.txt
\projectBfile.txt

Essentially giving me:
1. elimination of the root folder in each project
2. overlay of projectB's directory structure on top of projectA's
(because other than the root folder, they have the same directory
structure).

We're integrating RTC into our existing build environment, and if we
can't accomlish the above, we need to re-vamp build processing.

Thanks, Brian

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: Mar 12 '09, 5:27 p.m.

Question was seen: 5,744 times

Last updated: Mar 12 '09, 5:27 p.m.

Confirmation Cancel Confirm