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

How to handle files not part of an eclipse project?

Hi All

Look at this. The project has this structure in ClearCase. In the way below, I dump the structure into one component and load the root of the component as an eclipse project into the project explorer. This way, developers see the exact some structure in project explorer.

But actually each of EJBServer and webclient folder is an eclipse project (there is a .project) in the root of EJBServer folder.

1. If we load the whole file structure like this. EJBServer and webclient is not showing as a java project in eclipse IDE, not good for developers to do development, right?

2. If I load individual project such EJBServer and webclient into project explorer, then how can I load other files not part of an eclipse project? e.g. no matter how I load, these files in the root such as CCC-version.txt, won't even be appeared in the sandbox. Then there is no way you can modify them. This is not like ClearCase.

http://i43.tinypic.com/2s0mwy1.png

0 votes



4 answers

Permanent link
This is just a question about Eclipse, and doesn't have anything to do
with ClearCase or RTC-SCM, does it? Neither ClearCase or RTC-SCM
really care whether you have .project files, and where they are located,
but Eclipse cares. Or am I missing something?

Cheers,
Geoff

On 12/6/2011 12:23 PM, hujirong wrote:
Hi All

Look at this. The project has this structure in ClearCase. In the way
below, I dump the structure into one component and load the root of
the component as an eclipse project into the project explorer. This
way, developers see the exact some structure in project explorer.

But actually each of EJBServer and webclient folder is an eclipse
project (there is a .project) in the root of EJBServer folder.

1. If we load the whole file structure like this. EJBServer and
webclient is not showing as a java project in eclipse IDE, not good
for developers to do development, right?

2. If I load individual project such EJBServer and webclient into
project explorer, then how can I load other files not part of an
eclipse project? e.g. no matter how I load, these files in the root
such as CCC-version.txt, won't even be appeared in the sandbox. Then
there is no way you can modify them. This is not like ClearCase.

http://i43.tinypic.com/2s0mwy1.png

0 votes


Permanent link
This is just a question about Eclipse, and doesn't have anything to do
with ClearCase or RTC-SCM, does it? Neither ClearCase or RTC-SCM
really care whether you have .project files, and where they are located,
but Eclipse cares. Or am I missing something?

Cheers,
Geoff


You are right. But the key issue is in RTC, e.g. these files in the root is not loaded into the sandbox, using the 2nd approach. Means you can't modify these files. While in ClearCase, at least they are in the view.

Jirong

0 votes


Permanent link

1. If we load the whole file structure like this. EJBServer and webclient is not showing as a java project in eclipse IDE, not good for developers to do development, right?


In this scenario 1, I see that everything is shared in RTC correctly and that Eclipse has the parent Eclipse project loaded (ex: OASA2). Could you not just use the normal Eclipse File --> Import to add any Eclipse projects you want to have them show up as Eclipse projects in the Package Explorer? Ex, do that for EJBServer and webclient.

0 votes


Permanent link
You can use RTC-SCM to load the same tree as appears in the ClearCase
view. Use the Advanced Option: "Load the selected folders but do not
create Eclipse projects".

Note: I agree that it is a hassle in Eclipse to manipulate files that
live "above" our "outside of" Eclipse projects, but that is true whether
you are using ClearCase or RTC-SCM (and whatever you are doing in
ClearCase to deal with this issue, you can do the same thing with RTC-SCM).

Cheers,
Geoff

On 12/7/2011 10:23 AM, hujirong wrote:
gmclemmwrote:
This is just a question about Eclipse, and doesn't have anything to
do
with ClearCase or RTC-SCM, does it? Neither ClearCase or RTC-SCM
really care whether you have .project files, and where they are
located,
but Eclipse cares. Or am I missing something?

Cheers,
Geoff


You are right. But the key issue is in RTC, e.g. these files in the
root is not loaded into the sandbox, using the 2nd approach. Means
you can't modify these files. While in ClearCase, at least they are
in the view.

Jirong

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: Dec 06 '11, 12:20 p.m.

Question was seen: 7,588 times

Last updated: Dec 06 '11, 12:20 p.m.

Confirmation Cancel Confirm