Loading a complete java project into RTC
![](http://jazz.net/_images/myphoto/550b993338e2cdedd495b5abb74fb9fc.jpg)
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?
Accepted answer
![](http://jazz.net/_images/myphoto/550b993338e2cdedd495b5abb74fb9fc.jpg)
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
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
2 other answers
![](http://jazz.net/_images/myphoto/550b993338e2cdedd495b5abb74fb9fc.jpg)
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.
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.
![](http://jazz.net/_images/myphoto/550b993338e2cdedd495b5abb74fb9fc.jpg)
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.
- "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.