Specifying overwrite options for the UML-to-C++ transformation output

When you apply the UML-to-C++ transformation to your source UML model, you can specify whether the 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.

Before you apply the UML-to-C++ transformation, you should read the information that is available at Modeling > Transform > Configure Transformations. From the Transformations/Configurations list, select UML to C++. On the Transformation Description page, click View Transformation Documentation.

You must be in the Modeling perspective.

To specify overwrite options for the UML-to-C++ transformation output:
  1. Click Modeling > Transform > Configure Transformations.
  2. In the Configure Transformations window, from the Transformations/Configurations list, select a transformation configuration.
  3. Click the Properties tab.
  4. On the Properties page, complete one of the following steps:
    • To be prompted each time that the transformation will overwrite a file, click Ask.
    • To overwrite files automatically, click Always.
    • To never overwrite files, click Never.
  5. Click Apply.
  6. Click Close.
The options are applied the next time that you run this transformation configuration.
Related concepts
UML-to-C++ transformation
UML-to-C++ transformation templates
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.