Using File Sharing
Allowing multiple users to use file sharing for a project involves these tasks:
Create the Project
Procedure
-
Open TIBCO Designer and open the project (which could be a new empty project).
-
Choose Project > Save > Multi-File Project.
-
In the dialog that appears:
-
Supply the root directory for the project (which will become the project name). This directory should be on a drive that can be accessed by all developers that work on the project.
-
Choose File Sharing from the pop-up.
-
Supply your username. Other users will see this username as the owner if you lock files in the project.
-
User A Acquires Resource and Makes Changes
Procedure
The creator of the project or another user can now acquire the lock for the project and, for example, add two folders. Here are the steps:
Procedure
-
User A selects the project root folder.
-
User A chooses Multi-User > Acquire Resource.
That command is also available from the resource’s right-button menu or from the Project menu.
-
User A drags two Folder resources into the design panel and names each for the user who will work with it.
-
User A selects the folder for the second user (User B) and chooses Release Resource from the right-button menu.
The folder now appears locked in the TIBCO Designer project panel.
-
User A opens the User A folder and adds two resources to it, then selects each resource and chooses Add Resource to RCS from the right-button menu.
User A can make changes to the User A folder (but not to the User B folder).
-
User A saves the project.
User B Opens Project, Acquires Resource, and Makes Changes
A second user can open the same project and make changes to all folders not currently locked by another user. For this example:
Procedure
-
User B opens the project (all project elements are locked).
-
User B selects the User B folder and chooses Acquire Resource from the right-button menu.
User A released the lock for this folder.
-
User B can now make changes to User B folder as desired, and save the project.