Editing generated artifacts

This section explains how to edit the configuration profile artifacts generated from your UML models.

Before you begin

Before you can customize any configuration profile artifacts, you must first generate those profile artifacts from your UML models. For details, see: Generating artifacts.

About this task

All the necessary configuration profile artifacts are placed in the Configuration Profile Files folder. To modify a particular artifact, locate the file representing that artifact within the folder structure, double-click to open the file in the appropriate text-based editor, and edit the file. For details on the locating artifacts that have been generated by particular UML diagrams, see the following topic Artifact generation reference.

After you have edited a file, WSRR Studio does not overwrite that file on a subsequent artifact generation, so your changes are preserved. Instead, a version of the file with the same name sufficed by "(Generated)" is created in your configuration project. The (Generated) file contains information pertinent to the most recent version of the UML model that caused it to be generated. Therefore, if you have edited your UML model then you must manually merge the changes from the (Generated) version of the file into the original version of the file. Note that on subsequent artifact generations, the (Generated) version of the file is overwritten, so all changes must be copied from this file into the original version of the file.

To prevent WSRR from creating a (Generated) version of a file, you must delete that file from your project; note that you will lose any manually edited changes. When configuration profiles are exported from WSRR, (Generated) versions of files are not included in the resultant configuration profile. Therefore, all changes must be made and merged into the original versions of the artifact files, because it is these versions that are eventually used in your configuration profile, and therefore deployed to WSRR.