Rule Builder > Working with Repositories in CVS > Getting Started With the CVS Plug-in > CVS and Concurrent Repository Access

If you want to create a new JRules repository and place it under the control of CVS, you should follow these steps:

  1. Create a new repository in the Rule Builder and save it in a directory that is already under CVS.
  2. In the builder, set the CVSROOT to connect to the CVS server, see Setting the CVS Root.
  3. Login if the CVS server is a password-based client/server network connection, see Logging in to CVS.
  4. In the builder, add the repository to CVS, see Adding a Repository to CVS.

Multiple users should access the project files on CVS as follows:

  1. If user (user B) now checks out the JRules repository, the files will be in read-only mode, see Checking Out a Repository From CVS.
  2. User B sets the file(s) they want to modify to read-write mode, see Editing Files in CVS. At this point the files can be edited in the Project Explorer.
  3. If another user (user C) tries to use the CVS Edit command on a file locked by (user B) a message informs user C that the file is already in edit mode.
  4. User B edits the files, adds, and removes files from CVS if required, see Adding Files to CVS and Removing Files From CVS.
  5. In the event of a mistake, the original state of the file can be recovered using the CVS Unedit command, see Undoing Edits.
  6. User B adds any new files to the CVS repository before committing them, see Adding a Repository to CVS.
  7. User B commits the files to CVS. The files are committed in read-only mode, see Committing Files to CVS.
  8. User C updates the repository to take into account changes made by other users, see Updating Files From CVS.
  9. User C does a refresh, see Refreshing and Filtering Files in the Project File Explorer.

See Also

Creating a New Repository | Saving a Repository


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT