!--a11y-->
Scenario 1: Preparation 
· A SAP NetWeaver J2EE engine with JDI for the DTR service is installed.
· Two PCs are installed with a SAP NetWeaver Developer Studio and a SAP NetWeaver J2EE engine on each.
There are four major steps:
·
Configuring
the
DTR user
management.
·
Creating two
DTR users
USER1 and USER2.
· Creating a hierarchy of workspace folders (workspace folder „scenario1“ contains workspace folder „tax“) with a DTR workspace„dev“: scenario1/tax/dev.
· Granting read and write access in the new workspace to both users.
Before a DTR repository can be used from inside the SAP NetWeaver Developer Studio, you must perform some configuration steps:
...
1. Start the SAP NetWeaver Developer Studio.
2. To open the Design Time Repository perspective, choose Window ® Open Perspective ® Other ® Design Time Repository.
3. Switch to the Repository Browser view.
The browser view displays a single entry named OFFLINE. This indicates that you are not yet connected to the DTR.
4. Select OFFLINE and in the context menu, choose Create Client.
A dialog window DTR Client appears.
5. In the New DTR Client dialog, enter USER1 as client name.
6. Enter the URL of the DTR server in the form http://<host>:<port>/dtr.

Replace <host> and <port> with the corresponding values of your DTR server instance. For example, if the DTR server has been installed as dtr-server.example.com listening on port 50000, enter http://dtr-server.example.com:50000/dtr.
7. Enter a local root directory that is used to replicate sources to your local PC: Replace the default value by c:\JDI for this scenario.
8. To commit your changes, choose OK.
An info window appears, telling you that the client has been created.
9. To commit your changes, choose OK.
Repeat these steps for the second SAP NetWeaver Developer Studio installation, but name the DTR client USER2.
Files are stored in the DTR or created new if necessary. This depends on the file type and the development scenario. In scenario 1, storage of two file types is required, which are newly created for the component-based development (scenario 2) and, therefore, are by default excluded from the storage. This is the reason why you must change the selection.
...
1. Start the SAP NetWeaver Developer Studio.
2. Choose Window ® Preferences ® Team ® Ignored Resources
A list of file types appears. By default, all types are marked, which means that they are not automatically added to activities and stored in the DTR.
3. Unselect the following file types:
a. .project
b. .classpath
When creating projects, the unselected file types are added to activities for storage in the DTR.
...
1. Start the SAP NetWeaver Developer Studio.
2. Choose Window ® Preferences ® SAP J2EE Engine.
3. Select SAP J2EE Engine is installed on local host and choose Browse.
A dialog window appears.
4. Select your local SAP J2EE engine instance as Local Engine Installation and choose OK.
5. The system name, instance numbers and root paths of your engine are displayed in the Preferences dialog.
6. To commit your changes, choose OK.
Perform these steps for both developer installations.
