Update to the Latest Revision of All Packages
When you are part of a team working in a Distributed Model environment, you will want to periodically update your model with the changes that other team members have committed into version control. You can transfer the other users' updates to all version controlled packages into the currently loaded project.
Access Project Browser | right-click package to update | Package Control | Get All Latest
Update all packages in project to latest revision retrieved from version control
All the local XMI files for all the version control configurations used in the project are updated to the latest revision from version control. The system then scans the packages in the model, to determine which ones are up to date and which are not, compared to the latest revisions of the associated package files.
A prompt displays, providing the following import options for packages that are up to date:
|•||Import changed files only|
|•||Prompt for each file|
Click on the OK button. The version controlled packages in your project are updated according to the option you selected; if you chose the Prompt for each file option, a prompt displays to confirm import of each file.
|•||There is no need to re-import packages that are already up to date - re-importing packages first deletes them from the project and then re-imports them from the XMI file, which is time consuming as well as unnecessary; we strongly recommend using the default option Import changed files only|
|•||The Get All Latest command does not update any package that is checked-out (to anybody) in the currently loaded project; otherwise, any changes not yet committed to version control would be discarded|
|•||When using a Shared Model environment, where all users are connected to a single model database, there is no need to use the Get All Latest option - the information in the model database is always ahead of what is committed into version control; you should from time to time refresh your view of the model database, by reloading diagrams or reloading package content in the Project Browser|