This blog post shows how to disable storing packages as one file so that packages are stored in individual folders automatically each time they are created or renamed. This will be useful when using SVN for model versioning and revision control. Additional features on refreshing packages and locking and unlocking packages, introduced by Dymola 2017 FD01 are also described.
Disabling storing packages as one file
When using SVN for model versioning and revision control, model developers often update and commit their changes to maintain history of every version of their models. It is desirable to save packages and their contents as individual files on the hard drive, rather than lumped within a single file, so that version control can be applied individually to the packages and their contents. This article shows this can be done in Dymola by automatically disabling storing contents of packages as one file each time a new package is created or renamed. To automatically store contents of the package as multiple files, firstly open Dymola and go to Edit>Options, then go to Version tab and deselect “As default store packages as one file”, see Figure 1. This will eliminate the need to explicitly deselect it for every package to be created.
Figure 1: setting in Edit-option-Version to enable or disable saving packages as one file