Developing with CAF in Team-Oriented Environment

Use

You can use the Design Time Repository (DTR) of the SAP NetWeaver Development Infrastructure (NWDI) to synchronize simultaneous development on projects used in creating composite applications. Since the work of a team is done at source file level, the DTR is the optimal tool for file-based versioning in the Java development process.

The DTR provides Java sources, XML files, and so on that are stored in a database, but they are visible in the SAP NetWeaver Developer Studio. Developers can use the DTR for checking out source files or for synchronizing files for read access to their local hard disks.

After local development and testing, developers can check in their changes. The DTR manages distributed versions and is capable of resolving version conflicts when integrating changes from other workspaces.

Procedure

  1. Set up your development environment for work in a team. For more information, see Central Development with NWDI .
  2. Create a project.

    You can create these types of project:

    • Local project - the files are stored locally.
    • Remote offline project - you can create this kind of project when you are not connected to the DTR. To do this, in the New Development Component (Project) dialog, enable the Keep DC local for now(use "Add to Source Control" later). Note that to add files to an activity later, you have to open the Composite Application perspective and from there choose Team → Add Local Files.
    • Remote online project - the project is synced with the DTR and you store your project on the DTR.
  3. Check in your project to the DTR.

    Before you check in your activity make sure that:

    • You have generated successfully the project.
    • You have checked whether the table name for your business object is reserved. To do this, choose Team → Check Table Name Reservations. Open the Persistencytab page and manually change the name if it is reserved.
  4. Use the DTR to resolve conflicts.

    More information: Resolving Conflicts in CAF .