You can specify whether the C++ transformation overwrites
existing files in the target location that have the same name as
files that the transformation generates. You can choose to accept
or decline each time that the transformation will overwrite a file,
to always overwrite files, or to never overwrite files.
To specify overwrite options for files generated
by the C++ transformation:
- Click .
- In the Configure Transformations window,
in the Transformations/Configurations list, complete one of the following
steps:
- To edit an existing transformation configuration,
click a UML to C++ transformation configuration.
- To create a new transformation configuration, click the
UML to C++ transformation and click New.
In the Name field, type a name.
- Click the Properties tab.
- On the Properties page, select one
of the following options:
- To be prompted each time that the transformation
will overwrite a file, select Ask.
- To overwrite files automatically, select Always.
- To never overwrite files, select Never.
Note: When you select Ask,
for files that are source controlled in ClearCase®,
you are prompted to select the files to overwrite and then check
out the selected files.
- Click Apply.
- Click Close.
The options are applied the next time that you run this
transformation configuration.