3.9. Reproducing Snapshots and Releases

Every snapshot and release recorded in the snaps directory or PrjDesc file may be reproduced at any time. You first need to check out the complete snapshot or release from the vesion repository by issuing the following command:

  prjm -checkout <release or snapshot name>
Alternatively, you may get the newest development version by

  prjm -checkout head
Prjm will try to create all the collections and packages listed in your project file and defined by the snapshot or release declaration. If any version of the packages already exists, prjm will try to update it to the desired remap=tt>version. To test your release, you should of course remap=tt>start with an empty workspace (for exmaple by remap=tt>changing the role="config-var">collectionroot definition remap=tt>in the project file or altering the remap=tt>PRJ_ROOT variable, if it is remap=tt>included). If the special name remap=tt>head is given, the current remap=tt>development versions from the main trunk will be remap=tt>checked out.

If everything was checked out alright, you may then build the whole project, e.g. by

  prjm -v -buildlocal
If you are involved in release engineering, you will of course do the checkout on a clean machine, where no package collections are stored in your local workspace, and the package pools used contain nothing but your default libraries.