Regenerating the product
After generating your product, you can continue product development in Advanced Product Designer while simultaneously making changes to the product in Guidewire Studio and Product Designer.
If a feature is provided in Advanced Product Designer, then always use Advanced Product Designer to develop the feature. Do not use Product Designer or Studio to add product features that Advanced Product Designer provides. See When possible, make changes in Advanced Product Designer.
To update the generated product, you need to regenerate it. When you click Generate Product Code, Advanced Product Designer displays a warning that lists the modified files that will be overwritten if you proceed. Before completing the generation, make a copy of these files so that you can merge your changes after regenerating.
For each type of file, the following table shows whether you are warned before regenerating.
| Type of files | Warn? | Description |
|---|---|---|
| System files | No warning if file is modified. | |
| Resources | No warning if file is modified. The files yyycostdef.xml, XXXDiffTree.xml, and YYYDiffTree.xml are exceptions. | |
| Product model | No warning if file is modified. | |
| Policy line patterns | No warning if file is modified. | |
| Risk object entities | • |
If you can, make all changes to the object in Advanced Product Designer. When you regenerate the product, you can accept the regenerated version of the object, and do not need to merge it with the older version. If that is not possible, you can make changes in an extension to the object. You have to add the extension manually in the file system. Although you cannot add the extension in Studio, you can edit it in Studio after creating it. |
| Clause entities | • | |
| Schedule entities | • | |
| Typelists | • | For each typelist, maintain it either in a particular Advanced Product Designer product or in Studio. Do not modify the typelist in more than one place. |
| Display names | • | Make all changes to display strings in Advanced Product Designer so that there is no need to merge changes when you regenerate. |
| PCF files | • |
Save a copy before generating, and merge changes. |
| Gosu classes | • |
When you generate the product, Advanced Product Designer
creates a base class and an implementation class in the
PolicyCenter_installation/modules/configuration/gsrc
directory. The base class is created in the gw.lob package and has the
suffix To avoid triggering warnings when you regenerate the product, make your changes in the implementation class, and do not modify the base class. You will receive warnings for changes to base classes, but no warnings for changes to implementation classes. When you regenerate, the implementation class is not affected; it is only generated if it does not exist. For enhancement classes, YYYRiskEnhancement.gs and YYYExposureEnhancement.gs, make your changes directly in the enhancement and merge changes. |
