If you want to create a new JRules repository and place it under the control of CVS, you should follow these steps:
-
Create a new repository in the Rule Builder and save it in a directory that is already under CVS.
-
In the builder, set the CVSROOT to connect to the CVS server, see Setting the CVS Root.
-
Login if the CVS server is a password-based client/server network connection, see Logging in to CVS.
-
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:
-
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.
-
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.
-
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.
-
User B edits the files, adds, and removes files from CVS if required, see Adding Files to CVS and Removing Files From CVS.
-
In the event of a mistake, the original state of the file can be recovered using the CVS Unedit command, see Undoing Edits.
-
User B adds any new files to the CVS repository before committing them, see Adding a Repository to CVS.
-
User B commits the files to CVS. The files are committed in read-only mode, see Committing Files to CVS.
-
User C updates the repository to take into account changes made by other users, see Updating Files From CVS.
-
User C does a refresh, see Refreshing and Filtering Files in the Project File Explorer.
See Also
Creating a New Repository | Saving a Repository
|