!--a11y-->
Tutorial 1: Preparation 
· A SAP NetWeaver J2EE engine with NWDI for the DTR server 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
Users and
Authorizations.
· Creating two users USER1 and USER2 as described in Creating Users and Assigning Groups. To do this, you do not need the user CMSadm, because the Change Management Service is not used in this scenario; you must create an Admin user only if in the last step you want to grant separate authorizations for developers and administrators.
· 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 permissions to both users in a new workspace is optional – if you do not grant any permissions explicitly, then all user have all rights. For more information, see Granting Initial Privileges.
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.comlistening 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 box 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 selected, which means that they are not automatically added to activities and stored in the DTR.
3. Uncheck the following file types:
a. .project
b. .classpath
When creating projects, the unchecked file types are added to activities to be stored 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 box 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.
...
1. In the SAP NetWeaver Developer Studio in the menu, choose Window ® Show View ® Other ® J2EE ® J2EE Engine.
The new view J2EE Engine appears. It displays the engines selected in the settings.
2. In the root node of the engine, choose:
a. Start Local Engine to start the J2EE engine.
b. Stop Local Engine if you no longer need the engine.
