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

Loading a complete java project into RTC

 If a user creates a java project and delivers to a stream and another user comes and accepts incoming changes from the pending changes view it appears only the source is brought into the the sandbox, not the library files.  When you load from the repository workspace you have an option to load eclipse projects and this brings in everything.  So tell me if this is correct,  in order to initially bring in an eclipse java project it is necessary to load it from the repository workspace and select the option to load all eclipse projects?  Am understanding this correctly?

0 votes


Accepted answer

Permanent link
Hi Sean,

There are many ways to load from a repository workspace into a sandbox and they are all explained in these two articles.  Pick the article that is applicable to your version.

https://jazz.net/library/article/192 (all versions before v4.0)
https://jazz.net/library/article/1016 (v4.0)

The option "Find and load Eclipse projects" is generally the easiest way, but there are exceptions.

Scott
Sean Burke selected this answer as the correct answer

0 votes


2 other answers

Permanent link
When you look at an Eclipse project in the package explorer, you are seeing a number of things which are actually derived from your settings and environment and aren't actual files on disk.

If you open the Eclipse "Navigator" view (Main menu > Window > Show View > Other ...  > General > Navigator), and look at your project there, you will see the actual files that make up the project on disk that will be shared to source control.

When you select "load eclipse projects" then Eclipse starts managing the project and sets up those Libraries based on your target platform/build settings.

Note that there are also Eclipse Preferences (Main Menu > Window > Preferences > Team > Ignored Resources) which specify which files on disk should not be shared to source control.


0 votes


Permanent link
There are two distinct operations:
- "loading" the files from the RTC repository workspace into the file area on local disk (the RTC "sandbox")
- "importing" the files on disk into the Eclipse workspace as an Eclipse project.
Some of the RTC operations (such as "find and load eclipse projects") do both of these operations.   The other RTC load operations (the ones that don't mention Eclipse projects) just do the load and do not import.  If you have used the second kind of load operation (the "load only"), you can then use the normal Eclipse "Import -> project" operation to subsequently perform the import.

To avoid confusion, note that there are two very different objects called a "workspace":
- an "RTC repository workspace", which is data stored on the RTC server, and
- an "Eclipse workspace", which is an Eclipse instance that has a directory on local disk where its metadata is stored.

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
× 12,033

Question asked: Feb 28 '13, 2:19 a.m.

Question was seen: 8,910 times

Last updated: Feb 28 '13, 5:06 p.m.

Confirmation Cancel Confirm